Ports the radiation subsystem and cleans up damage flags. (#15715)

This commit is contained in:
Matt Atlas
2023-02-07 13:22:47 +01:00
committed by GitHub
parent 5527fc0810
commit 31c73ead85
198 changed files with 981 additions and 649 deletions
@@ -32,7 +32,7 @@
var/cooking // Whether or not the machine is currently operating.
var/cook_type // A string value used to track what kind of food this machine makes.
var/can_cook_mobs // Whether or not this machine accepts grabbed mobs.
var/mobdamagetype = BRUTE // Burn damage for cooking appliances, brute for cereal/candy
var/mobdamagetype = DAMAGE_BRUTE // Burn damage for cooking appliances, brute for cereal/candy
var/food_color // Colour of resulting food item.
var/cooked_sound = 'sound/machines/ding.ogg' // Sound played when cooking completes.
var/can_burn_food // Can the object burn food that is left inside?
@@ -11,7 +11,7 @@
var/light_x = 0
var/light_y = 0
mobdamagetype = BURN
mobdamagetype = DAMAGE_BURN
cooking_coeff = 0
cooking_power = 0
flags = null
@@ -180,7 +180,7 @@
E.take_damage(0, damage, used_weapon = "hot oil")
else
victim.apply_damage(damage, BURN, user.zone_sel.selecting)
victim.apply_damage(damage, DAMAGE_BURN, user.zone_sel.selecting)
if(!nopain)
var/arrows_var1 = E ? E.name : "flesh"