Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions code/modules/mining/equipment/lazarus_injector.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
///So you can't revive boss monsters or robots with it
var/revive_type = SENTIENCE_ORGANIC

///make it so taming is optional // DARKPACK EDIT ADD START - MEDICAL
var/should_tame = TRUE // DARKPACK EDIT ADD END - MEDICAL

/obj/item/lazarus_injector/interact_with_atom(atom/target, mob/living/user, list/modifiers)
if(!loaded)
return NONE
Expand All @@ -40,8 +43,10 @@
if(target_animal.stat != DEAD)
balloon_alert(user, "it's not dead!")
return ITEM_INTERACT_BLOCKING

target_animal.lazarus_revive(user, malfunctioning)
if(should_tame) // DARKPACK EDIT ADD START - MEDICAL
target_animal.lazarus_revive(user, malfunctioning)
else
target_animal.revive(HEAL_ALL) // DARKPACK EDIT ADD END - MEDICAL
expend(target_animal, user)
return ITEM_INTERACT_SUCCESS

Expand Down
14 changes: 14 additions & 0 deletions modular_darkpack/modules/medical/code/vet_lazarus_injector.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* Players can revive simplemobs with this.
* In-game item that can be used to revive a simplemob once. Does not make mobs friendly.
*/
/obj/item/lazarus_injector/lazadon
name = "lazadon injector"
desc = "An injector with a cocktail chemicals, able to bring pets back from the brink."
icon = 'modular_darkpack/modules/medical/icons/lazadon_injector.dmi'
lefthand_file = 'modular_darkpack/modules/medical/icons/lazadon_lefthand.dmi'
righthand_file = 'modular_darkpack/modules/medical/icons/lazadon_righthand.dmi'
ONFLOOR_ICON_HELPER('modular_darkpack/modules/medical/icons/lazadon_onfloor.dmi')

brand = "magadon"
should_tame = FALSE
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -7715,6 +7715,7 @@
#include "modular_darkpack\modules\masquerade\code\subsystem\masquerade.dm"
#include "modular_darkpack\modules\matrix\code\job.dm"
#include "modular_darkpack\modules\matrix\code\matrix.dm"
#include "modular_darkpack\modules\medical\code\vet_lazarus_injector.dm"
#include "modular_darkpack\modules\mentor\code\_globalvars.dm"
#include "modular_darkpack\modules\mentor\code\client_procs.dm"
#include "modular_darkpack\modules\mentor\code\dementor.dm"
Expand Down
Loading