mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fix and comments
This commit is contained in:
@@ -32,20 +32,20 @@
|
||||
if(HP_percent >= 0.9)
|
||||
if(mode)
|
||||
nif.notify("User Status: NORMAL. Medichines deactivating.")
|
||||
H << 'sound/voice/nifmed_normal.ogg'
|
||||
H << 'sound/voice/nifmed_normal.ogg' //CHOMP Add
|
||||
deactivate()
|
||||
return TRUE
|
||||
else if(!mode && HP_percent < 0.8)
|
||||
nif.notify("User Status: INJURED. Commencing medichine routines.",TRUE)
|
||||
H << 'sound/voice/nifmed_injured.ogg'
|
||||
H << 'sound/voice/nifmed_injured.ogg' //CHOMP Add
|
||||
activate()
|
||||
else if(mode == 1 && HP_percent < 0.2)
|
||||
nif.notify("User Status: DANGER. Seek medical attention!",TRUE)
|
||||
H << 'sound/voice/nifmed_danger.ogg'
|
||||
H << 'sound/voice/nifmed_danger.ogg' //CHOMP Add
|
||||
mode = 2
|
||||
else if(mode == 2 && HP_percent < -0.4)
|
||||
nif.notify("User Status: CRITICAL. Notifying medical, and starting emergency stasis!",TRUE)
|
||||
H << 'sound/voice/nifmed_critical.ogg'
|
||||
H << 'sound/voice/nifmed_critical.ogg' //CHOMP Add
|
||||
mode = 3
|
||||
if(!isbelly(H.loc)) //Not notified in case of vore, for gameplay purposes.
|
||||
var/turf/T = get_turf(H)
|
||||
@@ -104,13 +104,13 @@
|
||||
if(!nif.human.bad_external_organs.len)
|
||||
if(mode || active)
|
||||
nif.notify("User Status: NORMAL. Medichines deactivating.")
|
||||
H << 'sound/voice/nifmedsynth_normal.ogg'
|
||||
W << 'sound/voice/nifmedsynth_normal.ogg' //CHOMP Add
|
||||
deactivate()
|
||||
return TRUE
|
||||
|
||||
if(!mode && !active)
|
||||
nif.notify("User Status: DAMAGED. Medichines performing minor repairs.",TRUE)
|
||||
H << 'sound/voice/nifmedsynth_injured.ogg'
|
||||
W << 'sound/voice/nifmedsynth_injured.ogg' //CHOMP Add
|
||||
activate()
|
||||
|
||||
for(var/eo in nif.human.bad_external_organs)
|
||||
|
||||
Reference in New Issue
Block a user