Changes some 1s and 0s to TRUE and FALSE (#1967)
This commit is contained in:
committed by
kevinz000
parent
1b70c06474
commit
ff6bbbedf5
@@ -5,7 +5,7 @@
|
||||
icon_state = "light_on"
|
||||
floor_tile = /obj/item/stack/tile/light
|
||||
broken_states = list("light_broken")
|
||||
var/on = 1
|
||||
var/on = TRUE
|
||||
var/state = 0//0 = fine, 1 = flickering, 2 = breaking, 3 = broken
|
||||
var/list/coloredlights = list("g", "r", "y", "b", "p", "w", "s","o","g")
|
||||
var/currentcolor = 1
|
||||
@@ -51,13 +51,13 @@
|
||||
if(!can_modify_colour)
|
||||
return
|
||||
if(!on)
|
||||
on = 1
|
||||
on = TRUE
|
||||
currentcolor = 1
|
||||
return
|
||||
else
|
||||
currentcolor++
|
||||
if(currentcolor > coloredlights.len)
|
||||
on = 0
|
||||
on = FALSE
|
||||
update_icon()
|
||||
..() //I am not sure what the parent procs have for attack_hand, best to check later.
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
baseturf = /turf/open/floor/plating/asteroid/airless
|
||||
initial_gas_mix = "TEMP=2.7"
|
||||
opacity = 1
|
||||
density = 1
|
||||
density = TRUE
|
||||
blocks_air = 1
|
||||
layer = EDGED_TURF_LAYER
|
||||
temperature = TCMB
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
icon = 'icons/turf/walls/reinforced_wall.dmi'
|
||||
icon_state = "r_wall"
|
||||
opacity = 1
|
||||
density = 1
|
||||
density = TRUE
|
||||
|
||||
var/d_state = INTACT
|
||||
hardness = 10
|
||||
|
||||
@@ -227,9 +227,9 @@
|
||||
O.desc = "Looks hot."
|
||||
O.icon = 'icons/effects/fire.dmi'
|
||||
O.icon_state = "2"
|
||||
O.anchored = 1
|
||||
O.anchored = TRUE
|
||||
O.opacity = 1
|
||||
O.density = 1
|
||||
O.density = TRUE
|
||||
O.layer = FLY_LAYER
|
||||
|
||||
playsound(src, 'sound/items/welder.ogg', 100, 1)
|
||||
|
||||
Reference in New Issue
Block a user