mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 11:07:46 +01:00
Merge pull request #3825 from Neerti/9/12/2017_fire_unbugged
Makes Fire Hot Again
This commit is contained in:
@@ -85,10 +85,12 @@
|
||||
return src.damage / src.amount
|
||||
|
||||
proc/can_autoheal()
|
||||
if(is_treated())
|
||||
return TRUE
|
||||
if(src.wound_damage() <= autoheal_cutoff)
|
||||
return 1
|
||||
|
||||
return is_treated()
|
||||
if(created + 10 MINUTES > world.time) // Wounds don't autoheal for ten minutes if not bandaged.
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
// checks whether the wound has been appropriately treated
|
||||
proc/is_treated()
|
||||
|
||||
Reference in New Issue
Block a user