New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MAP] Defibrillators #5564
[MAP] Defibrillators #5564
Conversation
Yanno I didn't test the braindamage code right |
That's what the [WIP] tag is for. |
SPRITES ENTIRELY BY SCOOP BTW |
I made the EMT jacket. |
Sorry. OP updated with proper crediting. |
How do we acquire this item? Can we order more from cargo or build them? |
I'll be adding RnD specs in a future commit. Right now, it starts in secure MD lockers and the CMO's locker, a total of 3. The rnd reproduction will have a rather high biotech requirement and stuff. |
This is tested and ready for code review now. |
Yay, paramedic content. Could you add one more spawn for medical scrubs in the MD's wardrobe though? It's already a pain in the ass to get the colour you want from four. Giving one of each instead might be nice too. |
I'll just do one of each instead. |
So this will only revive people if they have <200 non-oxyloss damage, right? |
Yes and yes. If your face gets mashed in hard enough you won't be able to revive. |
i find it amusing that we use cpr to bring people out of crit and defibs to bring people back to life, WHICH IS EXACTLY THE OPPOSITE OF HOW IT WORKS IRL. |
if(istype(W, /obj/item/weapon/card/emag)) | ||
if(emagged == 0) | ||
emagged = 1 | ||
usr << "<span class='notice'>[W] disables [src]'s safety protocols" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Punctuation here and at line 98.
Change the breakage from emagging to EMP or something. Emags are more open to meta and effectively gates the content to Traitor-only. |
@Cheridan @Miauw62 |
if(do_after(user, 30)) //beginning to place the paddles on patient's chest to allow some time for people to move away to stop the process | ||
user.visible_message("<span class='notice'>[user] places [src] on [M.name]'s chest.</span>", "<span class='warning'>You place [src] on [M.name]'s chest.</span>") | ||
playsound(get_turf(src), 'sound/weapons/flash.ogg', 50, 0) | ||
var/isghosted = !H.key && H.mind |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I semi-recently made a mob function called get_ghost() which returns their ghost if it exists and they can re-enter their corpse. I suggest you use that, then you can replace the code in line 308.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, you should replace that in the genetics code, that's where I got this, from the cloner ghost notification
Added a traitor objective for the defib unit. |
It's got mapping changes in it. |
Fixed. |
…o defibsfinal Conflicts: _maps/map_files/tgstation.2.1.3.dmm
I would suggest reducing the crit to death time if we want to give people another way to cheat death. We already have so many. |
|
…o defibsfinal Conflicts: _maps/map_files/tgstation.2.1.3.dmm
Collaboration with @scoopscoop
Defib sprites by @scoopscoop
EMT jacket from NTstation by @MrSnapwalk
Adds Defibrillators:
Adds EMT jackets (labcoats):
Updates map:
Defibbing only jumps people out of death and back into crit while healing 5 oxyloss damage. If they have outstanding damage from lasers, bullets, or eswords in the face for example, the patient will not be able to be defibbed and die immediately from their severe wounds. This makes the medical scanner more useful for EMTs before defibbing people to check if they have severe damage that will need reconstruction at a cloner from their genetic data.