yeet (#11699)
This commit is contained in:
@@ -79,15 +79,15 @@
|
|||||||
if(activated(O))
|
if(activated(O))
|
||||||
to_chat(src, "<span class='warning'>That module is already activated.</span>")
|
to_chat(src, "<span class='warning'>That module is already activated.</span>")
|
||||||
return
|
return
|
||||||
if(!held_items[1])
|
if(!held_items[1] && health >= -maxHealth*0.5)
|
||||||
held_items[1] = O
|
held_items[1] = O
|
||||||
O.screen_loc = inv1.screen_loc
|
O.screen_loc = inv1.screen_loc
|
||||||
. = TRUE
|
. = TRUE
|
||||||
else if(!held_items[2])
|
else if(!held_items[2] && health >= 0)
|
||||||
held_items[2] = O
|
held_items[2] = O
|
||||||
O.screen_loc = inv2.screen_loc
|
O.screen_loc = inv2.screen_loc
|
||||||
. = TRUE
|
. = TRUE
|
||||||
else if(!held_items[3])
|
else if(!held_items[3] && health >= maxHealth*0.5)
|
||||||
held_items[3] = O
|
held_items[3] = O
|
||||||
O.screen_loc = inv3.screen_loc
|
O.screen_loc = inv3.screen_loc
|
||||||
. = TRUE
|
. = TRUE
|
||||||
|
|||||||
Reference in New Issue
Block a user