mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
Slaughter Demon no longer heals from consuming simplemob (#18554)
* Demon no longer heals from consuming simplemob * Added Cyborgs to the healing check * Implemented Miraviel's suggestion Co-authored-by: Adri <jozsef.adrienn@gmail.com> * Simplemob devour heal Co-authored-by: adrermail@gmail.com <adrermail@gmail.com> Co-authored-by: Adri <jozsef.adrienn@gmail.com>
This commit is contained in:
co-authored by
Adri
adrermail@gmail.com <adrermail@gmail.com>
parent
07265abdf2
commit
6d3033df0a
@@ -68,13 +68,18 @@
|
||||
for(var/i in 1 to 3)
|
||||
playsound(get_turf(src), sound, 100, 1)
|
||||
sleep(30)
|
||||
if(kidnapped)
|
||||
to_chat(src, "<B>You devour [kidnapped]. Your health is fully restored.</B>")
|
||||
adjustBruteLoss(-1000)
|
||||
adjustFireLoss(-1000)
|
||||
adjustOxyLoss(-1000)
|
||||
adjustToxLoss(-1000)
|
||||
|
||||
if(kidnapped)
|
||||
if(ishuman(kidnapped) || isrobot(kidnapped))
|
||||
to_chat(src, "<span class='warning'>You devour [kidnapped]. Your health is fully restored.</span>")
|
||||
adjustBruteLoss(-1000)
|
||||
adjustFireLoss(-1000)
|
||||
adjustOxyLoss(-1000)
|
||||
adjustToxLoss(-1000)
|
||||
else
|
||||
to_chat(src, "<span class='warning'>You devour [kidnapped], but this measly meal barely sates your appetite!</span>")
|
||||
adjustBruteLoss(-25)
|
||||
adjustFireLoss(-25)
|
||||
if(istype(src, /mob/living/simple_animal/slaughter)) //rason, do not want humans to get this
|
||||
var/mob/living/simple_animal/slaughter/demon = src
|
||||
demon.devoured++
|
||||
|
||||
Reference in New Issue
Block a user