Merge pull request #3825 from Neerti/9/12/2017_fire_unbugged

Makes Fire Hot Again
This commit is contained in:
Anewbe
2017-09-18 11:22:04 -05:00
committed by GitHub
12 changed files with 76 additions and 28 deletions
+5 -3
View File
@@ -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()