mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
Ports the radiation subsystem and cleans up damage flags. (#15715)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user