diff --git a/code/game/machinery/lightswitch.dm b/code/game/machinery/lightswitch.dm index 102be57f9b..45af0693ed 100644 --- a/code/game/machinery/lightswitch.dm +++ b/code/game/machinery/lightswitch.dm @@ -8,11 +8,18 @@ anchored = TRUE desc = "Make dark." var/on = TRUE +<<<<<<< HEAD var/area/area = null var/otherarea = null // luminosity = 1 /obj/machinery/light_switch/Initialize() +======= + var/area/area = null + var/otherarea = null + +/obj/machinery/light_switch/Initialize() +>>>>>>> afd8bb7... Code Consistency: luminosity --> light_range (#31355) . = ..() area = get_area(src) diff --git a/code/game/objects/items/weaponry.dm b/code/game/objects/items/weaponry.dm index 7959da84c2..90a0ec7f99 100644 --- a/code/game/objects/items/weaponry.dm +++ b/code/game/objects/items/weaponry.dm @@ -73,7 +73,7 @@ flags_1 = CONDUCT_1 | NODROP_1 | DROPDEL_1 slot_flags = null block_chance = 0 //RNG WON'T HELP YOU NOW, PANSY - luminosity = 3 + light_range = 3 attack_verb = list("brutalized", "eviscerated", "disemboweled", "hacked", "carved", "cleaved") //ONLY THE MOST VISCERAL ATTACK VERBS var/notches = 0 //HOW MANY PEOPLE HAVE BEEN SLAIN WITH THIS BLADE var/obj/item/disk/nuclear/nuke_disk //OUR STORED NUKE DISK diff --git a/code/modules/mining/lavaland/ash_flora.dm b/code/modules/mining/lavaland/ash_flora.dm index 26ba81ff1f..6d6587a73a 100644 --- a/code/modules/mining/lavaland/ash_flora.dm +++ b/code/modules/mining/lavaland/ash_flora.dm @@ -109,7 +109,7 @@ icon_state = "t_mushroom" name = "numerous mushrooms" desc = "A large number of mushrooms, some of which have long, fleshy stems. They're radiating light!" - luminosity = 1 + light_range = 1 harvested_name = "tiny mushrooms" harvested_desc = "A few tiny mushrooms around larger stumps. You can already see them growing back." harvest = /obj/item/reagent_containers/food/snacks/grown/ash_flora/mushroom_stem @@ -190,7 +190,7 @@ desc = "A long mushroom stem. It's slightly glowing." list_reagents = list("tinlux" = 2, "vitamin" = 1, "space_drugs" = 1) icon_state = "mushroom_stem" - luminosity = 1 + light_range = 1 seed = /obj/item/seeds/lavaland/ember /obj/item/reagent_containers/food/snacks/grown/ash_flora/cactus_fruit diff --git a/code/modules/mining/lavaland/necropolis_chests.dm b/code/modules/mining/lavaland/necropolis_chests.dm index fbcd418f4c..cd4a9d18dd 100644 --- a/code/modules/mining/lavaland/necropolis_chests.dm +++ b/code/modules/mining/lavaland/necropolis_chests.dm @@ -194,7 +194,7 @@ desc = "Happy to light your way." icon = 'icons/obj/lighting.dmi' icon_state = "orb" - luminosity = 7 + light_range = 7 layer = ABOVE_ALL_MOB_LAYER //Red/Blue Cubes diff --git a/code/modules/mob/living/simple_animal/bot/bot.dm b/code/modules/mob/living/simple_animal/bot/bot.dm index 98b1b46ed8..299fa25226 100644 --- a/code/modules/mob/living/simple_animal/bot/bot.dm +++ b/code/modules/mob/living/simple_animal/bot/bot.dm @@ -5,7 +5,7 @@ icon = 'icons/mob/aibots.dmi' layer = MOB_LAYER gender = NEUTER - luminosity = 3 + light_range = 3 stop_automated_movement = 1 wander = 0 healable = 0 diff --git a/code/modules/power/apc.dm b/code/modules/power/apc.dm index 3a40b1bfd5..cab682857a 100644 --- a/code/modules/power/apc.dm +++ b/code/modules/power/apc.dm @@ -78,7 +78,6 @@ powernet = 0 // set so that APCs aren't found as powernet nodes //Hackish, Horrible, was like this before I changed it :( var/malfhack = 0 //New var for my changes to AI malf. --NeoFite var/mob/living/silicon/ai/malfai = null //See above --NeoFite -// luminosity = 1 var/has_electronics = 0 // 0 - none, 1 - plugged in, 2 - secured by screwdriver var/overload = 1 //used for the Blackout malf module var/beenhit = 0 // used for counting how many times it has been hit, used for Aliens at the moment diff --git a/code/modules/power/singularity/containment_field.dm b/code/modules/power/singularity/containment_field.dm index f4d09167c8..c2610ebc44 100644 --- a/code/modules/power/singularity/containment_field.dm +++ b/code/modules/power/singularity/containment_field.dm @@ -9,7 +9,7 @@ density = FALSE resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF use_power = NO_POWER_USE - luminosity = 4 + light_range = 4 layer = ABOVE_OBJ_LAYER var/obj/machinery/field/generator/FG1 = null var/obj/machinery/field/generator/FG2 = null diff --git a/code/modules/power/singularity/singularity.dm b/code/modules/power/singularity/singularity.dm index ce2cd90a49..681bb88c6b 100644 --- a/code/modules/power/singularity/singularity.dm +++ b/code/modules/power/singularity/singularity.dm @@ -8,7 +8,7 @@ anchored = TRUE density = TRUE layer = MASSIVE_OBJ_LAYER - luminosity = 6 + light_range = 6 appearance_flags = 0 var/current_size = 1 var/allowed_size = 1 @@ -278,7 +278,7 @@ desc = "[initial(desc)] It glows fiercely with inner fire." name = "supermatter-charged [initial(name)]" consumedSupermatter = 1 - luminosity = 10 + set_light(10) return