diff --git a/code/__DEFINES/misc.dm b/code/__DEFINES/misc.dm index 9db9065e4c4..d749306a952 100644 --- a/code/__DEFINES/misc.dm +++ b/code/__DEFINES/misc.dm @@ -302,4 +302,10 @@ var/list/bloody_footprints_cache = list() //Sentience types #define SENTIENCE_ORGANIC 1 #define SENTIENCE_ARTIFICIAL 2 -#define SENTIENCE_OTHER 3 \ No newline at end of file +#define SENTIENCE_OTHER 3 + +//Fire stuff, for burn_state +#define LAVA_PROOF -2 +#define FIRE_PROOF -1 +#define FLAMMABLE 0 +#define ON_FIRE 1 \ No newline at end of file diff --git a/code/controllers/subsystem/objects.dm b/code/controllers/subsystem/objects.dm index 376290a001d..1322ff90507 100644 --- a/code/controllers/subsystem/objects.dm +++ b/code/controllers/subsystem/objects.dm @@ -39,7 +39,7 @@ var/datum/subsystem/objects/SSobj continue SSobj.processing.Remove(thing) for(var/obj/burningobj in SSobj.burning) - if(burningobj && (burningobj.burn_state == 1)) + if(burningobj && (burningobj.burn_state == ON_FIRE)) if(burningobj.burn_world_time < world.time) burningobj.burn() else diff --git a/code/game/gamemodes/wizard/artefact.dm b/code/game/gamemodes/wizard/artefact.dm index e5ba5fd717b..e8a862d7aa4 100644 --- a/code/game/gamemodes/wizard/artefact.dm +++ b/code/game/gamemodes/wizard/artefact.dm @@ -495,7 +495,7 @@ var/global/list/multiverse = list() var/cooldown_time = 30 //3s var/cooldown = 0 burntime = 0 - burn_state = 0 + burn_state = FLAMMABLE /obj/item/voodoo/attackby(obj/item/I, mob/user, params) if(target && cooldown < world.time) diff --git a/code/game/machinery/syndicatebomb.dm b/code/game/machinery/syndicatebomb.dm index 27f2448de1a..6f6950527ab 100644 --- a/code/game/machinery/syndicatebomb.dm +++ b/code/game/machinery/syndicatebomb.dm @@ -182,7 +182,7 @@ item_state = "eshield0" w_class = 3 origin_tech = "syndicate=6;combat=5" - burn_state = 0 //Burnable (but the casing isn't) + burn_state = FLAMMABLE //Burnable (but the casing isn't) var/adminlog = null /obj/item/weapon/bombcore/ex_act(severity, target) //Little boom can chain a big boom diff --git a/code/game/objects/buckling.dm b/code/game/objects/buckling.dm index 0318b330dce..fbcd1930617 100644 --- a/code/game/objects/buckling.dm +++ b/code/game/objects/buckling.dm @@ -49,7 +49,7 @@ /obj/buckle_mob(mob/living/M, force = 0) . = ..() if(.) - if(burn_state == 1) //Sets the mob on fire if you buckle them to a burning atom/movableect + if(burn_state == FLAMMABLE) //Sets the mob on fire if you buckle them to a burning atom/movableect M.adjust_fire_stacks(1) M.IgniteMob() diff --git a/code/game/objects/effects/decals/contraband.dm b/code/game/objects/effects/decals/contraband.dm index 7abaad96649..673d7b6f9a8 100644 --- a/code/game/objects/effects/decals/contraband.dm +++ b/code/game/objects/effects/decals/contraband.dm @@ -103,7 +103,7 @@ list(name = "- Carbon Dioxide", desc = " This informational poster teaches the v desc = "You probably shouldn't be holding this." icon = 'icons/obj/contraband.dmi' force = 0 - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/serial_number = 0 var/obj/structure/sign/poster/resulting_poster = null //The poster that will be created is initialised and stored through contraband/poster's constructor var/official = 0 diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index a033392c4fc..1ae5814a236 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -205,7 +205,7 @@ var/global/image/fire_overlay = image("icon" = 'icons/effects/fire.dmi', "icon_s /obj/item/attack_hand(mob/user) if (!user) return - if(burn_state == 1) + if(burn_state == FLAMMABLE) var/mob/living/carbon/human/H = user if(istype(H)) if(H.gloves && (H.gloves.max_heat_protection_temperature > 360)) diff --git a/code/game/objects/items/devices/instruments.dm b/code/game/objects/items/devices/instruments.dm index e2dabff728c..2b6b13968af 100644 --- a/code/game/objects/items/devices/instruments.dm +++ b/code/game/objects/items/devices/instruments.dm @@ -1,7 +1,7 @@ //copy pasta of the space piano, don't hurt me -Pete /obj/item/device/instrument name = "generic instrument" - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 20 var/datum/song/handheld/song var/instrumentId = "generic" diff --git a/code/game/objects/items/devices/pizza_bomb.dm b/code/game/objects/items/devices/pizza_bomb.dm index ca3e7e4fd1f..166f529a105 100644 --- a/code/game/objects/items/devices/pizza_bomb.dm +++ b/code/game/objects/items/devices/pizza_bomb.dm @@ -4,7 +4,7 @@ icon = 'icons/obj/food/containers.dmi' icon_state = "pizzabox1" item_state = "pizzabox" - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/timer = 10 //Adjustable timer var/timer_set = 0 var/primed = 0 diff --git a/code/game/objects/items/stacks/cash.dm b/code/game/objects/items/stacks/cash.dm index 0bc3ee71dec..c7f51ee248e 100644 --- a/code/game/objects/items/stacks/cash.dm +++ b/code/game/objects/items/stacks/cash.dm @@ -10,7 +10,7 @@ throw_speed = 2 throw_range = 2 w_class = 1 - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/stack/spacecash/c10 icon_state = "spacecash10" diff --git a/code/game/objects/items/stacks/medical.dm b/code/game/objects/items/stacks/medical.dm index 9cc31d03fc2..8f3d63b0e57 100644 --- a/code/game/objects/items/stacks/medical.dm +++ b/code/game/objects/items/stacks/medical.dm @@ -7,7 +7,7 @@ w_class = 1 throw_speed = 3 throw_range = 7 - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 5 var/heal_brute = 0 var/heal_burn = 0 diff --git a/code/game/objects/items/stacks/sheets/mineral.dm b/code/game/objects/items/stacks/sheets/mineral.dm index 568dafb9b34..0a3a9dcbdd9 100644 --- a/code/game/objects/items/stacks/sheets/mineral.dm +++ b/code/game/objects/items/stacks/sheets/mineral.dm @@ -118,7 +118,7 @@ var/global/list/datum/stack_recipe/uranium_recipes = list ( \ throw_range = 3 origin_tech = "plasmatech=2;materials=2" sheettype = "plasma" - burn_state = 0 + burn_state = FLAMMABLE burntime = 5 materials = list(MAT_PLASMA=MINERAL_MATERIAL_AMOUNT) diff --git a/code/game/objects/items/stacks/sheets/sheet_types.dm b/code/game/objects/items/stacks/sheets/sheet_types.dm index 62626a4341b..a8d2dc4a249 100644 --- a/code/game/objects/items/stacks/sheets/sheet_types.dm +++ b/code/game/objects/items/stacks/sheets/sheet_types.dm @@ -115,7 +115,7 @@ var/global/list/datum/stack_recipe/wood_recipes = list ( \ icon = 'icons/obj/items.dmi' origin_tech = "materials=1;biotech=1" sheettype = "wood" - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/stack/sheet/mineral/wood/New(var/loc, var/amount=null) recipes = wood_recipes @@ -130,7 +130,7 @@ var/global/list/datum/stack_recipe/wood_recipes = list ( \ singular_name = "cloth roll" icon_state = "sheet-cloth" origin_tech = "materials=2" - burn_state = 0 //Burnable + burn_state = FLAMMABLE /* * Cardboard @@ -153,7 +153,7 @@ var/global/list/datum/stack_recipe/cardboard_recipes = list ( \ singular_name = "cardboard sheet" icon_state = "sheet-card" origin_tech = "materials=1" - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/stack/sheet/cardboard/New(var/loc, var/amount=null) recipes = cardboard_recipes diff --git a/code/game/objects/items/stacks/tiles/tile_types.dm b/code/game/objects/items/stacks/tiles/tile_types.dm index f45cf2f40c6..050eb3ed596 100644 --- a/code/game/objects/items/stacks/tiles/tile_types.dm +++ b/code/game/objects/items/stacks/tiles/tile_types.dm @@ -70,7 +70,7 @@ icon_state = "tile_grass" origin_tech = "biotech=1" turf_type = /turf/simulated/floor/grass - burn_state = 0 //Burnable + burn_state = FLAMMABLE //Wood @@ -81,7 +81,7 @@ icon_state = "tile-wood" origin_tech = "biotech=1" turf_type = /turf/simulated/floor/wood - burn_state = 0 //Burnable + burn_state = FLAMMABLE //Carpets @@ -91,7 +91,7 @@ desc = "A piece of carpet. It is the same size as a floor tile." icon_state = "tile-carpet" turf_type = /turf/simulated/floor/carpet - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/stack/tile/fakespace @@ -100,7 +100,7 @@ desc = "A piece of carpet with a convincing star pattern." icon_state = "tile_space" turf_type = /turf/simulated/floor/fakespace - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/stack/tile/fakespace/loaded amount = 30 diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index 8dc5e5d4a63..fcd96f4fbf7 100755 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -270,7 +270,7 @@ item_state = "arm_blade" attack_verb = list("pricked", "absorbed", "gored") w_class = 2 - burn_state = 0 //Burnable + burn_state = FLAMMABLE /* @@ -709,7 +709,7 @@ /obj/item/toy/cards - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 5 var/parentdeck = null var/deckstyle = "nanotrasen" @@ -953,8 +953,8 @@ newobj.card_throw_speed = sourceobj.card_throw_speed newobj.card_throw_range = sourceobj.card_throw_range newobj.card_attack_verb = sourceobj.card_attack_verb - if(sourceobj.burn_state == -1) - newobj.burn_state = -1 + if(sourceobj.burn_state == FIRE_PROOF) + newobj.burn_state = FIRE_PROOF /obj/item/toy/cards/singlecard name = "card" @@ -1070,7 +1070,7 @@ card_throw_speed = 3 card_throw_range = 7 card_attack_verb = list("attacked", "sliced", "diced", "slashed", "cut") - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /* * Fake nuke @@ -1130,7 +1130,7 @@ item_state = "carp_plushie" w_class = 2 attack_verb = list("bitten", "eaten", "fin slapped") - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/bitesound = 'sound/weapons/bite.ogg' //Attack mob @@ -1220,7 +1220,7 @@ icon_state = "toy_mouse" w_class = 2.0 var/cooldown = 0 - burn_state = 0 // Burnable + burn_state = FLAMMABLE /* diff --git a/code/game/objects/items/trash.dm b/code/game/objects/items/trash.dm index 835fd792cb0..e74ac78c8d8 100644 --- a/code/game/objects/items/trash.dm +++ b/code/game/objects/items/trash.dm @@ -3,7 +3,7 @@ icon = 'icons/obj/janitor.dmi' desc = "This is rubbish." w_class = 1 - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/trash/raisins name = "\improper 4no raisins" @@ -40,7 +40,7 @@ /obj/item/trash/plate name = "plate" icon_state = "plate" - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/trash/pistachios name = "pistachios pack" @@ -53,7 +53,7 @@ /obj/item/trash/tray name = "tray" icon_state = "tray" - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/trash/candle name = "candle" @@ -63,7 +63,6 @@ /obj/item/trash/can name = "crushed can" icon_state = "cola" - burn_state = -1 //Not Burnable - + burn_state = FIRE_PROOF /obj/item/trash/attack(mob/M, mob/living/user) return \ No newline at end of file diff --git a/code/game/objects/items/weapons/courtroom.dm b/code/game/objects/items/weapons/courtroom.dm index 1e670b2461f..38cb97fc2ac 100644 --- a/code/game/objects/items/weapons/courtroom.dm +++ b/code/game/objects/items/weapons/courtroom.dm @@ -11,7 +11,7 @@ throwforce = 6 w_class = 2 attack_verb = list("bashed", "battered", "judged", "whacked") - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/weapon/gavelhammer/suicide_act(mob/user) user.visible_message("[user] has sentenced \himself to death with the [src.name]! It looks like \he's trying to commit suicide.") @@ -26,7 +26,7 @@ force = 2 throwforce = 2 w_class = 1 - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/weapon/gavelblock/attackby(obj/item/I, mob/user, params) if(istype(I, /obj/item/weapon/gavelhammer)) diff --git a/code/game/objects/items/weapons/gift_wrappaper.dm b/code/game/objects/items/weapons/gift_wrappaper.dm index 16e80ce1350..793948a60ff 100644 --- a/code/game/objects/items/weapons/gift_wrappaper.dm +++ b/code/game/objects/items/weapons/gift_wrappaper.dm @@ -13,7 +13,7 @@ icon = 'icons/obj/storage.dmi' icon_state = "giftcrate3" item_state = "gift1" - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/weapon/a_gift/New() ..() @@ -88,7 +88,7 @@ flags = NOBLUDGEON amount = 25 max_amount = 25 - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/stack/wrapping_paper/attack_self(mob/user) user << "You need to use it on a package that has already been wrapped!" diff --git a/code/game/objects/items/weapons/grenades/grenade.dm b/code/game/objects/items/weapons/grenades/grenade.dm index 8f2d272509f..3566a4a7de1 100644 --- a/code/game/objects/items/weapons/grenades/grenade.dm +++ b/code/game/objects/items/weapons/grenades/grenade.dm @@ -9,7 +9,7 @@ throw_range = 7 flags = CONDUCT slot_flags = SLOT_BELT - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 5 var/active = 0 var/det_time = 50 diff --git a/code/game/objects/items/weapons/mop.dm b/code/game/objects/items/weapons/mop.dm index d1399105c14..851fe45d6f8 100644 --- a/code/game/objects/items/weapons/mop.dm +++ b/code/game/objects/items/weapons/mop.dm @@ -11,7 +11,7 @@ throw_range = 7 w_class = 3 attack_verb = list("mopped", "bashed", "bludgeoned", "whacked") - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/mopping = 0 var/mopcount = 0 var/mopcap = 5 diff --git a/code/game/objects/items/weapons/paint.dm b/code/game/objects/items/weapons/paint.dm index 7c4972dcefb..3a5c2a50267 100644 --- a/code/game/objects/items/weapons/paint.dm +++ b/code/game/objects/items/weapons/paint.dm @@ -10,7 +10,7 @@ item_color = "FFFFFF" item_state = "paintcan" w_class = 3 - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 5 var/paintleft = 10 diff --git a/code/game/objects/items/weapons/scrolls.dm b/code/game/objects/items/weapons/scrolls.dm index 07cd251c829..4476e7836e7 100644 --- a/code/game/objects/items/weapons/scrolls.dm +++ b/code/game/objects/items/weapons/scrolls.dm @@ -9,7 +9,7 @@ throw_speed = 3 throw_range = 7 origin_tech = "bluespace=4" - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/weapon/teleportation_scroll/apprentice name = "lesser scroll of teleportation" diff --git a/code/game/objects/items/weapons/signs.dm b/code/game/objects/items/weapons/signs.dm index 0c55814a6b7..925368f0074 100644 --- a/code/game/objects/items/weapons/signs.dm +++ b/code/game/objects/items/weapons/signs.dm @@ -5,7 +5,7 @@ force = 5 w_class = 4 attack_verb = list("bashed","smacked") - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/label = "" var/last_wave = 0 diff --git a/code/game/objects/items/weapons/storage/backpack.dm b/code/game/objects/items/weapons/storage/backpack.dm index 7c508952c58..091d49a36ea 100644 --- a/code/game/objects/items/weapons/storage/backpack.dm +++ b/code/game/objects/items/weapons/storage/backpack.dm @@ -19,7 +19,7 @@ max_w_class = 3 max_combined_w_class = 21 storage_slots = 21 - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 20 /obj/item/weapon/storage/backpack/attackby(obj/item/weapon/W, mob/user, params) @@ -37,7 +37,7 @@ icon_state = "holdingpack" max_w_class = 5 max_combined_w_class = 35 - burn_state = -1 // NotBurnable + burn_state = FIRE_PROOF var/pshoom = 'sound/items/PSHOOM.ogg' var/alt_sound = 'sound/items/PSHOOM_2.ogg' @@ -148,14 +148,14 @@ desc = "It's a special backpack made exclusively for Nanotrasen officers." icon_state = "captainpack" item_state = "captainpack" - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/weapon/storage/backpack/industrial name = "industrial backpack" desc = "It's a tough backpack for the daily grind of station life." icon_state = "engiepack" item_state = "engiepack" - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/weapon/storage/backpack/botany name = "botany backpack" @@ -180,7 +180,7 @@ desc = "A specially designed backpack. It's fire resistant and smells vaguely of plasma." icon_state = "toxpack" item_state = "toxpack" - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/weapon/storage/backpack/virology name = "virology backpack" @@ -197,7 +197,7 @@ name = "leather satchel" desc = "It's a very fancy satchel made with fine leather." icon_state = "satchel" - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/weapon/storage/backpack/satchel/withwallet/New() ..() @@ -213,7 +213,7 @@ desc = "A tough satchel with extra pockets." icon_state = "satchel-eng" item_state = "engiepack" - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/weapon/storage/backpack/satchel_med name = "medical satchel" @@ -244,7 +244,7 @@ desc = "Useful for holding research materials." icon_state = "satchel-tox" item_state = "satchel-tox" - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/weapon/storage/backpack/satchel_hyd name = "botanist satchel" @@ -263,7 +263,7 @@ desc = "An exclusive satchel for Nanotrasen officers." icon_state = "satchel-cap" item_state = "captainpack" - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/weapon/storage/backpack/satchel_flat name = "smuggler's satchel" @@ -361,7 +361,7 @@ desc = "A large dufflebag for holding extra captainly goods." icon_state = "duffle-captain" item_state = "duffle-captain" - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/weapon/storage/backpack/dufflebag/med name = "medical dufflebag" @@ -380,7 +380,7 @@ desc = "A large dufflebag for holding extra tools and supplies." icon_state = "duffle-eng" item_state = "duffle-eng" - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/weapon/storage/backpack/dufflebag/clown name = "clown's dufflebag" diff --git a/code/game/objects/items/weapons/storage/bags.dm b/code/game/objects/items/weapons/storage/bags.dm index dd36b1223dd..876a2816209 100644 --- a/code/game/objects/items/weapons/storage/bags.dm +++ b/code/game/objects/items/weapons/storage/bags.dm @@ -111,7 +111,7 @@ max_w_class = 3 w_class = 1 can_hold = list(/obj/item/weapon/reagent_containers/food/snacks/grown,/obj/item/seeds,/obj/item/weapon/grown) - burn_state = 0 //Burnable + burn_state = FLAMMABLE //////// @@ -289,7 +289,7 @@ max_w_class = 3 w_class = 4 //Bigger than a book because physics can_hold = list(/obj/item/weapon/book, /obj/item/weapon/storage/book, /obj/item/weapon/spellbook) - burn_state = 0 //Burnable + burn_state = FLAMMABLE /* * Trays - Agouri @@ -359,7 +359,7 @@ w_class = 1 preposition = "in" can_hold = list(/obj/item/weapon/reagent_containers/pill, /obj/item/weapon/reagent_containers/glass/beaker, /obj/item/weapon/reagent_containers/glass/bottle) - burn_state = 0 //Burnable + burn_state = FLAMMABLE /* * Biowaste bag (mostly for xenobiologists) @@ -375,4 +375,4 @@ w_class = 1 preposition = "in" can_hold = list(/obj/item/slime_extract, /obj/item/weapon/reagent_containers/syringe, /obj/item/weapon/reagent_containers/glass/beaker, /obj/item/weapon/reagent_containers/glass/bottle, /obj/item/weapon/reagent_containers/blood, /obj/item/weapon/reagent_containers/hypospray/medipen, /obj/item/trash/deadmouse) - burn_state = 0 //Burnable \ No newline at end of file + burn_state = FLAMMABLE \ No newline at end of file diff --git a/code/game/objects/items/weapons/storage/book.dm b/code/game/objects/items/weapons/storage/book.dm index e1b957259e4..d3f66253707 100644 --- a/code/game/objects/items/weapons/storage/book.dm +++ b/code/game/objects/items/weapons/storage/book.dm @@ -6,7 +6,7 @@ throw_speed = 2 throw_range = 5 w_class = 3 - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/title = "book" /obj/item/weapon/storage/book/attack_self(mob/user) user << "The pages of [title] have been cut out!" diff --git a/code/game/objects/items/weapons/storage/boxes.dm b/code/game/objects/items/weapons/storage/boxes.dm index bc4fe33ef99..c08715a561e 100644 --- a/code/game/objects/items/weapons/storage/boxes.dm +++ b/code/game/objects/items/weapons/storage/boxes.dm @@ -24,7 +24,7 @@ desc = "It's just an ordinary box." icon_state = "box" item_state = "syringe_kit" - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/foldable = /obj/item/stack/sheet/cardboard diff --git a/code/game/objects/items/weapons/storage/briefcase.dm b/code/game/objects/items/weapons/storage/briefcase.dm index 788c5bd7eb2..063eaca98f6 100644 --- a/code/game/objects/items/weapons/storage/briefcase.dm +++ b/code/game/objects/items/weapons/storage/briefcase.dm @@ -11,7 +11,7 @@ max_w_class = 3 max_combined_w_class = 21 attack_verb = list("bashed", "battered", "bludgeoned", "thrashed", "whacked") - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 20 /obj/item/weapon/storage/briefcase/New() diff --git a/code/game/objects/items/weapons/storage/fancy.dm b/code/game/objects/items/weapons/storage/fancy.dm index 667e7164261..b85ad5b5f54 100644 --- a/code/game/objects/items/weapons/storage/fancy.dm +++ b/code/game/objects/items/weapons/storage/fancy.dm @@ -17,7 +17,7 @@ icon = 'icons/obj/food/containers.dmi' icon_state = "donutbox6" name = "donut box" - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/icon_type = "donut" var/spawn_type = null diff --git a/code/game/objects/items/weapons/storage/wallets.dm b/code/game/objects/items/weapons/storage/wallets.dm index c7da0007656..5764db67422 100644 --- a/code/game/objects/items/weapons/storage/wallets.dm +++ b/code/game/objects/items/weapons/storage/wallets.dm @@ -4,7 +4,7 @@ storage_slots = 4 icon_state = "wallet" w_class = 2 - burn_state = 0 //Burnable + burn_state = FLAMMABLE can_hold = list( /obj/item/stack/spacecash, /obj/item/weapon/card, @@ -79,7 +79,7 @@ return front_id /obj/item/weapon/storage/wallet/GetAccess() - if(combined_access.len) + if(combined_access.len) return combined_access else return ..() diff --git a/code/game/objects/items/weapons/weaponry.dm b/code/game/objects/items/weapons/weaponry.dm index fabbc08c23a..2552bad79c8 100644 --- a/code/game/objects/items/weapons/weaponry.dm +++ b/code/game/objects/items/weapons/weaponry.dm @@ -240,14 +240,14 @@ w_class = 2 flags = NOSHIELD attack_verb = list("bludgeoned", "whacked", "disciplined") - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/weapon/staff/broom name = "broom" desc = "Used for sweeping, and flying into the night while cackling. Black cat not included." icon = 'icons/obj/wizard.dmi' icon_state = "broom" - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/weapon/staff/stick name = "stick" diff --git a/code/game/objects/objs.dm b/code/game/objects/objs.dm index 0ba86b0735f..04c6e5d0bb7 100644 --- a/code/game/objects/objs.dm +++ b/code/game/objects/objs.dm @@ -9,7 +9,7 @@ var/damtype = "brute" var/force = 0 - var/burn_state = -1 // -1=fireproof | 0=will burn in fires | 1=currently on fire + var/burn_state = FIRE_PROOF // LAVA_PROOF | FIRE_PROOF | FLAMMABLE | ON_FIRE var/burntime = 10 //How long it takes to burn to ashes, in seconds var/burn_world_time //What world time the object will burn up completely @@ -165,7 +165,7 @@ /obj/fire_act(global_overlay=1) if(!burn_state) - burn_state = 1 + burn_state = ON_FIRE SSobj.burning += src burn_world_time = world.time + burntime*rand(10,20) if(global_overlay) @@ -180,8 +180,8 @@ qdel(src) /obj/proc/extinguish() - if(burn_state == 1) - burn_state = 0 + if(burn_state == ON_FIRE) + burn_state = FLAMMABLE overlays -= fire_overlay SSobj.burning -= src diff --git a/code/game/objects/structures/artstuff.dm b/code/game/objects/structures/artstuff.dm index 101373a4ee0..baa3f7c230d 100644 --- a/code/game/objects/structures/artstuff.dm +++ b/code/game/objects/structures/artstuff.dm @@ -9,7 +9,7 @@ icon = 'icons/obj/artstuff.dmi' icon_state = "easel" density = 1 - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 15 var/obj/item/weapon/canvas/painting = null @@ -52,7 +52,7 @@ var/global/list/globalBlankCanvases[AMT_OF_CANVASES] desc = "draw out your soul on this canvas!" icon = 'icons/obj/artstuff.dmi' icon_state = "11x11" - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/whichGlobalBackup = 1 //List index /obj/item/weapon/canvas/nineteenXnineteen diff --git a/code/game/objects/structures/beds_chairs/bed.dm b/code/game/objects/structures/beds_chairs/bed.dm index b0531d147fa..712d76482a4 100644 --- a/code/game/objects/structures/beds_chairs/bed.dm +++ b/code/game/objects/structures/beds_chairs/bed.dm @@ -15,7 +15,7 @@ anchored = 1 can_buckle = 1 buckle_lying = 1 - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 30 var/buildstacktype = /obj/item/stack/sheet/metal var/buildstackamount = 2 @@ -86,7 +86,7 @@ icon = 'icons/obj/rollerbed.dmi' icon_state = "down" anchored = 0 - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF foldabletype = /obj/item/roller /obj/structure/bed/roller/post_buckle_mob(mob/living/M) diff --git a/code/game/objects/structures/beds_chairs/chair.dm b/code/game/objects/structures/beds_chairs/chair.dm index c6c7f169a30..1b1799e4719 100644 --- a/code/game/objects/structures/beds_chairs/chair.dm +++ b/code/game/objects/structures/beds_chairs/chair.dm @@ -3,7 +3,7 @@ desc = "You sit in this. Either by will or force.\nAlt-click to rotate it clockwise." icon_state = "chair" buckle_lying = 0 //you sit in a chair, not lay - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF buildstackamount = 1 /obj/structure/bed/chair/New() @@ -85,7 +85,7 @@ // Chair types /obj/structure/bed/chair/wood - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 20 buildstacktype = /obj/item/stack/sheet/mineral/wood buildstackamount = 3 @@ -105,7 +105,7 @@ desc = "It looks comfy.\nAlt-click to rotate it clockwise." icon_state = "comfychair" color = rgb(255,255,255) - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 30 buildstackamount = 2 var/image/armrest = null diff --git a/code/game/objects/structures/bedsheet_bin.dm b/code/game/objects/structures/bedsheet_bin.dm index cdee1cbbac5..7fbc76d9413 100644 --- a/code/game/objects/structures/bedsheet_bin.dm +++ b/code/game/objects/structures/bedsheet_bin.dm @@ -17,7 +17,7 @@ LINEN BINS throw_range = 2 w_class = 1 item_color = "white" - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/weapon/bedsheet/attack(mob/living/M, mob/user) @@ -175,7 +175,7 @@ LINEN BINS icon = 'icons/obj/structures.dmi' icon_state = "linenbin-full" anchored = 1 - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 20 var/amount = 10 var/list/sheets = list() diff --git a/code/game/objects/structures/crates_lockers/closets/cardboardbox.dm b/code/game/objects/structures/crates_lockers/closets/cardboardbox.dm index 325604ae9c9..bced5d826bd 100644 --- a/code/game/objects/structures/crates_lockers/closets/cardboardbox.dm +++ b/code/game/objects/structures/crates_lockers/closets/cardboardbox.dm @@ -4,7 +4,7 @@ icon_state = "cardboard" health = 10 mob_storage_capacity = 1 - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 20 can_weld_shut = 0 cutting_tool = /obj/item/weapon/wirecutters diff --git a/code/game/objects/structures/crates_lockers/closets/gimmick.dm b/code/game/objects/structures/crates_lockers/closets/gimmick.dm index a0d01834972..1b5cdee6d7e 100644 --- a/code/game/objects/structures/crates_lockers/closets/gimmick.dm +++ b/code/game/objects/structures/crates_lockers/closets/gimmick.dm @@ -2,7 +2,7 @@ name = "cabinet" desc = "Old will forever be in fashion." icon_state = "cabinet" - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 20 /obj/structure/closet/acloset diff --git a/code/game/objects/structures/crates_lockers/closets/job_closets.dm b/code/game/objects/structures/crates_lockers/closets/job_closets.dm index d057fdf219c..0f2d6345066 100644 --- a/code/game/objects/structures/crates_lockers/closets/job_closets.dm +++ b/code/game/objects/structures/crates_lockers/closets/job_closets.dm @@ -117,7 +117,7 @@ name = "coffin" desc = "It's a burial receptacle for the dearly departed." icon_state = "coffin" - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 20 /obj/structure/closet/wardrobe/red diff --git a/code/game/objects/structures/crates_lockers/closets/secure/bar.dm b/code/game/objects/structures/crates_lockers/closets/secure/bar.dm index e7c46ced1ce..7d04a6bfee6 100644 --- a/code/game/objects/structures/crates_lockers/closets/secure/bar.dm +++ b/code/game/objects/structures/crates_lockers/closets/secure/bar.dm @@ -2,7 +2,7 @@ name = "booze storage" req_access = list(access_bar) icon_state = "cabinet" - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 20 /obj/structure/closet/secure_closet/bar/New() diff --git a/code/game/objects/structures/crates_lockers/closets/secure/personal.dm b/code/game/objects/structures/crates_lockers/closets/secure/personal.dm index 1d6d2d57629..7f9a39b89b3 100644 --- a/code/game/objects/structures/crates_lockers/closets/secure/personal.dm +++ b/code/game/objects/structures/crates_lockers/closets/secure/personal.dm @@ -25,7 +25,7 @@ /obj/structure/closet/secure_closet/personal/cabinet icon_state = "cabinet" - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 20 /obj/structure/closet/secure_closet/personal/cabinet/New() diff --git a/code/game/objects/structures/crates_lockers/closets/secure/security.dm b/code/game/objects/structures/crates_lockers/closets/secure/security.dm index ccf0e7f885c..0b7fd27cc66 100644 --- a/code/game/objects/structures/crates_lockers/closets/secure/security.dm +++ b/code/game/objects/structures/crates_lockers/closets/secure/security.dm @@ -155,7 +155,7 @@ name = "\proper detective's cabinet" req_access = list(access_forensics_lockers) icon_state = "cabinet" - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 20 /obj/structure/closet/secure_closet/detective/New() diff --git a/code/game/objects/structures/flora.dm b/code/game/objects/structures/flora.dm index f2a83e01012..b1bb09d9fe1 100644 --- a/code/game/objects/structures/flora.dm +++ b/code/game/objects/structures/flora.dm @@ -1,5 +1,5 @@ /obj/structure/flora - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 30 //trees @@ -221,7 +221,7 @@ icon_state = "rock1" icon = 'icons/obj/flora/rocks.dmi' anchored = 1 - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/structure/flora/rock/New() ..() diff --git a/code/game/objects/structures/mineral_doors.dm b/code/game/objects/structures/mineral_doors.dm index 80ffa5b41c3..c240dda25af 100644 --- a/code/game/objects/structures/mineral_doors.dm +++ b/code/game/objects/structures/mineral_doors.dm @@ -242,7 +242,7 @@ hardness = 1 openSound = 'sound/effects/doorcreaky.ogg' closeSound = 'sound/effects/doorcreaky.ogg' - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 30 /obj/structure/mineral_door/wood/Dismantle(devastated = 0) diff --git a/code/game/objects/structures/signs.dm b/code/game/objects/structures/signs.dm index ae64e41c6a9..aec8fe7361d 100644 --- a/code/game/objects/structures/signs.dm +++ b/code/game/objects/structures/signs.dm @@ -73,7 +73,7 @@ icon = 'icons/obj/decals.dmi' icon_state = "backing" w_class = 3 - burn_state = 0 //Burnable, made of wood + burn_state = FLAMMABLE /obj/item/sign_backing/afterattack(atom/target, mob/user, proximity) if(!isturf(target)) diff --git a/code/game/objects/structures/table_frames.dm b/code/game/objects/structures/table_frames.dm index c05d1251165..06f733f4651 100644 --- a/code/game/objects/structures/table_frames.dm +++ b/code/game/objects/structures/table_frames.dm @@ -86,7 +86,7 @@ icon_state = "wood_frame" framestack = /obj/item/stack/sheet/mineral/wood framestackamount = 2 - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/structure/table_frame/wood/attackby(obj/item/I, mob/user, params) if(istype(I, /obj/item/weapon/wrench)) diff --git a/code/game/objects/structures/tables_racks.dm b/code/game/objects/structures/tables_racks.dm index 00e68d88d95..1bff662f0a3 100644 --- a/code/game/objects/structures/tables_racks.dm +++ b/code/game/objects/structures/tables_racks.dm @@ -309,7 +309,7 @@ frame = /obj/structure/table_frame/wood framestack = /obj/item/stack/sheet/mineral/wood buildstack = /obj/item/stack/sheet/mineral/wood - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 20 canSmoothWith = list(/obj/structure/table/wood, /obj/structure/table/wood/poker) diff --git a/code/game/turfs/simulated/floor/plating.dm b/code/game/turfs/simulated/floor/plating.dm index 0465b15341e..215a52c08bd 100644 --- a/code/game/turfs/simulated/floor/plating.dm +++ b/code/game/turfs/simulated/floor/plating.dm @@ -208,8 +208,8 @@ if(istype(O, /obj/effect/decal/cleanable/ash)) //So we don't get stuck burning the same ash pile forever qdel(O) return - if(O.burn_state == -1) - O.burn_state = 0 //Even fireproof things burn up in lava + if(O.burn_state == FIRE_PROOF) + O.burn_state = FLAMMABLE //Even fireproof things burn up in lava O.fire_act() else if (istype(AM, /mob/living)) var/mob/living/L = AM diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 3504afd1c98..8ba8962b452 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -1,6 +1,6 @@ /obj/item/clothing name = "clothing" - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/flash_protect = 0 //Malk: What level of bright light protection item has. 1 = Flashers, Flashes, & Flashbangs | 2 = Welding | -1 = OH GOD WELDING BURNT OUT MY RETINAS var/tint = 0 //Malk: Sets the item's level of visual impairment tint, normally set to the same as flash_protect var/up = 0 // but seperated to allow items to protect but not impair vision, like space helmets @@ -25,7 +25,7 @@ w_class = 1 throwforce = 0 slot_flags = SLOT_EARS - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/clothing/ears/earmuffs name = "earmuffs" @@ -35,7 +35,7 @@ flags = EARBANGPROTECT strip_delay = 15 put_on_delay = 25 - burn_state = 0 //Burnable + burn_state = FLAMMABLE //Glasses /obj/item/clothing/glasses @@ -52,7 +52,7 @@ var/list/icon/current = list() //the current hud icons strip_delay = 20 put_on_delay = 25 - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /* SEE_SELF // can see self, no matter what SEE_MOBS // can see all mobs, no matter what @@ -240,7 +240,7 @@ BLIND // can't see anything strip_delay = 50 put_on_delay = 50 flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/clothing/suit/space name = "space suit" @@ -262,7 +262,7 @@ BLIND // can't see anything max_heat_protection_temperature = SPACE_SUIT_MAX_TEMP_PROTECT strip_delay = 80 put_on_delay = 80 - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF //Under clothing diff --git a/code/modules/clothing/gloves/color.dm b/code/modules/clothing/gloves/color.dm index ced08b92025..8802473baee 100644 --- a/code/modules/clothing/gloves/color.dm +++ b/code/modules/clothing/gloves/color.dm @@ -6,7 +6,7 @@ siemens_coefficient = 0 permeability_coefficient = 0.05 item_color="yellow" - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/gloves/color/yellow/fake desc = "These gloves will protect the wearer from electric shock. They don't feel like rubber..." @@ -20,7 +20,7 @@ siemens_coefficient = 1 //Set to a default of 1, gets overridden in New() permeability_coefficient = 0.05 item_color="yellow" - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/gloves/color/fyellow/New() siemens_coefficient = pick(0,0.5,0.5,0.5,0.5,0.75,1.5) @@ -35,7 +35,7 @@ min_cold_protection_temperature = GLOVES_MIN_TEMP_PROTECT heat_protection = HANDS max_heat_protection_temperature = GLOVES_MAX_TEMP_PROTECT - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/gloves/color/black/hos item_color = "hosred" //Exists for washing machines. Is not different from black gloves in any way. @@ -71,7 +71,7 @@ desc = "These gloves will protect the wearer from electric shock." siemens_coefficient = 0 permeability_coefficient = 0.05 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/gloves/color/rainbow name = "rainbow gloves" @@ -157,7 +157,7 @@ permeability_coefficient = 0.01 item_color="white" transfer_prints = TRUE - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/gloves/color/latex/nitrile name = "nitrile gloves" diff --git a/code/modules/clothing/gloves/miscellaneous.dm b/code/modules/clothing/gloves/miscellaneous.dm index 257394e13ce..894c8b8d3ae 100644 --- a/code/modules/clothing/gloves/miscellaneous.dm +++ b/code/modules/clothing/gloves/miscellaneous.dm @@ -21,7 +21,7 @@ min_cold_protection_temperature = GLOVES_MIN_TEMP_PROTECT heat_protection = HANDS max_heat_protection_temperature = GLOVES_MAX_TEMP_PROTECT - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/clothing/gloves/combat name = "combat gloves" @@ -35,4 +35,4 @@ min_cold_protection_temperature = GLOVES_MIN_TEMP_PROTECT heat_protection = HANDS max_heat_protection_temperature = GLOVES_MAX_TEMP_PROTECT - burn_state = -1 //Won't burn in fires \ No newline at end of file + burn_state = FIRE_PROOF \ No newline at end of file diff --git a/code/modules/clothing/head/collectable.dm b/code/modules/clothing/head/collectable.dm index 7dad46544c3..3ba86cf5ad4 100644 --- a/code/modules/clothing/head/collectable.dm +++ b/code/modules/clothing/head/collectable.dm @@ -58,7 +58,7 @@ desc = "A collectable welding helmet. Now with 80% less lead! Not for actual welding. Any welding done while wearing this helmet is done so at the owner's own risk!" icon_state = "welding" item_state = "welding" - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/head/collectable/slime name = "collectable slime hat" @@ -111,11 +111,11 @@ desc = "Go Red! I mean Green! I mean Red! No Green!" icon_state = "thunderdome" item_state = "thunderdome" - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/head/collectable/swat name = "collectable SWAT helmet" desc = "That's not real blood. That's red paint." //Reference to the actual description icon_state = "swat" item_state = "swat" - burn_state = -1 //Won't burn in fires \ No newline at end of file + burn_state = FIRE_PROOF \ No newline at end of file diff --git a/code/modules/clothing/head/hardhat.dm b/code/modules/clothing/head/hardhat.dm index f6cf900097e..be720c2ed8f 100644 --- a/code/modules/clothing/head/hardhat.dm +++ b/code/modules/clothing/head/hardhat.dm @@ -9,7 +9,7 @@ armor = list(melee = 15, bullet = 5, laser = 20,energy = 10, bomb = 20, bio = 10, rad = 20) flags_inv = 0 action_button_name = "Toggle Helmet Light" - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/head/hardhat/attack_self(mob/user) if(!isturf(user.loc)) diff --git a/code/modules/clothing/head/helmet.dm b/code/modules/clothing/head/helmet.dm index c5bf39f2cf8..02b02d4317b 100644 --- a/code/modules/clothing/head/helmet.dm +++ b/code/modules/clothing/head/helmet.dm @@ -11,7 +11,7 @@ heat_protection = HEAD max_heat_protection_temperature = HELMET_MAX_TEMP_PROTECT strip_delay = 60 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF flags_cover = HEADCOVERSEYES diff --git a/code/modules/clothing/head/misc.dm b/code/modules/clothing/head/misc.dm index c733bde4e74..9e228e9befe 100644 --- a/code/modules/clothing/head/misc.dm +++ b/code/modules/clothing/head/misc.dm @@ -222,7 +222,7 @@ throw_range = 5 w_class = 2 attack_verb = list("warned", "cautioned", "smashed") - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/head/santa name = "santa hat" diff --git a/code/modules/clothing/head/misc_special.dm b/code/modules/clothing/head/misc_special.dm index d4bb6dae50e..b63c5f28f5e 100644 --- a/code/modules/clothing/head/misc_special.dm +++ b/code/modules/clothing/head/misc_special.dm @@ -25,7 +25,7 @@ flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE action_button_name = "Toggle Welding Helmet" visor_flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/head/welding/attack_self() toggle() diff --git a/code/modules/clothing/masks/breath.dm b/code/modules/clothing/masks/breath.dm index c6c80d9dc21..ef684dac5f7 100644 --- a/code/modules/clothing/masks/breath.dm +++ b/code/modules/clothing/masks/breath.dm @@ -12,7 +12,7 @@ action_button_name = "Adjust Breath Mask" ignore_maskadjust = 0 flags_cover = MASKCOVERSMOUTH - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/mask/breath/attack_self(mob/user) adjustmask(user) diff --git a/code/modules/clothing/masks/gasmask.dm b/code/modules/clothing/masks/gasmask.dm index 6a1f76e6715..6c56f7e4e53 100644 --- a/code/modules/clothing/masks/gasmask.dm +++ b/code/modules/clothing/masks/gasmask.dm @@ -9,7 +9,7 @@ gas_transfer_coefficient = 0.01 permeability_coefficient = 0.01 flags_cover = MASKCOVERSEYES | MASKCOVERSMOUTH - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF // **** Welding gas mask **** @@ -73,7 +73,7 @@ icon_state = "clown" item_state = "clown_hat" flags_cover = MASKCOVERSEYES - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/clothing/mask/gas/clown_hat/attack_self(mob/user) @@ -98,7 +98,7 @@ icon_state = "sexyclown" item_state = "sexyclown" flags_cover = MASKCOVERSEYES - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/clothing/mask/gas/mime name = "mime mask" @@ -107,7 +107,7 @@ icon_state = "mime" item_state = "mime" flags_cover = MASKCOVERSEYES - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/clothing/mask/gas/monkeymask name = "monkey mask" @@ -116,7 +116,7 @@ icon_state = "monkeymask" item_state = "monkeymask" flags_cover = MASKCOVERSEYES - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/clothing/mask/gas/sexymime name = "sexy mime mask" @@ -125,7 +125,7 @@ icon_state = "sexymime" item_state = "sexymime" flags_cover = MASKCOVERSEYES - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/clothing/mask/gas/death_commando name = "Death Commando Mask" @@ -136,7 +136,7 @@ name = "cyborg visor" desc = "Beep boop." icon_state = "death" - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/clothing/mask/gas/owl_mask name = "owl mask" @@ -144,7 +144,7 @@ icon_state = "owl" flags = MASKINTERNALS flags_cover = MASKCOVERSEYES - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/clothing/mask/gas/carp name = "carp mask" diff --git a/code/modules/clothing/shoes/magboots.dm b/code/modules/clothing/shoes/magboots.dm index b0b8ebc2ac3..ed673d40c50 100644 --- a/code/modules/clothing/shoes/magboots.dm +++ b/code/modules/clothing/shoes/magboots.dm @@ -8,7 +8,7 @@ action_button_name = "Toggle Magboots" strip_delay = 70 put_on_delay = 70 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF origin_tech = "magnets=2" /obj/item/clothing/shoes/magboots/verb/toggle() diff --git a/code/modules/clothing/shoes/miscellaneous.dm b/code/modules/clothing/shoes/miscellaneous.dm index 097f1c6985d..3cbdbdfbb64 100644 --- a/code/modules/clothing/shoes/miscellaneous.dm +++ b/code/modules/clothing/shoes/miscellaneous.dm @@ -15,7 +15,7 @@ permeability_coefficient = 0.05 flags = NOSLIP origin_tech = "syndicate=3" - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/shoes/sneakers/mime name = "mime shoes" @@ -29,7 +29,7 @@ item_state = "jackboots" armor = list(melee = 25, bullet = 25, laser = 25, energy = 25, bomb = 50, bio = 10, rad = 0) strip_delay = 70 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/shoes/combat/swat //overpowered boots for death squads name = "\improper SWAT boots" @@ -60,7 +60,7 @@ slowdown = SHOES_SLOWDOWN+1 strip_delay = 50 put_on_delay = 50 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/shoes/galoshes/dry name = "absorbent galoshes" @@ -96,7 +96,7 @@ item_color = "hosred" strip_delay = 50 put_on_delay = 50 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/shoes/winterboots name = "winter boots" diff --git a/code/modules/clothing/suits/armor.dm b/code/modules/clothing/suits/armor.dm index bfbddc03a5a..377f79b94a5 100644 --- a/code/modules/clothing/suits/armor.dm +++ b/code/modules/clothing/suits/armor.dm @@ -7,7 +7,7 @@ max_heat_protection_temperature = ARMOR_MAX_TEMP_PROTECT strip_delay = 60 put_on_delay = 40 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/suit/armor/vest name = "armor" @@ -46,7 +46,7 @@ cold_protection = CHEST|GROIN|ARMS|HANDS heat_protection = CHEST|GROIN|ARMS|HANDS strip_delay = 70 - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/clothing/suit/armor/vest/warden/alt name = "warden's armored jacket" @@ -119,7 +119,7 @@ desc = "An armored vest with a detective's badge on it." icon_state = "detective-armor" allowed = list(/obj/item/weapon/tank/internals/emergency_oxygen,/obj/item/weapon/reagent_containers/spray/pepper,/obj/item/device/flashlight,/obj/item/weapon/gun/energy,/obj/item/weapon/gun/projectile,/obj/item/ammo_box,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/restraints/handcuffs,/obj/item/weapon/storage/fancy/cigarettes,/obj/item/weapon/lighter,/obj/item/device/detective_scanner,/obj/item/device/taperecorder) - burn_state = 0 //Burnable + burn_state = FLAMMABLE //Reactive armor diff --git a/code/modules/clothing/suits/bio.dm b/code/modules/clothing/suits/bio.dm index 11994d542a6..8e98f556d81 100644 --- a/code/modules/clothing/suits/bio.dm +++ b/code/modules/clothing/suits/bio.dm @@ -8,7 +8,7 @@ armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 20) flags_inv = HIDEMASK|HIDEEARS|HIDEEYES unacidable = 1 - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH /obj/item/clothing/suit/bio_suit @@ -28,7 +28,7 @@ strip_delay = 70 put_on_delay = 70 unacidable = 1 - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF //Standard biosuit, orange stripe /obj/item/clothing/head/bio_hood/general diff --git a/code/modules/clothing/suits/jobs.dm b/code/modules/clothing/suits/jobs.dm index abc8613c7b5..d63c5c43a70 100644 --- a/code/modules/clothing/suits/jobs.dm +++ b/code/modules/clothing/suits/jobs.dm @@ -100,7 +100,7 @@ item_state = "hazard" blood_overlay_type = "armor" allowed = list(/obj/item/device/flashlight,/obj/item/weapon/tank/internals/emergency_oxygen,/obj/item/device/t_scanner,) - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF //Lawyer /obj/item/clothing/suit/toggle/lawyer diff --git a/code/modules/clothing/suits/miscellaneous.dm b/code/modules/clothing/suits/miscellaneous.dm index 321556ec6ff..1b1f302a0fd 100644 --- a/code/modules/clothing/suits/miscellaneous.dm +++ b/code/modules/clothing/suits/miscellaneous.dm @@ -16,7 +16,7 @@ blood_overlay_type = "armor" body_parts_covered = CHEST allowed = list (/obj/item/weapon/gun/energy/laser/bluetag) - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/suit/redtag name = "red laser tag armor" @@ -26,7 +26,7 @@ blood_overlay_type = "armor" body_parts_covered = CHEST allowed = list (/obj/item/weapon/gun/energy/laser/redtag) - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /* * Costume @@ -91,7 +91,7 @@ w_class = 3 allowed = list(/obj/item/device/flashlight,/obj/item/weapon/tank/internals/emergency_oxygen,/obj/item/toy) flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/suit/hastur name = "\improper Hastur's robe" @@ -290,7 +290,7 @@ desc = "Pompadour not included." icon_state = "leatherjacket" item_state = "hostrench" - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF max_heat_protection_temperature = ARMOR_MAX_TEMP_PROTECT allowed = list(/obj/item/device/flashlight,/obj/item/weapon/tank/internals/emergency_oxygen,/obj/item/toy,/obj/item/weapon/storage/fancy/cigarettes,/obj/item/weapon/lighter,/obj/item/weapon/gun/projectile/automatic/pistol,/obj/item/weapon/gun/projectile/revolver,/obj/item/weapon/gun/projectile/revolver/detective) diff --git a/code/modules/clothing/suits/utility.dm b/code/modules/clothing/suits/utility.dm index bf63cdeeb9f..04651ada905 100644 --- a/code/modules/clothing/suits/utility.dm +++ b/code/modules/clothing/suits/utility.dm @@ -28,7 +28,7 @@ min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT strip_delay = 60 put_on_delay = 60 - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/clothing/suit/fire/firefighter icon_state = "firesuit" @@ -66,7 +66,7 @@ strip_delay = 70 put_on_delay = 70 flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/clothing/suit/bomb_suit name = "bomb suit" @@ -87,7 +87,7 @@ min_cold_protection_temperature = ARMOR_MIN_TEMP_PROTECT strip_delay = 70 put_on_delay = 70 - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/clothing/head/bomb_hood/security @@ -112,7 +112,7 @@ strip_delay = 60 put_on_delay = 60 flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH - burn_state = -1 //Not Burnable + burn_state = FIRE_PROOF /obj/item/clothing/suit/radiation name = "radiation suit" @@ -130,4 +130,4 @@ strip_delay = 60 put_on_delay = 60 flags_inv = HIDEJUMPSUIT - burn_state = -1 //Not Burnable \ No newline at end of file + burn_state = FIRE_PROOF \ No newline at end of file diff --git a/code/modules/clothing/suits/wiz_robe.dm b/code/modules/clothing/suits/wiz_robe.dm index 299daf63152..54a4ce69c73 100644 --- a/code/modules/clothing/suits/wiz_robe.dm +++ b/code/modules/clothing/suits/wiz_robe.dm @@ -8,7 +8,7 @@ strip_delay = 50 put_on_delay = 50 unacidable = 1 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/head/wizard/red name = "red wizard hat" @@ -64,7 +64,7 @@ strip_delay = 50 put_on_delay = 50 unacidable = 1 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/suit/wizrobe/red name = "red wizard robe" @@ -118,7 +118,7 @@ permeability_coefficient = 1 armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0) unacidable = 0 - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/clothing/head/wizard/marisa/fake name = "witch hat" @@ -128,7 +128,7 @@ permeability_coefficient = 1 armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0) unacidable = 0 - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/clothing/suit/wizrobe/marisa/fake name = "witch robe" @@ -139,4 +139,4 @@ permeability_coefficient = 1 armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0) unacidable = 0 - burn_state = 0 //Burnable \ No newline at end of file + burn_state = FLAMMABLE \ No newline at end of file diff --git a/code/modules/clothing/under/chameleon.dm b/code/modules/clothing/under/chameleon.dm index 5f7ef6f487a..bbf5699c396 100644 --- a/code/modules/clothing/under/chameleon.dm +++ b/code/modules/clothing/under/chameleon.dm @@ -11,7 +11,7 @@ random_sensor = 0 var/list/clothing_choices = list() var/malfunctioning = 0 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/under/chameleon/New() ..() diff --git a/code/modules/clothing/under/color.dm b/code/modules/clothing/under/color.dm index 3c2713efad0..2897abacc71 100644 --- a/code/modules/clothing/under/color.dm +++ b/code/modules/clothing/under/color.dm @@ -15,7 +15,7 @@ icon_state = "black" item_state = "bl_suit" item_color = "black" - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/under/color/grey name = "grey jumpsuit" diff --git a/code/modules/clothing/under/jobs/engineering.dm b/code/modules/clothing/under/jobs/engineering.dm index 57709b5bdfe..2d5518c2861 100644 --- a/code/modules/clothing/under/jobs/engineering.dm +++ b/code/modules/clothing/under/jobs/engineering.dm @@ -6,7 +6,7 @@ item_state = "gy_suit" item_color = "chief" armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 10) - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/under/rank/atmospheric_technician desc = "It's a jumpsuit worn by atmospheric technicians." @@ -14,7 +14,7 @@ icon_state = "atmos" item_state = "atmos_suit" item_color = "atmos" - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/under/rank/engineer desc = "It's an orange high visibility jumpsuit worn by engineers. It has minor radiation shielding." diff --git a/code/modules/clothing/under/miscellaneous.dm b/code/modules/clothing/under/miscellaneous.dm index 6b3e7d5a841..a65cd704630 100644 --- a/code/modules/clothing/under/miscellaneous.dm +++ b/code/modules/clothing/under/miscellaneous.dm @@ -37,7 +37,7 @@ item_state = "armor" can_adjust = 0 strip_delay = 100 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/under/waiter name = "waiter's outfit" @@ -117,7 +117,7 @@ heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS max_heat_protection_temperature = SPACE_SUIT_MAX_TEMP_PROTECT can_adjust = 0 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/under/acj name = "administrative cybernetic jumpsuit" @@ -134,7 +134,7 @@ heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS max_heat_protection_temperature = SPACE_SUIT_MAX_TEMP_PROTECT can_adjust = 0 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/under/owl name = "owl uniform" @@ -359,7 +359,7 @@ body_parts_covered = CHEST|GROIN|ARMS fitted = NO_FEMALE_UNIFORM can_adjust = 0 - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF /obj/item/clothing/under/sundress name = "sundress" diff --git a/code/modules/clothing/under/ties.dm b/code/modules/clothing/under/ties.dm index 353da634cd3..aa9bc28e7b7 100644 --- a/code/modules/clothing/under/ties.dm +++ b/code/modules/clothing/under/ties.dm @@ -85,7 +85,7 @@ icon_state = "bronze" item_color = "bronze" materials = list(MAT_METAL=1000) - burn_state = -1 //Won't burn in fires + burn_state = FIRE_PROOF //Pinning medals on people /obj/item/clothing/tie/medal/attack(mob/living/carbon/human/M, mob/living/user) diff --git a/code/modules/food&drinks/drinks/drinks.dm b/code/modules/food&drinks/drinks/drinks.dm index e962c5bda0f..69cbccb4d99 100644 --- a/code/modules/food&drinks/drinks/drinks.dm +++ b/code/modules/food&drinks/drinks/drinks.dm @@ -10,7 +10,7 @@ var/gulp_size = 5 //This is now officially broken ... need to think of a nice way to fix it. possible_transfer_amounts = list(5,10,25) volume = 50 - burn_state = -1 + burn_state = FIRE_PROOF /obj/item/weapon/reagent_containers/food/drinks/New() ..() diff --git a/code/modules/food&drinks/drinks/drinks/drinkingglass.dm b/code/modules/food&drinks/drinks/drinks/drinkingglass.dm index d5b890dea10..d6ce0c0a10a 100644 --- a/code/modules/food&drinks/drinks/drinks/drinkingglass.dm +++ b/code/modules/food&drinks/drinks/drinks/drinkingglass.dm @@ -6,7 +6,7 @@ icon_state = "glass_empty" amount_per_transfer_from_this = 10 volume = 50 - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 5 spillable = 1 diff --git a/code/modules/food&drinks/food.dm b/code/modules/food&drinks/food.dm index 32b680a6b6a..53afb299cf8 100644 --- a/code/modules/food&drinks/food.dm +++ b/code/modules/food&drinks/food.dm @@ -4,7 +4,7 @@ /obj/item/weapon/reagent_containers/food possible_transfer_amounts = list() volume = 50 //Sets the default container amount for all food items. - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/weapon/reagent_containers/food/New() ..() diff --git a/code/modules/holodeck/area_copy.dm b/code/modules/holodeck/area_copy.dm index fe8621fdca4..5572d9c970f 100644 --- a/code/modules/holodeck/area_copy.dm +++ b/code/modules/holodeck/area_copy.dm @@ -21,7 +21,7 @@ O.vars[V] = original.vars[V] if(istype(O)) - O.burn_state = -1 // holoitems do not burn + O.burn_state = FIRE_PROOF // holoitems do not burn if(nerf && istype(O,/obj/item)) var/obj/item/I = O I.damtype = STAMINA // thou shalt not diff --git a/code/modules/hydroponics/grown.dm b/code/modules/hydroponics/grown.dm index 02f29310def..6f5c7b457e9 100644 --- a/code/modules/hydroponics/grown.dm +++ b/code/modules/hydroponics/grown.dm @@ -20,7 +20,7 @@ icon = 'icons/obj/hydroponics/harvest.dmi' potency = -1 dried_type = -1 //bit different. saves us from having to define each stupid grown's dried_type as itself. If you don't want a plant to be driable (watermelons) set this to null in the time definition. - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/weapon/reagent_containers/food/snacks/grown/New(newloc, new_potency = 50) ..() diff --git a/code/modules/hydroponics/growninedible.dm b/code/modules/hydroponics/growninedible.dm index 638a7efb9d7..eed08060cfc 100644 --- a/code/modules/hydroponics/growninedible.dm +++ b/code/modules/hydroponics/growninedible.dm @@ -5,7 +5,7 @@ /obj/item/weapon/grown // Grown weapons name = "grown_weapon" icon = 'icons/obj/hydroponics/harvest.dmi' - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/seed = null var/plantname = "" var/product //a type path diff --git a/code/modules/hydroponics/seeds.dm b/code/modules/hydroponics/seeds.dm index 6a75e25d61c..aeb71d608ca 100644 --- a/code/modules/hydroponics/seeds.dm +++ b/code/modules/hydroponics/seeds.dm @@ -7,7 +7,7 @@ icon = 'icons/obj/hydroponics/seeds.dmi' icon_state = "seed" //Unknown plant seed - these shouldn't exist in-game. w_class = 1 //Pocketable. - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/plantname = "Plants" //Name of plant when planted. var/product //A type path. The thing that is created when the plant is harvested. var/species = "" //Used to update icons. Should match the name in the sprites. diff --git a/code/modules/library/lib_items.dm b/code/modules/library/lib_items.dm index 1af63f8b489..b13e992671b 100644 --- a/code/modules/library/lib_items.dm +++ b/code/modules/library/lib_items.dm @@ -17,7 +17,7 @@ anchored = 0 density = 1 opacity = 0 - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 30 var/state = 0 var/list/allowed_books = list(/obj/item/weapon/book, /obj/item/weapon/spellbook, /obj/item/weapon/storage/book) //Things allowed in the bookcase @@ -167,7 +167,7 @@ throw_range = 5 w_class = 3 //upped to three because books are, y'know, pretty big. (and you could hide them inside eachother recursively forever) attack_verb = list("bashed", "whacked", "educated") - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/dat //Actual page content var/due_date = 0 //Game time in 1/10th seconds var/author //Who wrote the thing, can be changed by pen or PC. It is not automatically assigned diff --git a/code/modules/mining/money_bag.dm b/code/modules/mining/money_bag.dm index fd6125dbcda..e1edd84927c 100644 --- a/code/modules/mining/money_bag.dm +++ b/code/modules/mining/money_bag.dm @@ -8,7 +8,7 @@ force = 10 throwforce = 0 w_class = 4 - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 20 /obj/item/weapon/moneybag/attack_hand(mob/user) diff --git a/code/modules/paperwork/clipboard.dm b/code/modules/paperwork/clipboard.dm index 8cb5ae8902c..3ad65fbd1f8 100644 --- a/code/modules/paperwork/clipboard.dm +++ b/code/modules/paperwork/clipboard.dm @@ -10,7 +10,7 @@ var/obj/item/weapon/pen/haspen //The stored pen. var/obj/item/weapon/paper/toppaper //The topmost piece of paper. slot_flags = SLOT_BELT - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/weapon/clipboard/New() update_icon() diff --git a/code/modules/paperwork/folders.dm b/code/modules/paperwork/folders.dm index 1e632fa976a..b500e0ea372 100644 --- a/code/modules/paperwork/folders.dm +++ b/code/modules/paperwork/folders.dm @@ -5,7 +5,7 @@ icon_state = "folder" w_class = 2 pressure_resistance = 2 - burn_state = 0 //Burnable + burn_state = FLAMMABLE /obj/item/weapon/folder/blue desc = "A blue folder." diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm index 739b17cfff0..30c26879de3 100644 --- a/code/modules/paperwork/paper.dm +++ b/code/modules/paperwork/paper.dm @@ -18,7 +18,7 @@ pressure_resistance = 0 slot_flags = SLOT_HEAD body_parts_covered = HEAD - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 5 var/info //What's actually written on the paper. @@ -40,7 +40,7 @@ /obj/item/weapon/paper/update_icon() - if(burn_state == 1) + if(burn_state == ON_FIRE) icon_state = "paper_onfire" return if(info) @@ -283,7 +283,7 @@ /obj/item/weapon/paper/attackby(obj/item/weapon/P, mob/living/carbon/human/user, params) ..() - if(burn_state == 1) + if(burn_state == ON_FIRE) return if(is_blind(user)) diff --git a/code/modules/paperwork/paperbin.dm b/code/modules/paperwork/paperbin.dm index 568680b5d45..cc7c872e0ad 100644 --- a/code/modules/paperwork/paperbin.dm +++ b/code/modules/paperwork/paperbin.dm @@ -8,7 +8,7 @@ throw_speed = 3 throw_range = 7 pressure_resistance = 8 - burn_state = 0 //Burnable + burn_state = FLAMMABLE var/amount = 30 //How much paper is in the bin. var/list/papers = new/list() //List of papers put in the bin for reference. diff --git a/code/modules/paperwork/photography.dm b/code/modules/paperwork/photography.dm index 134de4d16ee..3d3e32b5b10 100644 --- a/code/modules/paperwork/photography.dm +++ b/code/modules/paperwork/photography.dm @@ -17,7 +17,7 @@ icon_state = "film" item_state = "electropack" w_class = 1 - burn_state = 0 //Burnable + burn_state = FLAMMABLE /* * Photo @@ -28,7 +28,7 @@ icon_state = "photo" item_state = "paper" w_class = 1 - burn_state = 0 //Burnable + burn_state = FLAMMABLE burntime = 5 var/icon/img //Big photo image var/scribble //Scribble on the back. @@ -94,7 +94,7 @@ icon_state = "album" item_state = "briefcase" can_hold = list(/obj/item/weapon/photo) - burn_state = 0 //Burnable + burn_state = FLAMMABLE /* * Camera diff --git a/code/modules/recycling/sortingmachinery.dm b/code/modules/recycling/sortingmachinery.dm index 1121faf952f..28c92494304 100644 --- a/code/modules/recycling/sortingmachinery.dm +++ b/code/modules/recycling/sortingmachinery.dm @@ -117,7 +117,7 @@ flags = NOBLUDGEON amount = 25 max_amount = 25 - burn_state = 0 //burnable + burn_state = FLAMMABLE /obj/item/stack/packageWrap/afterattack(obj/target, mob/user, proximity) diff --git a/code/modules/research/xenobiology/xenobiology.dm b/code/modules/research/xenobiology/xenobiology.dm index ad6483d7408..65db58cc434 100644 --- a/code/modules/research/xenobiology/xenobiology.dm +++ b/code/modules/research/xenobiology/xenobiology.dm @@ -347,7 +347,7 @@ C.color = "#000080" C.max_heat_protection_temperature = FIRE_IMMUNITY_SUIT_MAX_TEMP_PROTECT C.heat_protection = C.body_parts_covered - C.burn_state = -1 + C.burn_state = FIRE_PROOF uses -- if(!uses) qdel(src)