mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 07:03:30 +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:
@@ -275,6 +275,16 @@ RESTRICT_TYPE(/mob/living/basic)
|
||||
create_debug_log("woke up, trigger reason: [reason]")
|
||||
med_hud_set_status()
|
||||
|
||||
/mob/living/basic/revive()
|
||||
..()
|
||||
density = initial(density)
|
||||
health = maxHealth
|
||||
icon = initial(icon)
|
||||
icon_state = icon_living
|
||||
density = initial(density)
|
||||
if(TRAIT_FLYING in initial_traits)
|
||||
ADD_TRAIT(src, TRAIT_FLYING, INNATE_TRAIT)
|
||||
|
||||
/mob/living/basic/death(gibbed)
|
||||
. = ..()
|
||||
if(!.)
|
||||
|
||||
Reference in New Issue
Block a user