mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
Changes even more uses of stat comparisons to use the defines (#26154)
* First wave
* Second wave
* Last wave
* Apply suggestions from code review
Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
* We love signals in this household
* Revert "We love signals in this household"
This reverts commit 75fe8d46a3.
* Update code/game/machinery/camera/tracking.dm
Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
* Update code/game/machinery/camera/tracking.dm
Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
---------
Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
to_chat(src, "<span class='danger'>You're too far from [A] to disguise it as a bomb.</span>")
|
||||
return
|
||||
if(isobj(A) && can_plant(A))
|
||||
if(bomb_cooldown <= world.time && !stat)
|
||||
if(bomb_cooldown <= world.time && stat == CONSCIOUS)
|
||||
var/obj/item/guardian_bomb/B = new /obj/item/guardian_bomb(get_turf(A))
|
||||
add_attack_logs(src, A, "booby trapped (summoner: [summoner])")
|
||||
to_chat(src, "<span class='danger'>Success! Bomb on [A] armed!</span>")
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
if(toggle == HEALING)
|
||||
if(iscarbon(target))
|
||||
changeNext_move(1.5 SECONDS)
|
||||
if(heal_cooldown <= world.time && !stat)
|
||||
if(heal_cooldown <= world.time && stat == CONSCIOUS)
|
||||
var/mob/living/carbon/human/C = target
|
||||
C.adjustBruteLoss(-5, robotic=1)
|
||||
C.adjustFireLoss(-5, robotic=1)
|
||||
@@ -78,7 +78,7 @@
|
||||
if(!iscarbon(target))
|
||||
return
|
||||
var/mob/living/carbon/human/C = target
|
||||
if(surgical_cooldown <= world.time && !stat)
|
||||
if(surgical_cooldown <= world.time && stat == CONSCIOUS)
|
||||
to_chat(src, "<span class='notice'>You begin to do a mass repair on [C], keep them still!</span>")
|
||||
surgical_cooldown = world.time + 10 SECONDS
|
||||
if(!do_after_once(src, 10 SECONDS, target = src))
|
||||
|
||||
@@ -317,7 +317,7 @@
|
||||
|
||||
if("VICTIM")
|
||||
var/mob/living/carbon/human/T = target
|
||||
if(T.stat == 0)
|
||||
if(T.stat == CONSCIOUS)
|
||||
to_chat(user, "<span class='danger'>Capture failed!</span> Kill or maim the victim first!")
|
||||
else
|
||||
if(!length(T.client_mobs_in_contents))
|
||||
|
||||
Reference in New Issue
Block a user