mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
Basic Mob Lazarus Revival (#29891)
* Basic mobs revivable with lazarus * Allows basic mobs to revive through lazarus, fixes basic mob revivals
This commit is contained in:
@@ -940,6 +940,15 @@
|
||||
SM.loot.Cut() //no abusing Lazarus Reagent for farming unlimited resources
|
||||
SM.visible_message("<span class='warning'>[SM] seems to rise from the dead!</span>")
|
||||
|
||||
if(isbasicmob(M) && method == REAGENT_TOUCH)
|
||||
var/mob/living/basic/BM = M
|
||||
if(BM.sentience_type != revive_type) // No reviving Ash Drakes for you
|
||||
return
|
||||
if(BM.stat == DEAD)
|
||||
BM.revive()
|
||||
BM.loot.Cut() //no abusing Lazarus Reagent for farming unlimited resources
|
||||
BM.visible_message("<span class='warning'>[BM] seems to rise from the dead!</span>")
|
||||
|
||||
if(iscarbon(M))
|
||||
if(method == REAGENT_INGEST || (method == REAGENT_TOUCH && prob(25)))
|
||||
if(M.stat == DEAD)
|
||||
|
||||
Reference in New Issue
Block a user