Merge pull request #3589 from Aranclanos/LightsBrightness

Light tubes and bulbs brightness
This commit is contained in:
Cheridan
2014-05-05 12:29:40 -05:00
+1 -20
View File
@@ -650,11 +650,6 @@
g_amt = 100
brightness = 8
/obj/item/weapon/light/tube/large
w_class = 2
name = "large light tube"
brightness = 15
/obj/item/weapon/light/bulb
name = "light bulb"
desc = "A replacement light bulb."
@@ -662,21 +657,12 @@
base_state = "lbulb"
item_state = "contvapour"
g_amt = 100
brightness = 5
brightness = 4
/obj/item/weapon/light/throw_impact(atom/hit_atom)
..()
shatter()
/obj/item/weapon/light/bulb/fire
name = "fire bulb"
desc = "A replacement fire bulb."
icon_state = "fbulb"
base_state = "fbulb"
item_state = "egg4"
g_amt = 100
brightness = 5
// update the icon state and description of the light
/obj/item/weapon/light/proc/update()
@@ -694,11 +680,6 @@
/obj/item/weapon/light/New()
..()
switch(name)
if("light tube")
brightness = rand(6,9)
if("light bulb")
brightness = rand(4,6)
update()