Adds the command multitool (#20610)

* adds the device

* map edits

* suicide act

* oops
fixes duplication issue

* sean review

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>

* Update code/game/objects/items/tools/multitool.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

---------

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
JimKil3
2023-04-04 11:13:35 -04:00
committed by GitHub
parent 85c08eee61
commit bbbbc52cd6
7 changed files with 30 additions and 2 deletions
@@ -106,6 +106,32 @@
toolspeed = 0.95 // dangerously fast... not like multitools use speed anyways
origin_tech = "magnets=1;engineering=2;syndicate=1"
/obj/item/multitool/command
name = "command multitool"
desc = "Used for pulsing wires to test which to cut. Not recommended by the Captain."
icon_state = "multitool_command"
belt_icon = "multitool_command"
toolspeed = 0.95 //command those wires / that fireaxe cabinet!
/obj/item/multitool/command/suicide_act(mob/living/user)
user.visible_message("<span class='suicide'>[user] is attempting to command the command multitool! It looks like [user.p_theyre()] trying to commit suicide!</span>")
//basically just cleaned up and copied from the medical wrench code
if(!user)
return
user.Stun(10 SECONDS)
playsound(loc, 'sound/effects/supermatter.ogg', 50, TRUE, -1)
sleep(20)
add_fingerprint(user)
desc += " Its screen displays the text \"[user.name]: executed for mutiny.\""
for(var/obj/item/W in user)
user.unEquip(W)
user.dust()
return OBLITERATION
/obj/item/multitool/ai_detect/admin
desc = "Used for pulsing wires to test which to cut. Not recommended by doctors. Has a strange tag that says 'Grief in Safety'" //What else should I say for a meme item?
track_delay = 5