Replaces some var values with defines
This commit is contained in:
committed by
CitadelStationBot
parent
9986038318
commit
fd479e7128
@@ -19,7 +19,7 @@
|
||||
return
|
||||
|
||||
if(buckled)
|
||||
Feedstop(silent = 1) //releases ourselves from the mob we fed on.
|
||||
Feedstop(silent = TRUE) //releases ourselves from the mob we fed on.
|
||||
|
||||
stat = DEAD
|
||||
cut_overlays()
|
||||
|
||||
@@ -181,7 +181,7 @@
|
||||
var/mob/M = buckled
|
||||
|
||||
if(stat)
|
||||
Feedstop(silent = 1)
|
||||
Feedstop(silent = TRUE)
|
||||
|
||||
if(M.stat == DEAD) // our victim died
|
||||
if(!client)
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
else
|
||||
to_chat(src, "<span class='warning'><i>I have failed to latch onto the subject!</i></span>")
|
||||
|
||||
/mob/living/simple_animal/slime/proc/Feedstop(silent=0, living=1)
|
||||
/mob/living/simple_animal/slime/proc/Feedstop(silent = FALSE, living=1)
|
||||
if(buckled)
|
||||
if(!living)
|
||||
to_chat(src, "<span class='warning'>[pick("This subject is incompatible", \
|
||||
|
||||
@@ -242,7 +242,7 @@
|
||||
if(M == src)
|
||||
return
|
||||
if(buckled)
|
||||
Feedstop(silent=1)
|
||||
Feedstop(silent = TRUE)
|
||||
visible_message("<span class='danger'>[M] pulls [src] off!</span>")
|
||||
return
|
||||
attacked += 5
|
||||
@@ -400,7 +400,7 @@
|
||||
if(Target)
|
||||
Target = null
|
||||
if(buckled)
|
||||
Feedstop(silent=1) //we unbuckle the slime from the mob it latched onto.
|
||||
Feedstop(silent = TRUE) //we unbuckle the slime from the mob it latched onto.
|
||||
|
||||
SStun = world.time + rand(20,60)
|
||||
spawn(0)
|
||||
|
||||
Reference in New Issue
Block a user