Adds a new Nuclear Agent Detomax Subtype (#17323)

This commit is contained in:
Sirryan2002
2022-01-14 09:59:17 +01:00
committed by GitHub
parent 48024777a7
commit 4bd30c9bf6
3 changed files with 15 additions and 4 deletions
+7 -3
View File
@@ -276,12 +276,16 @@
/obj/item/cartridge/syndicate
name = "Detomatix Cartridge"
icon_state = "cart"
var/initial_remote_door_id = "smindicate" //Make sure this matches the syndicate shuttle's shield/door id!! //don't ask about the name, testing.
charges = 4
programs = list(new/datum/data/pda/utility/toggle_door)
messenger_plugins = list(new/datum/data/pda/messenger_plugin/virus/detonate)
/obj/item/cartridge/syndicate/Initialize(mapload)
/obj/item/cartridge/syndicate/nuclear //needed subtype so regular traitors can't open and close nuclear shuttle doors
name = "Nuclear Agent Detomatix Cartridge"
desc = "The same reliable Detomatix program except with the added ability of remotely toggling your nuclear shuttle airlock from your PDA"
var/initial_remote_door_id = "smindicate" //Make sure this matches the syndicate shuttle's shield/door id!! //don't ask about the name, testing.
programs = list(new/datum/data/pda/utility/toggle_door)
/obj/item/cartridge/syndicate/nuclear/Initialize(mapload)
. = ..()
var/datum/data/pda/utility/toggle_door/D = programs[1]
if(istype(D))
+1 -1
View File
@@ -113,7 +113,7 @@
icon_state = "pda-miner"
/obj/item/pda/syndicate
default_cartridge = /obj/item/cartridge/syndicate
default_cartridge = /obj/item/cartridge/syndicate/nuclear
icon_state = "pda-syndi"
name = "Military PDA"
owner = "John Doe"