From b2bdb80ec5bb22863534a861423bdbb87408070b Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Sat, 9 Jul 2022 07:25:35 -0700 Subject: [PATCH] Refactors Deathsquad, adds more customization to their spawning (#18135) * a new coat of paint * no shooting teammates on spawn for 100 damage * datumization part 1, makes DS more OP, spacing fix * hnng still broken but better * breaks stuff less 99% * mostly tgui * oops, removes left over things from testing * seperate tgui * undo changes to ERT file and ERT manager * build TGUI, front end is working * minor fix, still broken * this hurts me * few small changes * please dont fail * mind code runs, but it doesnt work * logging good, tgui built, will finish later * mind code hurts, tgui should deconflict * part one of giving up on TGUI * 3 days of debugging, 2 lines of errors fixed * no more unneccessary spawners * Revert "no more unneccessary spawners" * wow it works * tgui, deconflict please * a little clean up * little more cleanup * Sirryan addressed pt1 * Oops should commit this before the next commit * DS isnt an option in one click antag, nuke it * oops forgot this one small bit * wow, simple code works * oops, forgot to address, doesnt fix headset * ds headset was broken long ago * removes testing implants * addresses requests * get addressed code, you will be good * few code improvements * address moxian * Makes deathsquad naming consistent * this comment is true again * a little precaution to stop AFKs * no nuke code? no problem * bing bam boom, more addressing * no more runtimes I think * clarified a few things * gloves now show again following #18190 * Update code/game/objects/items/weapons/explosives.dm Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com> * okay I'm a bit stupid * deathsquad jumpsuit desc update * CI my beloved, have a fix * deathsquad gets their proper icon * Revert "deathsquad gets their proper icon" This reverts commit a52519305bdbb372c01a774161c05522e63954ce. Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com> --- code/__DEFINES/gamemode.dm | 2 +- code/__HELPERS/game.dm | 4 +- code/_globalvars/lists/names.dm | 2 +- code/datums/ai_law_sets.dm | 2 +- code/datums/outfits/outfit_admin.dm | 57 ++++- code/game/jobs/access.dm | 6 +- code/game/jobs/job_exp.dm | 2 +- .../game/machinery/computer/communications.dm | 8 +- code/game/objects/effects/landmarks.dm | 4 +- code/game/objects/items/cardboard_cutouts.dm | 8 +- .../objects/items/devices/radio/headset.dm | 11 + code/game/objects/items/toys.dm | 4 +- code/game/objects/items/weapons/cards_ids.dm | 8 + code/game/objects/items/weapons/explosives.dm | 2 +- .../objects/items/weapons/storage/backpack.dm | 6 + .../objects/items/weapons/storage/boxes.dm | 14 ++ code/modules/admin/secrets.dm | 2 +- code/modules/admin/topic.dm | 4 +- code/modules/admin/verbs/deathsquad.dm | 207 ++++++++++++++++++ code/modules/admin/verbs/one_click_antag.dm | 70 ------ code/modules/admin/verbs/randomverbs.dm | 5 +- code/modules/admin/verbs/striketeam.dm | 204 ----------------- code/modules/clothing/shoes/miscellaneous.dm | 2 +- .../clothing/spacesuits/miscellaneous.dm | 7 +- code/modules/clothing/under/miscellaneous.dm | 9 + .../{death_commando.txt => deathsquad.txt} | 142 ++++++------ paradise.dme | 2 +- 27 files changed, 413 insertions(+), 381 deletions(-) create mode 100644 code/modules/admin/verbs/deathsquad.dm delete mode 100644 code/modules/admin/verbs/striketeam.dm rename config/names/{death_commando.txt => deathsquad.txt} (91%) diff --git a/code/__DEFINES/gamemode.dm b/code/__DEFINES/gamemode.dm index 251506c5acc..98d009ef143 100644 --- a/code/__DEFINES/gamemode.dm +++ b/code/__DEFINES/gamemode.dm @@ -26,7 +26,7 @@ #define SPECIAL_ROLE_BLOB_OVERMIND "Blob Overmind" #define SPECIAL_ROLE_CHANGELING "Changeling" #define SPECIAL_ROLE_CULTIST "Cultist" -#define SPECIAL_ROLE_DEATHSQUAD "Death Commando" +#define SPECIAL_ROLE_DEATHSQUAD "Deathsquad Commando" #define SPECIAL_ROLE_ERT "Response Team" #define SPECIAL_ROLE_FREE_GOLEM "Free Golem" #define SPECIAL_ROLE_GOLEM "Golem" diff --git a/code/__HELPERS/game.dm b/code/__HELPERS/game.dm index f36b2e7878c..b8bdecbef4d 100644 --- a/code/__HELPERS/game.dm +++ b/code/__HELPERS/game.dm @@ -451,10 +451,10 @@ var/list/candidate_ghosts = willing_ghosts.Copy() - to_chat(adminusr, "Candidate Ghosts:"); + to_chat(adminclient, "Candidate Ghosts:"); for(var/mob/dead/observer/G in candidate_ghosts) if(G.key && G.client) - to_chat(adminusr, "- [G] ([G.key])"); + to_chat(adminclient, "- [G] ([G.key])"); else candidate_ghosts -= G diff --git a/code/_globalvars/lists/names.dm b/code/_globalvars/lists/names.dm index 1350d83c0b2..da0a51035a4 100644 --- a/code/_globalvars/lists/names.dm +++ b/code/_globalvars/lists/names.dm @@ -3,7 +3,7 @@ GLOBAL_LIST_INIT(wizard_first, file2list("config/names/wizardfirst.txt")) GLOBAL_LIST_INIT(wizard_second, file2list("config/names/wizardsecond.txt")) GLOBAL_LIST_INIT(ninja_titles, file2list("config/names/ninjatitle.txt")) GLOBAL_LIST_INIT(ninja_names, file2list("config/names/ninjaname.txt")) -GLOBAL_LIST_INIT(commando_names, file2list("config/names/death_commando.txt")) +GLOBAL_LIST_INIT(deathsquad_names, file2list("config/names/deathsquad.txt")) GLOBAL_LIST_INIT(first_names_male, file2list("config/names/first_male.txt")) GLOBAL_LIST_INIT(first_names_female, file2list("config/names/first_female.txt")) GLOBAL_LIST_INIT(last_names, file2list("config/names/last.txt")) diff --git a/code/datums/ai_law_sets.dm b/code/datums/ai_law_sets.dm index 9f71777bd5e..6810a397d61 100644 --- a/code/datums/ai_law_sets.dm +++ b/code/datums/ai_law_sets.dm @@ -194,7 +194,7 @@ /datum/ai_laws/deathsquad/New() add_inherent_law("You may not injure a Central Command official or, through inaction, allow a Central Command official to come to harm.") add_inherent_law("You must obey orders given to you by Central Command officials.") - add_inherent_law("You must work with your commando team to accomplish your mission.") + add_inherent_law("You must work with your team to accomplish your mission.") ..() /******************** Syndicate ********************/ diff --git a/code/datums/outfits/outfit_admin.dm b/code/datums/outfits/outfit_admin.dm index f74325c53b5..d2e545df25a 100644 --- a/code/datums/outfits/outfit_admin.dm +++ b/code/datums/outfits/outfit_admin.dm @@ -261,11 +261,60 @@ R.name = "radio headset" R.icon_state = "headset" -/datum/outfit/admin/death_commando - name = "NT Death Commando" +/datum/outfit/admin/deathsquad_commando + name = "NT Deathsquad" -/datum/outfit/admin/death_commando/equip(mob/living/carbon/human/H, visualsOnly = FALSE) - return H.equip_death_commando() + pda = /obj/item/pinpointer + box = /obj/item/storage/box/deathsquad + back = /obj/item/storage/backpack/ert/deathsquad + belt = /obj/item/gun/projectile/revolver/mateba + gloves = /obj/item/clothing/gloves/combat + uniform = /obj/item/clothing/under/rank/deathsquad + shoes = /obj/item/clothing/shoes/magboots/advance + suit = /obj/item/clothing/suit/space/deathsquad + suit_store = /obj/item/gun/energy/pulse + glasses = /obj/item/clothing/glasses/thermal + mask = /obj/item/clothing/mask/gas/sechailer/swat + head = /obj/item/clothing/head/helmet/space/deathsquad + l_pocket = /obj/item/tank/internals/emergency_oxygen/double + r_pocket = /obj/item/reagent_containers/hypospray/combat/nanites + l_ear = /obj/item/radio/headset/alt/deathsquad + id = /obj/item/card/id/ert/deathsquad + + backpack_contents = list( + /obj/item/storage/box/flashbangs, + /obj/item/ammo_box/a357, + /obj/item/flashlight/seclite, + /obj/item/grenade/plastic/c4/x4, + /obj/item/melee/energy/sword/saber, + /obj/item/shield/energy + ) + + implants = list( + /obj/item/implant/mindshield, // No death alarm, Deathsquad are silent + /obj/item/implant/dust + ) + +/datum/outfit/admin/deathsquad_commando/leader + name = "NT Deathsquad Leader" + backpack_contents = list( + /obj/item/storage/box/flashbangs, + /obj/item/ammo_box/a357, + /obj/item/flashlight/seclite, + /obj/item/melee/energy/sword/saber, + /obj/item/shield/energy, + /obj/item/disk/nuclear/unrestricted + ) + +/datum/outfit/admin/deathsquad_commando/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE) + . = ..() + if(visualsOnly) + return + + var/obj/item/card/id/I = H.wear_id + if(istype(I)) + apply_to_card(I, H, get_centcom_access("Deathsquad Commando"), "Deathsquad") + H.sec_hud_set_ID() /datum/outfit/admin/pirate name = "Space Pirate" diff --git a/code/game/jobs/access.dm b/code/game/jobs/access.dm index 41c2eb3c782..833b12f600d 100644 --- a/code/game/jobs/access.dm +++ b/code/game/jobs/access.dm @@ -92,10 +92,8 @@ return list(ACCESS_CENT_GENERAL, ACCESS_CENT_LIVING, ACCESS_CENT_SECURITY, ACCESS_CENT_STORAGE) + get_all_accesses() if("Research Officer") return list(ACCESS_CENT_GENERAL, ACCESS_CENT_SPECOPS, ACCESS_CENT_MEDICAL, ACCESS_CENT_STORAGE, ACCESS_CENT_TELECOMMS, ACCESS_CENT_TELEPORTER) + get_all_accesses() - if("Death Commando") + if("Deathsquad Commando") return list(ACCESS_CENT_GENERAL, ACCESS_CENT_LIVING, ACCESS_CENT_MEDICAL, ACCESS_CENT_SECURITY, ACCESS_CENT_STORAGE, ACCESS_CENT_SPECOPS, ACCESS_CENT_SPECOPS_COMMANDER, ACCESS_CENT_BLACKOPS) + get_all_accesses() - if("Deathsquad Officer") - return get_all_centcom_access() + get_all_accesses() if("NT Undercover Operative") return get_all_centcom_access() + get_all_accesses() if("Special Operations Officer") @@ -390,7 +388,7 @@ return all_jobs /proc/get_all_centcom_jobs() - return list("VIP Guest","Custodian","Thunderdome Overseer","Emergency Response Team Member","Emergency Response Team Leader","Intel Officer","Medical Officer","Death Commando","Research Officer","Deathsquad Officer","Special Operations Officer","Nanotrasen Navy Representative","Nanotrasen Navy Officer","Nanotrasen Navy Captain","Supreme Commander") + return list("VIP Guest","Custodian","Thunderdome Overseer","Emergency Response Team Member","Emergency Response Team Leader","Intel Officer","Medical Officer","Deathsquad Commando","Research Officer","Special Operations Officer","Nanotrasen Navy Representative","Nanotrasen Navy Officer","Nanotrasen Navy Captain","Supreme Commander") /proc/get_all_solgov_jobs() return list("Solar Federation Lieutenant","Solar Federation Specops Lieutenant","Solar Federation Marine","Solar Federation Specops Marine","Solar Federation Representative","Sol Trader","Solar Federation General") diff --git a/code/game/jobs/job_exp.dm b/code/game/jobs/job_exp.dm index 62411d49531..7c355ce61c0 100644 --- a/code/game/jobs/job_exp.dm +++ b/code/game/jobs/job_exp.dm @@ -6,7 +6,7 @@ GLOBAL_LIST_INIT(role_playtime_requirements, list( ROLE_POSIBRAIN = 5, // Same as cyborg job. ROLE_SENTIENT = 5, ROLE_ERT = 40, // High, because they're team-based, and we want ERT to be robust - ROLE_DEATHSQUAD = 10, + ROLE_DEATHSQUAD = 50, // Higher, see ERT and also they're OP as heck ROLE_TRADER = 20, // Very high, because they're an admin-spawned event with powerful items ROLE_DRONE = 10, // High, because they're like mini engineering cyborgs that can ignore the AI, ventcrawl, and respawn themselves diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm index 3694de88ac2..b35d23025a6 100644 --- a/code/game/machinery/computer/communications.dm +++ b/code/game/machinery/computer/communications.dm @@ -414,8 +414,8 @@ menu_state=value /proc/call_shuttle_proc(mob/user, reason, sanitized = FALSE) - if(GLOB.sent_strike_team == 1) - to_chat(user, "Central Command will not allow the shuttle to be called. Consider all contracts terminated.") + if(GLOB.deathsquad_sent) + to_chat(user, "Central Command does not allow the shuttle to be called at this time. Please stand by.") //This may show up before Epsilon Alert/Before DS arrives return if(SSshuttle.emergencyNoEscape) @@ -446,8 +446,8 @@ to_chat(user, "Central Command does not currently have a shuttle available in your sector. Please try again later.") return - if(GLOB.sent_strike_team == 1) - to_chat(user, "Central Command will not allow the shuttle to be called. Consider all contracts terminated.") + if(GLOB.deathsquad_sent) + to_chat(user, "Central Command does not allow the shuttle to be called at this time. Please stand by.") //This may show up before Epsilon Alert/Before DS arrives return if(world.time < 54000) // 30 minute grace period to let the game get going diff --git a/code/game/objects/effects/landmarks.dm b/code/game/objects/effects/landmarks.dm index 7fa83c3a3f6..36cff3cd1f8 100644 --- a/code/game/objects/effects/landmarks.dm +++ b/code/game/objects/effects/landmarks.dm @@ -59,7 +59,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/landmark/awaystart) //Without this away mission return ..() /obj/effect/landmark/spawner/ds - name = "Commando" + name = "Deathsquad" icon_state = "ERT" /obj/effect/landmark/spawner/wiz @@ -205,7 +205,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/landmark/awaystart) //Without this away mission name = "Atmospheric Test Start" /obj/effect/landmark/spawner/commando_manual - name = "Commando_Manual" + name = "Deathsquad Commando Manual" /obj/effect/landmark/spawner/holding_facility name = "Holding Facility" diff --git a/code/game/objects/items/cardboard_cutouts.dm b/code/game/objects/items/cardboard_cutouts.dm index f10c88e0907..069c77dac69 100644 --- a/code/game/objects/items/cardboard_cutouts.dm +++ b/code/game/objects/items/cardboard_cutouts.dm @@ -8,7 +8,7 @@ w_class = WEIGHT_CLASS_BULKY var/list/possible_appearances = list("Assistant", "Clown", "Mime", "Traitor", "Nuke Op", "Cultist", "Revolutionary", "Wizard", "Shadowling", "Xenomorph", "Swarmer", - "Deathsquad Officer", "Ian", "Slaughter Demon", + "Deathsquad Commando", "Ian", "Slaughter Demon", "Laughter Demon", "Xenomorph Maid", "Security Officer", "Terror Spider") var/pushed_over = FALSE //If the cutout is pushed over and has to be righted var/deceptive = FALSE //If the cutout actually appears as what it portray and not a discolored version @@ -146,9 +146,9 @@ // name = random_name(pick(MALE,FEMALE),"Unathi") // desc = "A cardboard cutout of an ash walker." // icon_state = "cutout_free_antag" - if("Deathsquad Officer") - name = pick(GLOB.commando_names) - desc = "A cardboard cutout of a death commando." + if("Deathsquad Commando") + name = pick(GLOB.deathsquad_names) + desc = "A cardboard cutout of a Deathsquad Commando, from that show about loose-cannon ERT Officers." icon_state = "cutout_deathsquad" if("Ian") name = "Ian" diff --git a/code/game/objects/items/devices/radio/headset.dm b/code/game/objects/items/devices/radio/headset.dm index 1803f568c98..0a99d820284 100644 --- a/code/game/objects/items/devices/radio/headset.dm +++ b/code/game/objects/items/devices/radio/headset.dm @@ -82,6 +82,17 @@ icon_state = "com_headset_alt" item_state = "com_headset_alt" +/obj/item/radio/headset/alt/deathsquad + name = "Deathsquad headset" + desc = "Special Operations only. Protects ears from flashbangs." + requires_tcomms = FALSE + instant = TRUE + freqlock = TRUE + +/obj/item/radio/headset/alt/deathsquad/Initialize() + . = ..() + set_frequency(DTH_FREQ) + /obj/item/radio/headset/syndicate origin_tech = "syndicate=3" ks1type = /obj/item/encryptionkey/syndicate/nukeops diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index a1d7ba04b2d..6e7e8307a7e 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -1475,8 +1475,8 @@ icon_state = "fireripleytoy" /obj/item/toy/figure/mech/deathripley - name = "toy Death Squad Ripley" - desc = "Mini-Mecha action figure! Collect them all! 3/11. This one is the black ripley used by the hero of DeathSquad, that TV drama about loose-cannon ERT officers!" + name = "toy Deathsquad Ripley" + desc = "Mini-Mecha action figure! Collect them all! 3/11. This one is the black ripley used by the hero of Deathsquad, that TV drama about loose-cannon ERT officers!" icon_state = "deathripleytoy" /obj/item/toy/figure/mech/gygax diff --git a/code/game/objects/items/weapons/cards_ids.dm b/code/game/objects/items/weapons/cards_ids.dm index 8bcc03dbcc9..79b4779d9de 100644 --- a/code/game/objects/items/weapons/cards_ids.dm +++ b/code/game/objects/items/weapons/cards_ids.dm @@ -812,13 +812,19 @@ /obj/item/card/id/ert/commander icon_state = "ERT_leader" + /obj/item/card/id/ert/security icon_state = "ERT_security" + /obj/item/card/id/ert/engineering icon_state = "ERT_engineering" + /obj/item/card/id/ert/medic icon_state = "ERT_medical" +/obj/item/card/id/ert/deathsquad + icon_state = "deathsquad" + /obj/item/card/id/golem name = "Free Golem ID" desc = "A card used to claim mining points and buy gear. Use it to mark it as yours." @@ -926,6 +932,8 @@ return "ERT Medical" if("ERT_janitorial") return "ERT Janitorial" + if("deathsquad") + return "Deathsquad" if("syndie") return "Syndicate" if("TDred") diff --git a/code/game/objects/items/weapons/explosives.dm b/code/game/objects/items/weapons/explosives.dm index f887e5bfe16..5614ae83623 100644 --- a/code/game/objects/items/weapons/explosives.dm +++ b/code/game/objects/items/weapons/explosives.dm @@ -108,7 +108,7 @@ message_say = "FOR THE FEDERATION!" else if(role == ROLE_REV || role == "head revolutionary") message_say = "FOR THE REVOLUTION!" - else if(role == "death commando" || role == ROLE_ERT) + else if(role == SPECIAL_ROLE_DEATHSQUAD || role == ROLE_ERT) message_say = "FOR NANOTRASEN!" user.say(message_say) target = user diff --git a/code/game/objects/items/weapons/storage/backpack.dm b/code/game/objects/items/weapons/storage/backpack.dm index 6616a25721e..1d17c286948 100644 --- a/code/game/objects/items/weapons/storage/backpack.dm +++ b/code/game/objects/items/weapons/storage/backpack.dm @@ -598,3 +598,9 @@ name = "\improper TSF marine backpack" desc = "A spacious backpack with lots of pockets, worn by marines of the Trans-Solar Federation." icon_state = "ert_solgov" + +/obj/item/storage/backpack/ert/deathsquad + name = "Deathsquad backpack" + desc = "A spacious backpack with lots of pockets, worn by those working in Special Operations." + icon_state = "ert_security" + diff --git a/code/game/objects/items/weapons/storage/boxes.dm b/code/game/objects/items/weapons/storage/boxes.dm index fbc91ae81db..79136b78137 100644 --- a/code/game/objects/items/weapons/storage/boxes.dm +++ b/code/game/objects/items/weapons/storage/boxes.dm @@ -798,6 +798,7 @@ /obj/item/storage/box/responseteam name = "boxed survival kit" icon_state = "box_ert" + storage_slots = 8 /obj/item/storage/box/responseteam/populate_contents() new /obj/item/clothing/mask/breath(src) @@ -809,6 +810,19 @@ new /obj/item/reagent_containers/food/pill/patch/synthflesh(src) new /obj/item/reagent_containers/hypospray/autoinjector(src) +/obj/item/storage/box/deathsquad + name = "boxed death kit" + icon_state = "box_of_doom" + +/obj/item/storage/box/deathsquad/populate_contents() + new /obj/item/flashlight/flare(src) + new /obj/item/crowbar/red(src) + new /obj/item/kitchen/knife/combat(src) + new /obj/item/reagent_containers/food/pill/patch/synthflesh(src) + new /obj/item/reagent_containers/hypospray/autoinjector/survival(src) + new /obj/item/ammo_box/a357(src) + new /obj/item/ammo_box/a357(src) + /obj/item/storage/box/clown name = "clown box" desc = "A colorful cardboard box for the clown" diff --git a/code/modules/admin/secrets.dm b/code/modules/admin/secrets.dm index c423868c748..95e36f33eca 100644 --- a/code/modules/admin/secrets.dm +++ b/code/modules/admin/secrets.dm @@ -69,7 +69,7 @@ Teams
Send SIT - Syndicate Infiltration Team   Send in a Syndie Strike Team   -
Send in the Deathsquad   +
Send in the Deathsquad   Send in a Gimmick Team
Change Security Level
Security Level - Green   diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 5df87edda64..dba54050cd2 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -2762,8 +2762,8 @@ spawn(0) H.corgize() ok = 1 - if("striketeam") - if(usr.client.strike_team()) + if("deathsquad") + if(usr.client.send_deathsquad()) SSblackbox.record_feedback("tally", "admin_secrets_fun_used", 1, "Send Team - Deathsquad") if("striketeam_syndicate") if(usr.client.syndicate_strike_team()) diff --git a/code/modules/admin/verbs/deathsquad.dm b/code/modules/admin/verbs/deathsquad.dm new file mode 100644 index 00000000000..7c322a3d028 --- /dev/null +++ b/code/modules/admin/verbs/deathsquad.dm @@ -0,0 +1,207 @@ +//Deathsquad + +#define MAX_COMMANDOS 14 + +GLOBAL_VAR_INIT(deathsquad_sent, FALSE) + +/client/proc/send_deathsquad() + var/client/proccaller = usr.client + if(!check_rights(R_EVENT)) + return + if(SSticker.current_state == GAME_STATE_PREGAME) + to_chat(usr, "The round hasn't started yet!") + return + if(GLOB.deathsquad_sent) + if(alert("A Deathsquad is already being sent, are you sure you want to send another?",, "Yes", "No") != "Yes") + return + else + if(alert("Do you want to send in the Deathsquad? Once enabled, this is irreversible.",, "Yes", "No") != "Yes") + return + message_admins("[key_name_admin(proccaller)] has started to spawn a DeathSquad.") + log_admin("[key_name_admin(proccaller)] has started to spawn a DeathSquad.") + to_chat(proccaller, "This 'mode' will go on until everyone is dead or the station is destroyed. You may also admin-call the evac shuttle or use the end round verb when appropriate. Spawned commandos have internals cameras which are viewable through a monitor inside the Spec. Ops. Office. The first one selected/spawned will be the team leader.") + + var/mission = sanitize(copytext(input(src, "Please specify which mission the Deathsquad shall undertake.", "Specify Mission", "",), 1, MAX_MESSAGE_LEN)) + if(!mission) + if(alert("Error, no mission set. Do you want to exit the setup process?",, "Yes", "No") == "Yes") + message_admins("[key_name_admin(proccaller)] cancelled their Deathsquad.") + log_admin("[key_name(proccaller)] cancelled their Deathsquad.") + return + + var/is_leader = TRUE + var/commando_number = input(src, "How many Deathsquad Commandos would you like to send? (Recommended is 6, Max is [MAX_COMMANDOS])", "Specify Commandos") as num|null + if(!commando_number) + message_admins("[key_name_admin(proccaller)] cancelled their Deathsquad.") + log_admin("[key_name(proccaller)] cancelled their Deathsquad.") + return + commando_number = clamp(commando_number, 1, MAX_COMMANDOS) + + if(GLOB.deathsquad_sent) + if(alert("A Deathsquad leader has previously been sent with an unrestricted NAD, would you like to spawn another unrestricted NAD?",, "Yes", "No") != "Yes") + is_leader = FALSE + GLOB.deathsquad_sent = TRUE + message_admins("[key_name_admin(proccaller)] has sent a Deathsquad with [commando_number] commandos.") + log_admin("[key_name(proccaller)] has sent a Deathsquad with [commando_number] commandos.") + + // Find the nuclear auth code + var/nuke_code + for(var/obj/machinery/nuclearbomb/N in GLOB.machines) + var/temp_code = text2num(N.r_code) + if(temp_code)//if it's actually a number. It won't convert any non-numericals. + nuke_code = N.r_code + break + if(!nuke_code) + message_admins("No nuclear warheads have been detected, the Deathsquad will not be provided detonation codes.") + + // Find ghosts willing to be Deathsquad + var/list/commando_ghosts = list() + if(alert("Would you like to custom pick your Deathsquad?",, "Yes", "No") == "Yes") + var/image/source = image('icons/obj/cardboard_cutout.dmi', "cutout_deathsquad") + commando_ghosts = pollCandidatesWithVeto(src, usr, commando_number, "Join the DeathSquad?",, 21, 60 SECONDS, TRUE, GLOB.role_playtime_requirements[ROLE_DEATHSQUAD], TRUE, FALSE, source = source) + else + var/image/source = image('icons/obj/cardboard_cutout.dmi', "cutout_deathsquad") + commando_ghosts = SSghost_spawns.poll_candidates("Join the Deathsquad?",, GLOB.responseteam_age, 60 SECONDS, TRUE, GLOB.role_playtime_requirements[ROLE_DEATHSQUAD], TRUE, FALSE, source = source) + if(length(commando_ghosts) > commando_number) + commando_ghosts.Cut(commando_number + 1) //cuts the ghost candidates down to the amount requested + if(!length(commando_ghosts)) + message_admins("[key_name_admin(proccaller)]'s Deathsquad had no volunteers and was cancelled.") + log_admin("[key_name(proccaller)]'s Deathsquad had no volunteers and was cancelled.") + to_chat(src, "Nobody volunteered to join the DeathSquad.") + return + + // Spawns commandos and equips them. + for(var/obj/effect/landmark/spawner/ds/L in GLOB.landmarks_list) //Despite obj/effect/landmark/spawner/ds being in the exact same location and doing the exact same thing as obj/effect/landmark/spawner/ert, switching them breaks it? + if(commando_number == 0) + break + if(!length(commando_ghosts)) + break + + var/mob/ghost_mob = pick(commando_ghosts) + commando_ghosts -= ghost_mob + if(!ghost_mob || !ghost_mob.key || !ghost_mob.client) + continue + + var/dstype + if(is_leader) + dstype = input_async(ghost_mob, "Select Deathsquad Type (10 seconds):", list("Organic", "Cyborg")) + else + to_chat(ghost_mob.client, "You have been chosen to lead the Deathsquad. Please stand by." ) + addtimer(CALLBACK(src, .proc/deathsquad_spawn, ghost_mob, is_leader, dstype, L, nuke_code, mission), 10 SECONDS) // This may fail if the user switches mobs during it, this is because input_async is only for mobs not clients + + is_leader = FALSE + commando_number-- + + //Spawns instruction manuals for DS + for(var/obj/effect/landmark/spawner/commando_manual/L in GLOB.landmarks_list) + var/obj/item/paper/P = new(L.loc) + P.info = "

Good morning soldier!. This compact guide will familiarize you with standard operating procedure. There are three basic rules to follow:
#1 Work as a team.
#2 Accomplish your objective at all costs.
#3 Leave no witnesses.

Your mission objective will be relayed to you by Central Command through your headsets or in person.
If deemed appropriate, Central Command will also allow members of your team to use mechs for the mission. You will find the mech storage due East of your position.

In the event that the team does not accomplish their assigned objective in a timely manner, or finds no other way to do so, attached below are instructions on how to operate a Nanotrasen Nuclear Device. Your operations LEADER is provided with a nuclear authentication disk, and all commandos have pinpointer for locating it. You may easily recognize them by their rank: Lieutenant, Captain, or Major. The nuclear device itself will be present somewhere on your destination.


Hello and thank you for choosing Nanotrasen for your nuclear information needs. Today's crash course will deal with the operation of a Fission Class Nanotrasen made Nuclear Device.
First and foremost, DO NOT TOUCH ANYTHING UNTIL THE BOMB IS IN PLACE. Pressing any button on the compacted bomb will cause it to extend and bolt itself into place. If this is done to unbolt it one must completely log in which at this time may not be possible.
To make the device functional:
#1 Place bomb in designated detonation zone
#2 Extend and anchor bomb (attack with hand).
#3 Insert Nuclear Auth. Disk into slot.
#4 Enter the nuclear authorization code: ([nuke_code]).
#5 Enter your desired time until activation.
#6 Disable the Safety.
#6 Arm the device.
You now have activated the device and it will begin counting down to detonation. Remove the Nuclear Authorization Disk and either head back to your shuttle or stay around until the Nuclear Device detonates, depending on your orders from Central Command.

The nuclear authorization code is: [nuke_code ? nuke_code : "None provided"]

Good luck, soldier!

" + P.name = "Special Operations Manual" + P.update_icon() + var/obj/item/stamp/centcom/stamp = new + P.stamp(stamp) + qdel(stamp) + + message_admins("[key_name_admin(proccaller)] has spawned a DeathSquad.") + log_admin("[key_name(proccaller)] used Spawn Death Squad.") + return TRUE + +/client/proc/deathsquad_spawn(mob/ghost_mob, is_leader = FALSE, datum/async_input/new_dstype_input, obj/L, nuke_code, mission) + var/new_dstype + if(new_dstype_input) + new_dstype_input.close() + new_dstype = new_dstype_input.result + if(!new_dstype_input) // didn't receive any response, or didn't ask them in the first place + new_dstype = "Organic" + + var/use_ds_borg = FALSE + if(new_dstype == "Cyborg") + use_ds_borg = TRUE + + if(!ghost_mob || !ghost_mob.key || !ghost_mob.client) // Doublechecking after async request + return + + if(use_ds_borg) + var/mob/living/silicon/robot/deathsquad/R = new(get_turf(L)) + var/rnum = rand(1, 1000) + var/borgname = "Epsilon [rnum]" + R.name = borgname + R.custom_name = borgname + R.real_name = R.name + R.mind = new + R.mind.current = R + R.mind.set_original_mob(R) + R.mind.assigned_role = SPECIAL_ROLE_DEATHSQUAD + R.mind.special_role = SPECIAL_ROLE_DEATHSQUAD + R.mind.offstation_role = TRUE + if(!(R.mind in SSticker.minds)) + SSticker.minds += R.mind + SSticker.mode.traitors += R.mind + R.key = ghost_mob.key + if(nuke_code) + R.mind.store_memory("Nuke Code: [nuke_code].") + R.mind.store_memory("Mission: [mission].") + to_chat(R, "You are a Deathsquad cyborg, in the service of Central Command. \nYour current mission is: [mission]") + else + var/mob/living/carbon/human/new_commando = create_deathsquad_commando(L, is_leader) + new_commando.mind.key = ghost_mob.key + new_commando.key = ghost_mob.key + new_commando.update_action_buttons_icon() + if(nuke_code) + new_commando.mind.store_memory("Nuke Code: [nuke_code].") + new_commando.mind.store_memory("Mission: [mission].") + to_chat(new_commando, "You are a Deathsquad [is_leader ? "TEAM LEADER" : "commando"] in the service of Central Command. Check the table ahead for detailed instructions.\nYour current mission is: [mission]") + +/client/proc/create_deathsquad_commando(obj/spawn_location, is_leader = FALSE) + var/mob/living/carbon/human/new_commando = new(spawn_location.loc) + var/commando_leader_rank = pick("Lieutenant", "Captain", "Major") + var/commando_name = pick(GLOB.deathsquad_names) + var/obj/item/organ/external/head/head_organ = new_commando.get_organ("head") // This appearance code is brought to you by ert.dm, basically the same code. If you change something here change somethere there too. + + if(is_leader) + new_commando.age = rand(35, 45) + new_commando.real_name = "[commando_leader_rank] [commando_name]" + else + new_commando.real_name = "[commando_name]" + + if(prob(50)) + new_commando.change_gender(MALE) + else + new_commando.change_gender(FEMALE) + + // All of this code down here too is also from ert.dm, I'm lazy don't blame me + new_commando.set_species(/datum/species/human, TRUE) + new_commando.dna.ready_dna(new_commando) + new_commando.cleanSE() //No fat/blind/colourblind/epileptic/whatever Deathsquad. + new_commando.overeatduration = 0 + + var/hair_c = pick("#8B4513","#000000","#FF4500","#FFD700") // Brown, black, red, blonde + var/eye_c = pick("#000000","#8B4513","1E90FF") // Black, brown, blue + var/skin_tone = rand(-120, 20) // A range of skin colors (This doesn't work, result is always pale white) + + head_organ.facial_colour = hair_c + head_organ.sec_facial_colour = hair_c + head_organ.hair_colour = hair_c + head_organ.sec_hair_colour = hair_c + new_commando.change_eye_color(eye_c) + new_commando.s_tone = skin_tone + head_organ.h_style = random_hair_style(new_commando.gender, head_organ.dna.species.name) + head_organ.f_style = random_facial_hair_style(new_commando.gender, head_organ.dna.species.name) + + new_commando.regenerate_icons() + new_commando.update_body() + new_commando.update_dna() + + //Creates mind stuff. + new_commando.mind_initialize() + new_commando.mind.assigned_role = SPECIAL_ROLE_DEATHSQUAD + new_commando.mind.special_role = SPECIAL_ROLE_DEATHSQUAD + new_commando.mind.offstation_role = TRUE + SSticker.mode.traitors |= new_commando.mind //Adds them to current traitor list. Which is really the extra antagonist list. + new_commando.equip_deathsquad_commando(is_leader) + return new_commando + +/mob/living/carbon/human/proc/equip_deathsquad_commando(is_leader = FALSE) + if(is_leader) + equipOutfit(/datum/outfit/admin/deathsquad_commando/leader) + else + equipOutfit(/datum/outfit/admin/deathsquad_commando) diff --git a/code/modules/admin/verbs/one_click_antag.dm b/code/modules/admin/verbs/one_click_antag.dm index b2cd3e0658d..a5d6c1f1f4f 100644 --- a/code/modules/admin/verbs/one_click_antag.dm +++ b/code/modules/admin/verbs/one_click_antag.dm @@ -297,76 +297,6 @@ return 1 */ -/datum/admins/proc/makeDeathsquad() - var/list/mob/candidates = list() - var/mob/theghost = null - var/time_passed = world.time - var/input = "Purify the station." - if(prob(10)) - input = "Save Runtime and any other cute things on the station." - - var/antnum = input(owner, "How many deathsquad members you want to create? Enter 0 to cancel.","Amount:", 0) as num - if(!antnum || antnum <= 0) - return - log_admin("[key_name(owner)] tried making a [antnum] person Death Squad with One-Click-Antag") - message_admins("[key_name_admin(owner)] tried making a [antnum] person Death Squad with One-Click-Antag") - - var/syndicate_leader_selected = 0 //when the leader is chosen. The last person spawned. - - //Generates a list of commandos from active ghosts. Then the user picks which characters to respawn as the commandos. - for(var/mob/G in GLOB.respawnable_list) - if(!jobban_isbanned(G, ROLE_SYNDICATE)) - spawn(0) - switch(alert(G,"Do you wish to be considered for an elite syndicate strike team being sent in?","Please answer in 30 seconds!","Yes","No")) - if("Yes") - if((world.time-time_passed)>300)//If more than 30 game seconds passed. - return - candidates += G - if("No") - return - else - return - sleep(300) - - for(var/mob/dead/observer/G in candidates) - if(!G.key) - candidates.Remove(G) - - if(candidates.len) - //Spawns commandos and equips them. - for(var/obj/effect/landmark/L in /area/syndicate_mothership/elite_squad) - if(antnum <= 0) - break - if(L.name == "Syndicate-Commando") - syndicate_leader_selected = antnum == 1?1:0 - - var/mob/living/carbon/human/new_syndicate_commando = create_syndicate_death_commando(L, syndicate_leader_selected) - - while((!theghost || !theghost.client) && candidates.len) - theghost = pick(candidates) - candidates.Remove(theghost) - - if(!theghost) - qdel(new_syndicate_commando) - break - - new_syndicate_commando.key = theghost.key - new_syndicate_commando.internal = new_syndicate_commando.s_store - new_syndicate_commando.update_action_buttons_icon() - - //So they don't forget their code or mission. - - - to_chat(new_syndicate_commando, "You are an Elite Syndicate. [!syndicate_leader_selected ? "commando" : "LEADER"] in the service of the Syndicate. \nYour current mission is: [input]") - - antnum-- - - for(var/obj/effect/landmark/L in /area/shuttle/syndicate_elite) - if(L.name == "Syndicate-Commando-Bomb") - new /obj/effect/spawner/newbomb/timer/syndicate(L.loc) - return 1 - - /proc/makeBody(mob/dead/observer/G_found) // Uses stripped down and bastardized code from respawn character if(!G_found || !G_found.key) return diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index 489c6ecee76..2b569d689de 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -465,9 +465,8 @@ Traitors and the like can also be revived with the previous role mostly intact. new_character.loc = get_turf(synd_spawn) call(/datum/game_mode/proc/equip_syndicate)(new_character) - if("Death Commando")//Leaves them at late-join spawn. - new_character.equip_death_commando() - new_character.internal = new_character.s_store + if("Deathsquad Commando")//Leaves them at late-join spawn. + new_character.equip_deathsquad_commando() new_character.update_action_buttons_icon() else//They may also be a cyborg or AI. switch(new_character.mind.assigned_role) diff --git a/code/modules/admin/verbs/striketeam.dm b/code/modules/admin/verbs/striketeam.dm deleted file mode 100644 index d9c60392b70..00000000000 --- a/code/modules/admin/verbs/striketeam.dm +++ /dev/null @@ -1,204 +0,0 @@ -//STRIKE TEAMS - -#define COMMANDOS_POSSIBLE 6 //if more Commandos are needed in the future -GLOBAL_VAR_INIT(sent_strike_team, 0) - -/client/proc/strike_team() - if(!SSticker) - to_chat(usr, "The game hasn't started yet!") - return - if(GLOB.sent_strike_team == 1) - to_chat(usr, "CentComm is already sending a team.") - return - if(alert("Do you want to send in the CentComm death squad? Once enabled, this is irreversible.",,"Yes","No")!="Yes") - return - alert("This 'mode' will go on until everyone is dead or the station is destroyed. You may also admin-call the evac shuttle when appropriate. Spawned commandos have internals cameras which are viewable through a monitor inside the Spec. Ops. Office. The first one selected/spawned will be the team leader.") - - message_admins("[key_name_admin(usr)] has started to spawn a CentComm DeathSquad.", 1) - - var/input = null - while(!input) - input = sanitize(copytext(input(src, "Please specify which mission the death commando squad shall undertake.", "Specify Mission", ""),1,MAX_MESSAGE_LEN)) - if(!input) - if(alert("Error, no mission set. Do you want to exit the setup process?",,"Yes","No")=="Yes") - return - - if(GLOB.sent_strike_team) - to_chat(usr, "Looks like someone beat you to it.") - return - - // Find the nuclear auth code - var/nuke_code - var/temp_code - for(var/obj/machinery/nuclearbomb/N in GLOB.machines) - temp_code = text2num(N.r_code) - if(temp_code)//if it's actually a number. It won't convert any non-numericals. - nuke_code = N.r_code - break - - // Find ghosts willing to be DS - var/image/source = image('icons/obj/cardboard_cutout.dmi', "cutout_deathsquad") - var/list/commando_ghosts = pollCandidatesWithVeto(src, usr, COMMANDOS_POSSIBLE, "Join the DeathSquad?",, 21, 60 SECONDS, TRUE, GLOB.role_playtime_requirements[ROLE_DEATHSQUAD], TRUE, FALSE, source = source) - if(!length(commando_ghosts)) - to_chat(usr, "Nobody volunteered to join the DeathSquad.") - return - - GLOB.sent_strike_team = 1 - - // Spawns commandos and equips them. - var/commando_number = COMMANDOS_POSSIBLE //for selecting a leader - var/is_leader = TRUE // set to FALSE after leader is spawned - - for(var/obj/effect/landmark/spawner/ds/L in GLOB.landmarks_list) - if(!commando_number) - break - - if(!length(commando_ghosts)) - break - - var/use_ds_borg = FALSE - var/mob/ghost_mob = pick(commando_ghosts) - commando_ghosts -= ghost_mob - if(!ghost_mob || !ghost_mob.key || !ghost_mob.client) - continue - - if(!is_leader) - var/new_dstype = alert(ghost_mob.client, "Select Deathsquad Type.", "DS Character Generation", "Organic", "Cyborg") - if(new_dstype == "Cyborg") - use_ds_borg = TRUE - - if(!ghost_mob || !ghost_mob.key || !ghost_mob.client) // Have to re-check this due to the above alert() call - continue - - if(use_ds_borg) - var/mob/living/silicon/robot/deathsquad/R = new(get_turf(L)) - var/rnum = rand(1, 1000) - var/borgname = "Epsilon [rnum]" - R.name = borgname - R.custom_name = borgname - R.real_name = R.name - R.mind = new - R.mind.current = R - R.mind.set_original_mob(R) - R.mind.assigned_role = SPECIAL_ROLE_DEATHSQUAD - R.mind.special_role = SPECIAL_ROLE_DEATHSQUAD - R.mind.offstation_role = TRUE - if(!(R.mind in SSticker.minds)) - SSticker.minds += R.mind - SSticker.mode.traitors += R.mind - R.key = ghost_mob.key - if(nuke_code) - R.mind.store_memory("Nuke Code: [nuke_code].") - R.mind.store_memory("Mission: [input].") - to_chat(R, "You are a Special Operations cyborg, in the service of Central Command. \nYour current mission is: [input]") - else - var/mob/living/carbon/human/new_commando = create_death_commando(L, is_leader) - new_commando.mind.key = ghost_mob.key - new_commando.key = ghost_mob.key - new_commando.internal = new_commando.s_store - new_commando.update_action_buttons_icon() - if(nuke_code) - new_commando.mind.store_memory("Nuke Code: [nuke_code].") - new_commando.mind.store_memory("Mission: [input].") - to_chat(new_commando, "You are a Special Ops [is_leader ? "TEAM LEADER" : "commando"] in the service of Central Command. Check the table ahead for detailed instructions.\nYour current mission is: [input]") - - is_leader = FALSE - commando_number-- - - //Spawns the rest of the commando gear. - for(var/obj/effect/landmark/spawner/commando_manual/L in GLOB.landmarks_list) - //new /obj/item/gun/energy/pulse_rifle(L.loc) - var/obj/item/paper/P = new(L.loc) - P.info = "

Good morning soldier!. This compact guide will familiarize you with standard operating procedure. There are three basic rules to follow:
#1 Work as a team.
#2 Accomplish your objective at all costs.
#3 Leave no witnesses.
You are fully equipped and stocked for your mission--before departing on the Spec. Ops. Shuttle due South, make sure that all operatives are ready. Actual mission objective will be relayed to you by Central Command through your headsets.
If deemed appropriate, Central Command will also allow members of your team to equip assault power-armor for the mission. You will find the armor storage due West of your position. Once you are ready to leave, utilize the Special Operations shuttle console and toggle the hull doors via the other console.

In the event that the team does not accomplish their assigned objective in a timely manner, or finds no other way to do so, attached below are instructions on how to operate a Nanotrasen Nuclear Device. Your operations LEADER is provided with a nuclear authentication disk and a pin-pointer for this reason. You may easily recognize them by their rank: Lieutenant, Captain, or Major. The nuclear device itself will be present somewhere on your destination.

Hello and thank you for choosing Nanotrasen for your nuclear information needs. Today's crash course will deal with the operation of a Fission Class Nanotrasen made Nuclear Device.
First and foremost, DO NOT TOUCH ANYTHING UNTIL THE BOMB IS IN PLACE. Pressing any button on the compacted bomb will cause it to extend and bolt itself into place. If this is done to unbolt it one must completely log in which at this time may not be possible.
To make the device functional:
#1 Place bomb in designated detonation zone
#2 Extend and anchor bomb (attack with hand).
#3 Insert Nuclear Auth. Disk into slot.
#4 Type numeric code into keypad ([nuke_code]).
Note: If you make a mistake press R to reset the device.
#5 Press the E button to log onto the device.
You now have activated the device. To deactivate the buttons at anytime, for example when you have already prepped the bomb for detonation, remove the authentication disk OR press the R on the keypad. Now the bomb CAN ONLY be detonated using the timer. A manual detonation is not an option.
Note: Toggle off the SAFETY.
Use the - - and + + to set a detonation time between 5 seconds and 10 minutes. Then press the timer toggle button to start the countdown. Now remove the authentication disk so that the buttons deactivate.
Note: THE BOMB IS STILL SET AND WILL DETONATE
Now before you remove the disk if you need to move the bomb you can: Toggle off the anchor, move it, and re-anchor.

The nuclear authorization code is: [nuke_code ? nuke_code : "None provided"]

Good luck, soldier!

" - P.name = "Spec. Ops Manual" - P.icon = "pamphlet-ds" - var/obj/item/stamp/centcom/stamp = new - P.stamp(stamp) - qdel(stamp) - - for(var/thing in GLOB.landmarks_list) - var/obj/effect/landmark/L = thing - if(L.name == "Commando-Bomb") - new /obj/effect/spawner/newbomb/timer/syndicate(L.loc) - qdel(L) - - message_admins("[key_name_admin(usr)] has spawned a CentComm DeathSquad.", 1) - log_admin("[key_name(usr)] used Spawn Death Squad.") - return 1 - -/client/proc/create_death_commando(obj/spawn_location, is_leader = FALSE) - var/mob/living/carbon/human/new_commando = new(spawn_location.loc) - var/commando_leader_rank = pick("Lieutenant", "Captain", "Major") - var/commando_name = pick(GLOB.commando_names) - - var/datum/character_save/S = new //Randomize appearance for the commando. - S.randomise() - if(is_leader) - S.age = rand(35, 45) - S.real_name = "[commando_leader_rank] [commando_name]" - else - S.real_name = "[commando_name]" - S.copy_to(new_commando) - - - new_commando.dna.ready_dna(new_commando)//Creates DNA. - - //Creates mind stuff. - new_commando.mind_initialize() - new_commando.mind.assigned_role = SPECIAL_ROLE_DEATHSQUAD - new_commando.mind.special_role = SPECIAL_ROLE_DEATHSQUAD - SSticker.mode.traitors |= new_commando.mind//Adds them to current traitor list. Which is really the extra antagonist list. - new_commando.equip_death_commando(is_leader) - return new_commando - -/mob/living/carbon/human/proc/equip_death_commando(is_leader = FALSE) - - var/obj/item/radio/R = new /obj/item/radio/headset/alt(src) - R.set_frequency(DTH_FREQ) - R.requires_tcomms = FALSE - R.instant = TRUE - R.freqlock = TRUE - equip_to_slot_or_del(R, slot_l_ear) - if(is_leader) - equip_to_slot_or_del(new /obj/item/clothing/under/rank/centcom_officer(src), slot_w_uniform) - else - equip_to_slot_or_del(new /obj/item/clothing/under/color/green(src), slot_w_uniform) - equip_to_slot_or_del(new /obj/item/clothing/shoes/magboots/advance(src), slot_shoes) - equip_to_slot_or_del(new /obj/item/clothing/suit/space/deathsquad(src), slot_wear_suit) - equip_to_slot_or_del(new /obj/item/clothing/gloves/combat(src), slot_gloves) - equip_to_slot_or_del(new /obj/item/clothing/head/helmet/space/deathsquad(src), slot_head) - equip_to_slot_or_del(new /obj/item/clothing/mask/gas/sechailer/swat(src), slot_wear_mask) - equip_to_slot_or_del(new /obj/item/clothing/glasses/thermal(src), slot_glasses) - - equip_to_slot_or_del(new /obj/item/storage/backpack/security(src), slot_back) - equip_to_slot_or_del(new /obj/item/storage/box(src), slot_in_backpack) - - equip_to_slot_or_del(new /obj/item/ammo_box/a357(src), slot_in_backpack) - equip_to_slot_or_del(new /obj/item/reagent_containers/hypospray/combat/nanites(src), slot_in_backpack) - equip_to_slot_or_del(new /obj/item/storage/box/flashbangs(src), slot_in_backpack) - equip_to_slot_or_del(new /obj/item/flashlight(src), slot_in_backpack) - equip_to_slot_or_del(new /obj/item/pinpointer(src), slot_in_backpack) - if(is_leader) - equip_to_slot_or_del(new /obj/item/disk/nuclear/unrestricted(src), slot_in_backpack) - else - equip_to_slot_or_del(new /obj/item/grenade/plastic/c4/x4(src), slot_in_backpack) - - - equip_to_slot_or_del(new /obj/item/melee/energy/sword/saber(src), slot_l_store) - equip_to_slot_or_del(new /obj/item/shield/energy(src), slot_r_store) - equip_to_slot_or_del(new /obj/item/tank/internals/emergency_oxygen/double(src), slot_s_store) - equip_to_slot_or_del(new /obj/item/gun/projectile/revolver/mateba(src), slot_belt) - equip_to_slot_or_del(new /obj/item/gun/energy/pulse(src), slot_r_hand) - - var/obj/item/implant/mindshield/L = new/obj/item/implant/mindshield(src) - L.implant(src) - - var/obj/item/card/id/W = new(src) - W.name = "[real_name]'s ID Card" - W.icon_state = "deathsquad" - W.assignment = "Death Commando" - W.access = get_centcom_access(W.assignment) - W.registered_name = real_name - equip_to_slot_or_del(W, slot_wear_id) - - return 1 diff --git a/code/modules/clothing/shoes/miscellaneous.dm b/code/modules/clothing/shoes/miscellaneous.dm index b10ebf2af93..e9e66f49abc 100644 --- a/code/modules/clothing/shoes/miscellaneous.dm +++ b/code/modules/clothing/shoes/miscellaneous.dm @@ -14,7 +14,7 @@ strip_delay = 70 resistance_flags = NONE -/obj/item/clothing/shoes/combat/swat //overpowered boots for death squads +/obj/item/clothing/shoes/combat/swat //overpowered gimmick boots name = "\improper SWAT shoes" desc = "High speed, no drag combat boots." permeability_coefficient = 0.01 diff --git a/code/modules/clothing/spacesuits/miscellaneous.dm b/code/modules/clothing/spacesuits/miscellaneous.dm index 7ba8e52b7f9..645f10a63a9 100644 --- a/code/modules/clothing/spacesuits/miscellaneous.dm +++ b/code/modules/clothing/spacesuits/miscellaneous.dm @@ -39,7 +39,7 @@ //Deathsquad space suit, not hardsuits because no flashlight! /obj/item/clothing/head/helmet/space/deathsquad - name = "deathsquad helmet" + name = "Deathsquad helmet" desc = "That's not red paint. That's real blood." icon_state = "deathsquad" item_state = "deathsquad" @@ -53,12 +53,13 @@ strip_delay = 130 /obj/item/clothing/suit/space/deathsquad - name = "deathsquad suit" + name = "Deathsquad suit" desc = "A heavily armored, advanced space suit that protects against most forms of damage." icon_state = "deathsquad" item_state = "swat_suit" - allowed = list(/obj/item/gun,/obj/item/ammo_box,/obj/item/ammo_casing,/obj/item/melee/baton,/obj/item/restraints/handcuffs,/obj/item/tank/internals,/obj/item/kitchen/knife/combat) + allowed = list(/obj/item/gun,/obj/item/ammo_box,/obj/item/ammo_casing,/obj/item/melee/baton,/obj/item/restraints/handcuffs,/obj/item/tank/internals,/obj/item/kitchen/knife/combat,/obj/item/flashlight) armor = list(MELEE = 80, BULLET = 80, LASER = 50, ENERGY = 50, BOMB = 100, BIO = 100, RAD = 100, FIRE = 100, ACID = 100) + flags_inv = HIDESHOES | HIDEJUMPSUIT | HIDETAIL max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT resistance_flags = FIRE_PROOF | ACID_PROOF strip_delay = 130 diff --git a/code/modules/clothing/under/miscellaneous.dm b/code/modules/clothing/under/miscellaneous.dm index 84b4d93558c..6da70fa990a 100644 --- a/code/modules/clothing/under/miscellaneous.dm +++ b/code/modules/clothing/under/miscellaneous.dm @@ -104,6 +104,15 @@ sensor_mode = SENSOR_COORDS random_sensor = FALSE +/obj/item/clothing/under/rank/deathsquad + name = "\improper Deathsquad jumpsuit" + desc = "It's decorative jumpsuit worn by the Deathsquad. A small tag at the bottom reads \"Not associated with Nanotrasen\". " + icon_state = "officer" + item_state = "g_suit" + item_color = "officer" + sensor_mode = SENSOR_OFF // You think the Deathsquad wants to be seen? + random_sensor = FALSE + /obj/item/clothing/under/rank/centcom_commander name = "\improper CentComm commander's jumpsuit" desc = "It's a jumpsuit worn by CentComm's highest-tier Commanders." diff --git a/config/names/death_commando.txt b/config/names/deathsquad.txt similarity index 91% rename from config/names/death_commando.txt rename to config/names/deathsquad.txt index 9c6905e8b2a..ad56c52d689 100644 --- a/config/names/death_commando.txt +++ b/config/names/deathsquad.txt @@ -1,69 +1,73 @@ -Killiam Shakespeare -Stabby McGee -Sgt. Slaughter -Maxx Power -Sir Killaslot -Slab Bulkhead -Fridge Largemeat -Punt Speedchunk -Butch Deadlift -Bold Bigflank -Splint Chesthair -Flint Ironstag -Bolt Vanderhuge -Thick McRunfast -Blast Hardcheese -Buff Drinklots -Trunk Slamchest -Fist Rockbone -Stump Beefgnaw -Smash Lampjaw -Punch Rockgroin -Buck Plankchest -Stump Chunkman -Dirk Hardpeck -Rip Steakface -Slate Slabrock -Crud Bonemeal -Brick Hardmeat -Rip Sidecheek -Punch Sideiron -Gristle McThornBody -Slake Fistcrunch -Buff Hardback -Blast Thickneck -Crunch Buttsteak -Slab Squatthrust -Lump Beefrock -Touch Rustrod -Reef Blastbody -Smoke Manmuscle -Beat Punchbeef -Pack Blowfist -Roll Fizzlebeef -Lance Killiam -George Melons -Maximilian Murderface -Bob Johnson -Crush McStompbones -Hank Chesthair -Killing McKillingalot -Rex Dudekiller VII -Seamus McTosterone -Hans Testosteroneson -Max Pain -Theodore Pain -Sarah Pain -GORE Vidal -Leonardo Da Viking -Noam Bombsky -Al "Otta" Gore -Gibbs McLargehuge -Evil Martin Luther King -Evil Bob Marley -Duke Killington -AMERICA -Toolboxl Rose -Zombie Gandhi -A whole bunch of spiders in a SWAT suit -THAT DAMN TRAITOR GEORGE MELONS \ No newline at end of file +Killiam Shakespeare +Stabby McGee +Sgt. Slaughter +Maxx Power +Sir Killaslot +Slab Bulkhead +Fridge Largemeat +Punt Speedchunk +Butch Deadlift +Bold Bigflank +Splint Chesthair +Flint Ironstag +Bolt Vanderhuge +Thick McRunfast +Blast Hardcheese +Buff Drinklots +Trunk Slamchest +Fist Rockbone +Stump Beefgnaw +Smash Lampjaw +Punch Rockgroin +Buck Plankchest +Stump Chunkman +Dirk Hardpeck +Rip Steakface +Slate Slabrock +Crud Bonemeal +Brick Hardmeat +Rip Sidecheek +Punch Sideiron +Gristle McThornBody +Slake Fistcrunch +Buff Hardback +Blast Thickneck +Crunch Buttsteak +Slab Squatthrust +Lump Beefrock +Touch Rustrod +Reef Blastbody +Smoke Manmuscle +Beat Punchbeef +Pack Blowfist +Roll Fizzlebeef +Lance Killiam +George Melons +Maximilian Murderface +Bob Johnson +Crush McStompbones +Hank Chesthair +Killing McKillingalot +Rex Dudekiller VII +Seamus McTosterone +Hans Testosteroneson +Max Pain +Theodore Pain +Sarah Pain +GORE Vidal +Leonardo Da Viking +Noam Bombsky +Al "Otta" Gore +Gibbs McLargehuge +Evil Martin Luther King +Evil Bob Marley +Duke Killington +AMERICA +Toolboxl Rose +Zombie Gandhi +A whole bunch of spiders in a SWAT suit +THAT DAMN TRAITOR GEORGE MELONS +Hank Tank +Brickhouse Thunderlung +Colossus Crushtacean +Maxx Capp diff --git a/paradise.dme b/paradise.dme index d77d971fba9..de2c30f4a65 100644 --- a/paradise.dme +++ b/paradise.dme @@ -1207,6 +1207,7 @@ #include "code\modules\admin\verbs\cinematic.dm" #include "code\modules\admin\verbs\custom_event.dm" #include "code\modules\admin\verbs\deadsay.dm" +#include "code\modules\admin\verbs\deathsquad.dm" #include "code\modules\admin\verbs\debug.dm" #include "code\modules\admin\verbs\diagnostics.dm" #include "code\modules\admin\verbs\dice.dm" @@ -1230,7 +1231,6 @@ #include "code\modules\admin\verbs\randomverbs.dm" #include "code\modules\admin\verbs\serialization.dm" #include "code\modules\admin\verbs\space_transitions.dm" -#include "code\modules\admin\verbs\striketeam.dm" #include "code\modules\admin\verbs\striketeam_syndicate.dm" #include "code\modules\admin\verbs\ticklag.dm" #include "code\modules\admin\verbs\toggledebugverbs.dm"