mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 04:32:42 +00:00
@@ -192,13 +192,16 @@
|
|||||||
if(!cleaning)
|
if(!cleaning)
|
||||||
var/confirm = alert(usr, "You are about to engage self-cleaning mode. This will fill your [src] with caustic enzymes to remove any objects or biomatter, and convert them into energy. Are you sure?", "Confirmation", "Self-Clean", "Cancel")
|
var/confirm = alert(usr, "You are about to engage self-cleaning mode. This will fill your [src] with caustic enzymes to remove any objects or biomatter, and convert them into energy. Are you sure?", "Confirmation", "Self-Clean", "Cancel")
|
||||||
if(confirm == "Self-Clean")
|
if(confirm == "Self-Clean")
|
||||||
cleaning = 1
|
if(cleaning)
|
||||||
drain(500)
|
return
|
||||||
processing_objects.Add(src)
|
else
|
||||||
sleeperUI(usr)
|
cleaning = 1
|
||||||
if(patient)
|
drain(500)
|
||||||
patient << "<span class='danger'>[hound.name]'s [src.name] fills with caustic enzymes around you!</span>"
|
processing_objects.Add(src)
|
||||||
return
|
sleeperUI(usr)
|
||||||
|
if(patient)
|
||||||
|
patient << "<span class='danger'>[hound.name]'s [src.name] fills with caustic enzymes around you!</span>"
|
||||||
|
return
|
||||||
if(cleaning)
|
if(cleaning)
|
||||||
sleeperUI(usr)
|
sleeperUI(usr)
|
||||||
return
|
return
|
||||||
@@ -431,4 +434,4 @@
|
|||||||
icon_state = "sleeper"
|
icon_state = "sleeper"
|
||||||
inject_amount = 10
|
inject_amount = 10
|
||||||
min_health = -100
|
min_health = -100
|
||||||
injection_chems = null //So they don't have all the same chems as the medihound!
|
injection_chems = null //So they don't have all the same chems as the medihound!
|
||||||
|
|||||||
Reference in New Issue
Block a user