This commit is contained in:
DeltaFire
2021-12-14 23:06:42 +01:00
parent 924ed553b0
commit 0faac6dce6
17 changed files with 168 additions and 53 deletions
+4 -4
View File
@@ -136,11 +136,11 @@
if(!owner || . & EMP_PROTECT_SELF)
return
switch(severity)
if(1)
owner.nutrition = min(owner.nutrition - 50, 0)
if(1 to 50)
owner.nutrition = max(owner.nutrition - 50, 0)
to_chat(owner, "<span class='warning'>Alert: Detected severe battery discharge!</span>")
if(2)
owner.nutrition = min(owner.nutrition - 100, 0)
if(50 to INFINITY)
owner.nutrition = max(owner.nutrition - 100, 0)
to_chat(owner, "<span class='warning'>Alert: Minor battery discharge!</span>")
/obj/item/organ/stomach/ethereal