Changes some 1s and 0s to TRUE and FALSE (#1967)
This commit is contained in:
committed by
kevinz000
parent
1b70c06474
commit
ff6bbbedf5
@@ -1,6 +1,6 @@
|
||||
/obj/structure/AIcore
|
||||
density = 1
|
||||
anchored = 0
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
name = "\improper AI core"
|
||||
icon = 'icons/mob/ai.dmi'
|
||||
icon_state = "0"
|
||||
@@ -231,7 +231,7 @@
|
||||
/obj/structure/AIcore/deactivated
|
||||
name = "inactive AI"
|
||||
icon_state = "ai-empty"
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = AI_READY_CORE
|
||||
|
||||
/obj/structure/AIcore/deactivated/New()
|
||||
|
||||
@@ -54,9 +54,9 @@
|
||||
desc = "Looks like some kind of thick resin."
|
||||
icon = 'icons/obj/smooth_structures/alien/resin_wall.dmi'
|
||||
icon_state = "resin"
|
||||
density = 1
|
||||
density = TRUE
|
||||
opacity = 1
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
canSmoothWith = list(/obj/structure/alien/resin)
|
||||
max_integrity = 200
|
||||
smooth = SMOOTH_TRUE
|
||||
@@ -112,8 +112,8 @@
|
||||
gender = PLURAL
|
||||
name = "resin floor"
|
||||
desc = "A thick resin surface covers the floor."
|
||||
anchored = 1
|
||||
density = 0
|
||||
anchored = TRUE
|
||||
density = FALSE
|
||||
layer = TURF_LAYER
|
||||
icon_state = "weeds"
|
||||
max_integrity = 15
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
desc = "Only for the finest of art!"
|
||||
icon = 'icons/obj/artstuff.dmi'
|
||||
icon_state = "easel"
|
||||
density = 1
|
||||
density = TRUE
|
||||
resistance_flags = FLAMMABLE
|
||||
max_integrity = 60
|
||||
var/obj/item/weapon/canvas/painting = null
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
buildable_sign = 0
|
||||
var/list/barsigns=list()
|
||||
var/list/hiddensigns
|
||||
var/emagged = 0
|
||||
var/emagged = FALSE
|
||||
var/state = 0
|
||||
var/prev_sign = ""
|
||||
var/panel_open = 0
|
||||
var/panel_open = FALSE
|
||||
|
||||
/obj/structure/sign/barsign/Initialize()
|
||||
. = ..()
|
||||
@@ -78,7 +78,7 @@
|
||||
if(!panel_open)
|
||||
to_chat(user, "<span class='notice'>You open the maintenance panel.</span>")
|
||||
set_sign(new /datum/barsign/hiddensigns/signoff)
|
||||
panel_open = 1
|
||||
panel_open = TRUE
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You close the maintenance panel.</span>")
|
||||
if(!broken && !emagged)
|
||||
@@ -87,7 +87,7 @@
|
||||
set_sign(new /datum/barsign/hiddensigns/syndibarsign)
|
||||
else
|
||||
set_sign(new /datum/barsign/hiddensigns/empbarsign)
|
||||
panel_open = 0
|
||||
panel_open = FALSE
|
||||
|
||||
else if(istype(I, /obj/item/stack/cable_coil) && panel_open)
|
||||
var/obj/item/stack/cable_coil/C = I
|
||||
@@ -121,7 +121,7 @@
|
||||
to_chat(user, "<span class='notice'>You emag the barsign. Takeover in progress...</span>")
|
||||
sleep(100) //10 seconds
|
||||
set_sign(new /datum/barsign/hiddensigns/syndibarsign)
|
||||
emagged = 1
|
||||
emagged = TRUE
|
||||
req_access = list(GLOB.access_syndicate)
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
icon_state = "nest"
|
||||
max_integrity = 120
|
||||
smooth = SMOOTH_TRUE
|
||||
can_be_unanchored = 0
|
||||
can_be_unanchored = FALSE
|
||||
canSmoothWith = null
|
||||
buildstacktype = null
|
||||
flags = NODECONSTRUCT
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
desc = "This is used to lie in, sleep in or strap on."
|
||||
icon_state = "bed"
|
||||
icon = 'icons/obj/objects.dmi'
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
can_buckle = 1
|
||||
buckle_lying = 1
|
||||
resistance_flags = FLAMMABLE
|
||||
@@ -44,7 +44,7 @@
|
||||
name = "roller bed"
|
||||
icon = 'icons/obj/rollerbed.dmi'
|
||||
icon_state = "down"
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
resistance_flags = 0
|
||||
var/foldabletype = /obj/item/roller
|
||||
|
||||
@@ -86,11 +86,11 @@
|
||||
|
||||
/obj/structure/bed/roller/post_buckle_mob(mob/living/M)
|
||||
if(M in buckled_mobs)
|
||||
density = 1
|
||||
density = TRUE
|
||||
icon_state = "up"
|
||||
M.pixel_y = initial(M.pixel_y)
|
||||
else
|
||||
density = 0
|
||||
density = FALSE
|
||||
icon_state = "down"
|
||||
M.pixel_x = M.get_standard_pixel_x_offset(M.lying)
|
||||
M.pixel_y = M.get_standard_pixel_y_offset(M.lying)
|
||||
@@ -157,7 +157,7 @@
|
||||
name = "dog bed"
|
||||
icon_state = "dogbed"
|
||||
desc = "A comfy-looking dog bed. You can even strap your pet in, in case the gravity turns off."
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
buildstacktype = /obj/item/stack/sheet/mineral/wood
|
||||
buildstackamount = 10
|
||||
var/mob/living/owner = null
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "You sit in this. Either by will or force.\n<span class='notice'>Drag your sprite to sit in the chair. Alt-click to rotate it clockwise.</span>"
|
||||
icon = 'icons/obj/chairs.dmi'
|
||||
icon_state = "chair"
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
can_buckle = 1
|
||||
buckle_lying = 0 //you sit in a chair, not lay
|
||||
resistance_flags = 0
|
||||
@@ -177,7 +177,7 @@
|
||||
color = rgb(255,251,0)
|
||||
|
||||
/obj/structure/chair/office
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
buildstackamount = 5
|
||||
item_chair = null
|
||||
|
||||
|
||||
@@ -240,7 +240,7 @@ LINEN BINS
|
||||
desc = "It looks rather cosy."
|
||||
icon = 'icons/obj/structures.dmi'
|
||||
icon_state = "linenbin-full"
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
resistance_flags = FLAMMABLE
|
||||
max_integrity = 70
|
||||
var/amount = 10
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "It's a basic storage unit."
|
||||
icon = 'icons/obj/closet.dmi'
|
||||
icon_state = "generic"
|
||||
density = 1
|
||||
density = TRUE
|
||||
var/icon_door = null
|
||||
var/icon_door_override = FALSE //override to have open overlay use icon different to its base's
|
||||
var/secure = FALSE //secure locker or not, also used if overriding a non-secure locker with a secure door overlay to add fancy lights
|
||||
@@ -130,7 +130,7 @@
|
||||
playsound(loc, open_sound, 15, 1, -3)
|
||||
opened = 1
|
||||
if(!dense_when_open)
|
||||
density = 0
|
||||
density = FALSE
|
||||
climb_time *= 0.5 //it's faster to climb onto an open thing
|
||||
dump_contents()
|
||||
update_icon()
|
||||
@@ -182,7 +182,7 @@
|
||||
playsound(loc, close_sound, 15, 1, -3)
|
||||
climb_time = initial(climb_time)
|
||||
opened = 0
|
||||
density = 1
|
||||
density = TRUE
|
||||
update_icon()
|
||||
return 1
|
||||
|
||||
@@ -381,8 +381,8 @@
|
||||
to_chat(user, "<span class='warning'>You fail to break out of [src]!</span>")
|
||||
|
||||
/obj/structure/closet/proc/bust_open()
|
||||
welded = 0 //applies to all lockers
|
||||
locked = 0 //applies to critter crates and secure lockers only
|
||||
welded = FALSE //applies to all lockers
|
||||
locked = FALSE //applies to critter crates and secure lockers only
|
||||
broken = 1 //applies to secure lockers only
|
||||
open()
|
||||
|
||||
@@ -417,7 +417,7 @@
|
||||
"<span class='italics'>You hear a faint electrical spark.</span>")
|
||||
playsound(src.loc, 'sound/effects/sparks4.ogg', 50, 1)
|
||||
broken = 1
|
||||
locked = 0
|
||||
locked = FALSE
|
||||
update_icon()
|
||||
|
||||
/obj/structure/closet/get_remote_view_fullscreens(mob/user)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
desc = "A plastic bag designed for the storage and transportation of cadavers."
|
||||
icon = 'icons/obj/bodybag.dmi'
|
||||
icon_state = "bodybag"
|
||||
density = 0
|
||||
density = FALSE
|
||||
mob_storage_capacity = 2
|
||||
open_sound = 'sound/items/zip.ogg'
|
||||
close_sound = 'sound/items/zip.ogg'
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
/obj/structure/closet/body_bag/close()
|
||||
if(..())
|
||||
density = 0
|
||||
density = FALSE
|
||||
return 1
|
||||
return 0
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
/obj/structure/closet/thunderdome
|
||||
name = "\improper Thunderdome closet"
|
||||
desc = "Everything you need!"
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
|
||||
/obj/structure/closet/thunderdome/tdred
|
||||
name = "red-team Thunderdome closet"
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/obj/structure/closet/secure_closet
|
||||
name = "secure locker"
|
||||
desc = "It's a card-locked storage unit."
|
||||
locked = 1
|
||||
locked = TRUE
|
||||
icon_state = "secure"
|
||||
max_integrity = 250
|
||||
armor = list(melee = 30, bullet = 50, laser = 50, energy = 100, bomb = 0, bio = 0, rad = 0, fire = 80, acid = 80)
|
||||
secure = 1
|
||||
secure = TRUE
|
||||
|
||||
/obj/structure/closet/secure_closet/run_obj_armor(damage_amount, damage_type, damage_flag = 0, attack_dir)
|
||||
if(damage_flag == "melee" && damage_amount < 20)
|
||||
|
||||
@@ -196,7 +196,7 @@
|
||||
/obj/structure/closet/secure_closet/brig
|
||||
name = "brig locker"
|
||||
req_access = list(GLOB.access_brig)
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
var/id = null
|
||||
|
||||
/obj/structure/closet/secure_closet/brig/PopulateContents()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name = "large crate"
|
||||
desc = "A hefty wooden crate."
|
||||
icon_state = "largecrate"
|
||||
density = 1
|
||||
density = TRUE
|
||||
material_drop = /obj/item/stack/sheet/mineral/wood
|
||||
delivery_icon = "deliverybox"
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
desc = "A secure crate."
|
||||
name = "secure crate"
|
||||
icon_state = "securecrate"
|
||||
secure = 1
|
||||
locked = 1
|
||||
secure = TRUE
|
||||
locked = TRUE
|
||||
max_integrity = 500
|
||||
armor = list(melee = 30, bullet = 50, laser = 50, energy = 100, bomb = 0, bio = 0, rad = 0, fire = 80, acid = 80)
|
||||
var/tamperproof = 0
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
icon_state = "glassbox0"
|
||||
desc = "A display case for prized possessions."
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
resistance_flags = ACID_PROOF
|
||||
armor = list(melee = 30, bullet = 0, laser = 0, energy = 0, bomb = 10, bio = 0, rad = 0, fire = 70, acid = 100)
|
||||
max_integrity = 200
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
/obj/structure/displaycase/obj_break(damage_flag)
|
||||
if(!broken && !(flags & NODECONSTRUCT))
|
||||
density = 0
|
||||
density = FALSE
|
||||
broken = 1
|
||||
new /obj/item/weapon/shard( src.loc )
|
||||
playsound(src, "shatter", 70, 1)
|
||||
@@ -189,8 +189,8 @@
|
||||
|
||||
|
||||
/obj/structure/displaycase_chassis
|
||||
anchored = 1
|
||||
density = 0
|
||||
anchored = TRUE
|
||||
density = FALSE
|
||||
name = "display case chassis"
|
||||
desc = "wooden base of display case"
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
desc = "An altar designed to perform blood sacrifice for a deity."
|
||||
icon = 'icons/obj/hand_of_god_structures.dmi'
|
||||
icon_state = "sacrificealtar"
|
||||
anchored = 1
|
||||
density = 0
|
||||
anchored = TRUE
|
||||
density = FALSE
|
||||
can_buckle = 1
|
||||
|
||||
/obj/structure/sacrificealtar/attack_hand(mob/living/user)
|
||||
@@ -23,8 +23,8 @@
|
||||
desc = "A fountain containing the waters of life."
|
||||
icon = 'icons/obj/hand_of_god_structures.dmi'
|
||||
icon_state = "fountain"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
var/time_between_uses = 1800
|
||||
var/last_process = 0
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
icon = 'icons/obj/doors/airlocks/station/public.dmi'
|
||||
icon_state = "construction"
|
||||
var/overlays_file = 'icons/obj/doors/airlocks/station/overlays.dmi'
|
||||
anchored = 0
|
||||
density = 1
|
||||
anchored = FALSE
|
||||
density = TRUE
|
||||
max_integrity = 200
|
||||
var/state = 0
|
||||
var/mineral = null
|
||||
@@ -24,7 +24,7 @@
|
||||
/obj/structure/door_assembly/door_assembly_0
|
||||
name = "airlock assembly"
|
||||
airlock_type = /obj/machinery/door/airlock
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_com
|
||||
@@ -34,7 +34,7 @@
|
||||
icontext = "com"
|
||||
glass_type = /obj/machinery/door/airlock/glass_command
|
||||
airlock_type = /obj/machinery/door/airlock/command
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_com/glass
|
||||
@@ -48,7 +48,7 @@
|
||||
icontext = "sec"
|
||||
glass_type = /obj/machinery/door/airlock/glass_security
|
||||
airlock_type = /obj/machinery/door/airlock/security
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_sec/glass
|
||||
@@ -62,7 +62,7 @@
|
||||
icontext = "eng"
|
||||
glass_type = /obj/machinery/door/airlock/glass_engineering
|
||||
airlock_type = /obj/machinery/door/airlock/engineering
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_eng/glass
|
||||
@@ -76,7 +76,7 @@
|
||||
icontext = "min"
|
||||
glass_type = /obj/machinery/door/airlock/glass_mining
|
||||
airlock_type = /obj/machinery/door/airlock/mining
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_min/glass
|
||||
@@ -90,7 +90,7 @@
|
||||
icontext = "atmo"
|
||||
glass_type = /obj/machinery/door/airlock/glass_atmos
|
||||
airlock_type = /obj/machinery/door/airlock/atmos
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_atmo/glass
|
||||
@@ -104,7 +104,7 @@
|
||||
icontext = "res"
|
||||
glass_type = /obj/machinery/door/airlock/glass_research
|
||||
airlock_type = /obj/machinery/door/airlock/research
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_research/glass
|
||||
@@ -118,7 +118,7 @@
|
||||
icontext = "sci"
|
||||
glass_type = /obj/machinery/door/airlock/glass_science
|
||||
airlock_type = /obj/machinery/door/airlock/science
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_science/glass
|
||||
@@ -132,7 +132,7 @@
|
||||
icontext = "med"
|
||||
glass_type = /obj/machinery/door/airlock/glass_medical
|
||||
airlock_type = /obj/machinery/door/airlock/medical
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_med/glass
|
||||
@@ -146,7 +146,7 @@
|
||||
icontext = "mai"
|
||||
glass_type = /obj/machinery/door/airlock/glass_maintenance
|
||||
airlock_type = /obj/machinery/door/airlock/maintenance
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_mai/glass
|
||||
@@ -161,7 +161,7 @@
|
||||
icontext = "ext"
|
||||
glass_type = /obj/machinery/door/airlock/glass_external
|
||||
airlock_type = /obj/machinery/door/airlock/external
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_ext/glass
|
||||
@@ -174,7 +174,7 @@
|
||||
typetext = "freezer"
|
||||
icontext = "fre"
|
||||
airlock_type = /obj/machinery/door/airlock/freezer
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_hatch
|
||||
@@ -184,7 +184,7 @@
|
||||
typetext = "hatch"
|
||||
icontext = "hatch"
|
||||
airlock_type = /obj/machinery/door/airlock/hatch
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_mhatch
|
||||
@@ -194,7 +194,7 @@
|
||||
typetext = "maintenance_hatch"
|
||||
icontext = "mhatch"
|
||||
airlock_type = /obj/machinery/door/airlock/maintenance_hatch
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_glass
|
||||
@@ -202,7 +202,7 @@
|
||||
icon = 'icons/obj/doors/airlocks/station2/glass.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/station2/overlays.dmi'
|
||||
airlock_type = /obj/machinery/door/airlock/glass
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
mineral = "glass"
|
||||
material = "glass"
|
||||
@@ -211,7 +211,7 @@
|
||||
name = "gold airlock assembly"
|
||||
icon = 'icons/obj/doors/airlocks/station/gold.dmi'
|
||||
airlock_type = /obj/machinery/door/airlock/gold
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
mineral = "gold"
|
||||
|
||||
@@ -219,7 +219,7 @@
|
||||
name = "silver airlock assembly"
|
||||
icon = 'icons/obj/doors/airlocks/station/silver.dmi'
|
||||
airlock_type = /obj/machinery/door/airlock/silver
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
mineral = "silver"
|
||||
|
||||
@@ -227,7 +227,7 @@
|
||||
name = "diamond airlock assembly"
|
||||
icon = 'icons/obj/doors/airlocks/station/diamond.dmi'
|
||||
airlock_type = /obj/machinery/door/airlock/diamond
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
mineral = "diamond"
|
||||
|
||||
@@ -235,7 +235,7 @@
|
||||
name = "uranium airlock assembly"
|
||||
icon = 'icons/obj/doors/airlocks/station/uranium.dmi'
|
||||
airlock_type = /obj/machinery/door/airlock/uranium
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
mineral = "uranium"
|
||||
|
||||
@@ -243,7 +243,7 @@
|
||||
name = "plasma airlock assembly"
|
||||
icon = 'icons/obj/doors/airlocks/station/plasma.dmi'
|
||||
airlock_type = /obj/machinery/door/airlock/plasma
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
mineral = "plasma"
|
||||
|
||||
@@ -252,7 +252,7 @@
|
||||
desc = "Honk"
|
||||
icon = 'icons/obj/doors/airlocks/station/bananium.dmi'
|
||||
airlock_type = /obj/machinery/door/airlock/clown
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
mineral = "bananium"
|
||||
|
||||
@@ -260,7 +260,7 @@
|
||||
name = "sandstone airlock assembly"
|
||||
icon = 'icons/obj/doors/airlocks/station/sandstone.dmi'
|
||||
airlock_type = /obj/machinery/door/airlock/sandstone
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
mineral = "sandstone"
|
||||
|
||||
@@ -272,7 +272,7 @@
|
||||
icontext = "titanium"
|
||||
glass_type = /obj/machinery/door/airlock/glass_titanium
|
||||
airlock_type = /obj/machinery/door/airlock/titanium
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
mineral = "titanium"
|
||||
|
||||
@@ -287,7 +287,7 @@
|
||||
typetext = "highsecurity"
|
||||
icontext = "highsec"
|
||||
airlock_type = /obj/machinery/door/airlock/highsecurity
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_vault
|
||||
@@ -297,7 +297,7 @@
|
||||
typetext = "vault"
|
||||
icontext = "vault"
|
||||
airlock_type = /obj/machinery/door/airlock/vault
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_shuttle
|
||||
@@ -307,7 +307,7 @@
|
||||
typetext = "shuttle"
|
||||
icontext = "shuttle"
|
||||
airlock_type = /obj/machinery/door/airlock/shuttle
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_cult
|
||||
@@ -317,7 +317,7 @@
|
||||
typetext = "cult"
|
||||
icontext = "cult"
|
||||
airlock_type = /obj/machinery/door/airlock/cult
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_cult/glass
|
||||
@@ -336,7 +336,7 @@
|
||||
name = "wooden airlock assembly"
|
||||
icon = 'icons/obj/doors/airlocks/station/wood.dmi'
|
||||
airlock_type = /obj/machinery/door/airlock/wood
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
mineral = "wood"
|
||||
|
||||
@@ -347,7 +347,7 @@
|
||||
icontext = "viro"
|
||||
glass_type = /obj/machinery/door/airlock/glass_virology
|
||||
airlock_type = /obj/machinery/door/airlock/virology
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_viro/glass
|
||||
@@ -360,7 +360,7 @@
|
||||
overlays_file = 'icons/obj/doors/airlocks/centcom/overlays.dmi'
|
||||
icontext = "ele"
|
||||
airlock_type = /obj/machinery/door/airlock/centcom
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 1
|
||||
|
||||
/obj/structure/door_assembly/attackby(obj/item/W, mob/user, params)
|
||||
@@ -394,100 +394,100 @@
|
||||
icontype = input(user, "Please select a paintjob for this airlock.") in optionlist
|
||||
if((!in_range(src, usr) && src.loc != usr) || !WT.use(user))
|
||||
return
|
||||
var/has_solid = 0
|
||||
var/has_glass = 0
|
||||
var/has_solid = FALSE
|
||||
var/has_glass = FALSE
|
||||
switch(icontype)
|
||||
if("Public")
|
||||
icon = 'icons/obj/doors/airlocks/station/public.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/station/overlays.dmi'
|
||||
typetext = ""
|
||||
icontext = ""
|
||||
has_solid = 1
|
||||
has_glass = 1
|
||||
has_solid = TRUE
|
||||
has_glass = TRUE
|
||||
if("Public2")
|
||||
icon = 'icons/obj/doors/airlocks/station2/glass.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/station2/overlays.dmi'
|
||||
typetext = ""
|
||||
icontext = ""
|
||||
has_solid = 1
|
||||
has_glass = 1
|
||||
has_solid = TRUE
|
||||
has_glass = TRUE
|
||||
if("Engineering")
|
||||
icon = 'icons/obj/doors/airlocks/station/engineering.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/station/overlays.dmi'
|
||||
typetext = "engineering"
|
||||
icontext = "eng"
|
||||
has_solid = 1
|
||||
has_glass = 1
|
||||
has_solid = TRUE
|
||||
has_glass = TRUE
|
||||
if("Atmospherics")
|
||||
icon = 'icons/obj/doors/airlocks/station/atmos.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/station/overlays.dmi'
|
||||
typetext = "atmos"
|
||||
icontext = "atmo"
|
||||
has_solid = 1
|
||||
has_glass = 1
|
||||
has_solid = TRUE
|
||||
has_glass = TRUE
|
||||
if("Security")
|
||||
icon = 'icons/obj/doors/airlocks/station/security.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/station/overlays.dmi'
|
||||
typetext = "security"
|
||||
icontext = "sec"
|
||||
has_solid = 1
|
||||
has_glass = 1
|
||||
has_solid = TRUE
|
||||
has_glass = TRUE
|
||||
if("Command")
|
||||
icon = 'icons/obj/doors/airlocks/station/command.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/station/overlays.dmi'
|
||||
typetext = "command"
|
||||
icontext = "com"
|
||||
has_solid = 1
|
||||
has_glass = 1
|
||||
has_solid = TRUE
|
||||
has_glass = TRUE
|
||||
if("Medical")
|
||||
icon = 'icons/obj/doors/airlocks/station/medical.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/station/overlays.dmi'
|
||||
typetext = "medical"
|
||||
icontext = "med"
|
||||
has_solid = 1
|
||||
has_glass = 1
|
||||
has_solid = TRUE
|
||||
has_glass = TRUE
|
||||
if("Research")
|
||||
icon = 'icons/obj/doors/airlocks/station/research.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/station/overlays.dmi'
|
||||
typetext = "research"
|
||||
icontext = "res"
|
||||
has_solid = 1
|
||||
has_glass = 1
|
||||
has_solid = TRUE
|
||||
has_glass = TRUE
|
||||
if("Science")
|
||||
icon = 'icons/obj/doors/airlocks/station/science.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/station/overlays.dmi'
|
||||
typetext = "research"
|
||||
icontext = "res"
|
||||
has_solid = 1
|
||||
has_glass = 1
|
||||
has_solid = TRUE
|
||||
has_glass = TRUE
|
||||
if("Mining")
|
||||
icon = 'icons/obj/doors/airlocks/station/mining.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/station/overlays.dmi'
|
||||
typetext = "mining"
|
||||
icontext = "min"
|
||||
has_solid = 1
|
||||
has_glass = 1
|
||||
has_solid = TRUE
|
||||
has_glass = TRUE
|
||||
if("Maintenance")
|
||||
icon = 'icons/obj/doors/airlocks/station/maintenance.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/station/overlays.dmi'
|
||||
typetext = "maintenance"
|
||||
icontext = "mai"
|
||||
has_solid = 1
|
||||
has_glass = 0
|
||||
has_solid = TRUE
|
||||
has_glass = FALSE
|
||||
if("External")
|
||||
icon = 'icons/obj/doors/airlocks/external/external.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/external/overlays.dmi'
|
||||
typetext = "external"
|
||||
icontext = "ext"
|
||||
has_solid = 1
|
||||
has_glass = 0
|
||||
has_solid = TRUE
|
||||
has_glass = FALSE
|
||||
if("High Security")
|
||||
icon = 'icons/obj/doors/airlocks/highsec/highsec.dmi'
|
||||
overlays_file = 'icons/obj/doors/airlocks/highsec/overlays.dmi'
|
||||
typetext = "highsecurity"
|
||||
icontext = "highsec"
|
||||
has_solid = 1
|
||||
has_glass = 0
|
||||
has_solid = TRUE
|
||||
has_glass = FALSE
|
||||
if(has_solid)
|
||||
airlock_type = text2path("/obj/machinery/door/airlock/[typetext]")
|
||||
else
|
||||
@@ -534,7 +534,7 @@
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You secure the airlock assembly.</span>")
|
||||
src.name = "secured airlock assembly"
|
||||
src.anchored = 1
|
||||
src.anchored = TRUE
|
||||
else
|
||||
to_chat(user, "There is another door here!")
|
||||
|
||||
@@ -548,7 +548,7 @@
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You unsecure the airlock assembly.</span>")
|
||||
name = "airlock assembly"
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
|
||||
else if(istype(W, /obj/item/stack/cable_coil) && state == 0 && anchored )
|
||||
var/obj/item/stack/cable_coil/C = W
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
desc = "A nicely-crafted wooden dresser. It's filled with lots of undies."
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
icon_state = "dresser"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
|
||||
/obj/structure/dresser/attackby(obj/item/P, mob/user, params)
|
||||
if(istype(P, /obj/item/weapon/wrench))
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
desc = "A small wall mounted cabinet designed to hold a fire extinguisher."
|
||||
icon = 'icons/obj/wallmounts.dmi'
|
||||
icon_state = "extinguisher_closed"
|
||||
anchored = 1
|
||||
density = 0
|
||||
anchored = TRUE
|
||||
density = FALSE
|
||||
max_integrity = 200
|
||||
integrity_failure = 50
|
||||
var/obj/item/weapon/extinguisher/stored_extinguisher
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/obj/structure/falsewall
|
||||
name = "wall"
|
||||
desc = "A huge chunk of metal used to separate rooms."
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
icon = 'icons/turf/walls/wall.dmi'
|
||||
icon_state = "wall"
|
||||
var/mineral = /obj/item/stack/sheet/metal
|
||||
@@ -12,7 +12,7 @@
|
||||
var/walltype = /turf/closed/wall
|
||||
var/girder_type = /obj/structure/girder/displaced
|
||||
var/opening = 0
|
||||
density = 1
|
||||
density = TRUE
|
||||
opacity = 1
|
||||
max_integrity = 100
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/turf/closed/wall/r_wall/rust,
|
||||
/turf/closed/wall/clockwork)
|
||||
smooth = SMOOTH_TRUE
|
||||
can_be_unanchored = 0
|
||||
can_be_unanchored = FALSE
|
||||
CanAtmosPass = ATMOS_PASS_DENSITY
|
||||
|
||||
/obj/structure/falsewall/New(loc)
|
||||
@@ -34,7 +34,7 @@
|
||||
air_update_turf(1)
|
||||
|
||||
/obj/structure/falsewall/Destroy()
|
||||
density = 0
|
||||
density = FALSE
|
||||
air_update_turf(1)
|
||||
return ..()
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
do_the_flick()
|
||||
sleep(5)
|
||||
if(!QDELETED(src))
|
||||
density = 0
|
||||
density = FALSE
|
||||
set_opacity(0)
|
||||
update_icon()
|
||||
else
|
||||
@@ -60,7 +60,7 @@
|
||||
opening = 0
|
||||
return
|
||||
do_the_flick()
|
||||
density = 1
|
||||
density = TRUE
|
||||
sleep(5)
|
||||
if(!QDELETED(src))
|
||||
set_opacity(1)
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
var/obj/item/weapon/twohanded/fireaxe/fireaxe = new/obj/item/weapon/twohanded/fireaxe
|
||||
icon = 'icons/obj/wallmounts.dmi'
|
||||
icon_state = "fireaxe"
|
||||
anchored = 1
|
||||
density = 0
|
||||
anchored = TRUE
|
||||
density = FALSE
|
||||
armor = list(melee = 50, bullet = 20, laser = 0, energy = 100, bomb = 10, bio = 100, rad = 100, fire = 90, acid = 50)
|
||||
var/locked = 1
|
||||
var/open = 0
|
||||
var/locked = TRUE
|
||||
var/open = FALSE
|
||||
max_integrity = 150
|
||||
integrity_failure = 50
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/obj/structure/flora
|
||||
resistance_flags = FLAMMABLE
|
||||
max_integrity = 150
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
|
||||
//trees
|
||||
/obj/structure/flora/tree
|
||||
name = "tree"
|
||||
density = 1
|
||||
density = TRUE
|
||||
pixel_x = -16
|
||||
layer = FLY_LAYER
|
||||
var/cut = FALSE
|
||||
@@ -25,7 +25,7 @@
|
||||
playsound(get_turf(src), 'sound/effects/meteorimpact.ogg', 100 , 0, 0)
|
||||
icon = 'icons/obj/flora/pinetrees.dmi'
|
||||
icon_state = "tree_stump"
|
||||
density = 0
|
||||
density = FALSE
|
||||
pixel_x = -16
|
||||
name += " stump"
|
||||
cut = TRUE
|
||||
@@ -129,7 +129,7 @@
|
||||
name = "bush"
|
||||
icon = 'icons/obj/flora/snowflora.dmi'
|
||||
icon_state = "snowbush1"
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
|
||||
/obj/structure/flora/bush/Initialize()
|
||||
icon_state = "snowbush[rand(1, 6)]"
|
||||
@@ -308,7 +308,7 @@
|
||||
desc = "A volcanic rock"
|
||||
icon = 'icons/obj/flora/rocks.dmi'
|
||||
resistance_flags = FIRE_PROOF
|
||||
density = 1
|
||||
density = TRUE
|
||||
|
||||
/obj/structure/flora/rock/Initialize()
|
||||
..()
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
/obj/structure/fluff/bus/passable
|
||||
name = "bus"
|
||||
icon_state = "frontwalltop"
|
||||
density = 0
|
||||
density = FALSE
|
||||
layer = ABOVE_ALL_MOB_LAYER //except for the stairs tile, which should be set to OBJ_LAYER aka 3.
|
||||
|
||||
|
||||
@@ -126,8 +126,8 @@
|
||||
/obj/structure/fluff/divine
|
||||
name = "Miracle"
|
||||
icon = 'icons/obj/hand_of_god_structures.dmi'
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
|
||||
/obj/structure/fluff/divine/nexus
|
||||
name = "nexus"
|
||||
@@ -143,7 +143,7 @@
|
||||
name = "conversion altar"
|
||||
desc = "An altar dedicated to a deity."
|
||||
icon_state = "convertaltar"
|
||||
density = 0
|
||||
density = FALSE
|
||||
can_buckle = 1
|
||||
|
||||
/obj/structure/fluff/divine/powerpylon
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
outfit = /datum/outfit/ashwalker
|
||||
roundstart = FALSE
|
||||
death = FALSE
|
||||
anchored = 0
|
||||
density = 0
|
||||
anchored = FALSE
|
||||
density = FALSE
|
||||
flavour_text = "<font size=3><b>Y</b></font><b>ou are an ash walker. Your tribe worships <span class='danger'>the Necropolis</span>. The wastes are sacred ground, its monsters a blessed bounty. \
|
||||
You have seen lights in the distance... they foreshadow the arrival of outsiders that seek to tear apart the Necropolis and its domain. Fresh sacrifices for your nest.</b>"
|
||||
assignedrole = "Ash Walker"
|
||||
@@ -113,8 +113,8 @@
|
||||
mob_species = /datum/species/golem
|
||||
roundstart = FALSE
|
||||
death = FALSE
|
||||
anchored = 0
|
||||
density = 0
|
||||
anchored = FALSE
|
||||
density = FALSE
|
||||
var/has_owner = FALSE
|
||||
var/can_transfer = TRUE //if golems can switch bodies to this new shell
|
||||
var/mob/living/owner = null //golem's owner if it has one
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/obj/structure/girder
|
||||
name = "girder"
|
||||
icon_state = "girder"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
layer = BELOW_OBJ_LAYER
|
||||
var/state = GIRDER_NORMAL
|
||||
var/girderpasschance = 20 // percentage chance that a projectile passes through the girder.
|
||||
@@ -302,7 +302,7 @@
|
||||
/obj/structure/girder/displaced
|
||||
name = "displaced girder"
|
||||
icon_state = "displaced"
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
state = GIRDER_DISPLACED
|
||||
girderpasschance = 25
|
||||
max_integrity = 120
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
name = "grille"
|
||||
icon = 'icons/obj/structures.dmi'
|
||||
icon_state = "grille"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
flags = CONDUCT
|
||||
pressure_resistance = 5*ONE_ATMOSPHERE
|
||||
layer = BELOW_OBJ_LAYER
|
||||
@@ -156,7 +156,7 @@
|
||||
WD = new/obj/structure/window/fulltile(loc) //normal window
|
||||
WD.setDir(dir_to_set)
|
||||
WD.ini_dir = dir_to_set
|
||||
WD.anchored = 0
|
||||
WD.anchored = FALSE
|
||||
WD.state = 0
|
||||
ST.use(2)
|
||||
to_chat(user, "<span class='notice'>You place [WD] on [src].</span>")
|
||||
@@ -238,7 +238,7 @@
|
||||
|
||||
/obj/structure/grille/broken // Pre-broken grilles for map placement
|
||||
icon_state = "brokengrille"
|
||||
density = 0
|
||||
density = FALSE
|
||||
obj_integrity = 20
|
||||
broken = 1
|
||||
rods_amount = 1
|
||||
@@ -274,7 +274,7 @@
|
||||
|
||||
/obj/structure/grille/ratvar/broken
|
||||
icon_state = "brokenratvargrille"
|
||||
density = 0
|
||||
density = FALSE
|
||||
obj_integrity = 20
|
||||
broken = 1
|
||||
rods_amount = 1
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
desc = "A locker that holds guns."
|
||||
icon = 'icons/obj/closet.dmi'
|
||||
icon_state = "shotguncase"
|
||||
anchored = 0
|
||||
density = 1
|
||||
anchored = FALSE
|
||||
density = TRUE
|
||||
opacity = 0
|
||||
var/case_type = ""
|
||||
var/gun_category = /obj/item/weapon/gun
|
||||
var/open = 1
|
||||
var/open = TRUE
|
||||
var/capacity = 4
|
||||
|
||||
/obj/structure/guncase/Initialize(mapload)
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
desc = "Some odd beacon thing."
|
||||
icon = 'icons/mob/hivebot.dmi'
|
||||
icon_state = "def_radar-off"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
var/bot_type = "norm"
|
||||
var/bot_amt = 10
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/obj/structure/holosign
|
||||
name = "holo sign"
|
||||
icon = 'icons/effects/effects.dmi'
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
max_integrity = 1
|
||||
armor = list(melee = 0, bullet = 50, laser = 50, energy = 50, bomb = 0, bio = 0, rad = 0, fire = 20, acid = 20)
|
||||
var/obj/item/weapon/holosign_creator/projector
|
||||
@@ -44,7 +44,7 @@
|
||||
desc = "A short holographic barrier which can only be passed by walking."
|
||||
icon_state = "holosign_sec"
|
||||
pass_flags = LETPASSTHROW
|
||||
density = 1
|
||||
density = TRUE
|
||||
max_integrity = 20
|
||||
var/allow_walk = 1 //can we pass through it on walk intent
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
/obj/structure/holosign/barrier/cyborg
|
||||
name = "Energy Field"
|
||||
desc = "A fragile energy field that blocks movement. Excels at blocking lethal projectiles."
|
||||
density = 1
|
||||
density = TRUE
|
||||
max_integrity = 10
|
||||
allow_walk = 0
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
desc = "This is the alpha and omega of sanitation."
|
||||
icon = 'icons/obj/janitor.dmi'
|
||||
icon_state = "cart"
|
||||
anchored = 0
|
||||
density = 1
|
||||
anchored = FALSE
|
||||
density = TRUE
|
||||
container_type = OPENCONTAINER
|
||||
//copypaste sorry
|
||||
var/amount_per_transfer_from_this = 5 //shit I dunno, adding this so syringes stop runtime erroring. --NeoFite
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
icon = 'icons/obj/kitchen.dmi'
|
||||
icon_state = "spikeframe"
|
||||
desc = "The frame of a meat spike."
|
||||
density = 1
|
||||
anchored = 0
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
max_integrity = 200
|
||||
|
||||
/obj/structure/kitchenspike_frame/attackby(obj/item/I, mob/user, params)
|
||||
@@ -46,8 +46,8 @@
|
||||
icon = 'icons/obj/kitchen.dmi'
|
||||
icon_state = "spike"
|
||||
desc = "A spike for collecting meat from animals"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
buckle_lying = 0
|
||||
can_buckle = 1
|
||||
max_integrity = 250
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
desc = "A lightweight support lattice. These hold our station together."
|
||||
icon = 'icons/obj/smooth_structures/lattice.dmi'
|
||||
icon_state = "lattice"
|
||||
density = 0
|
||||
anchored = 1
|
||||
density = FALSE
|
||||
anchored = TRUE
|
||||
armor = list(melee = 50, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 80, acid = 50)
|
||||
max_integrity = 50
|
||||
layer = LATTICE_LAYER //under pipes
|
||||
|
||||
@@ -17,5 +17,5 @@ This memorial has been designed for him and any future coders to perish.
|
||||
desc = "Here rests an unknown employee\nUnknown by name or rank\nWhose acts will not be forgotten"
|
||||
icon = 'icons/obj/tomb.dmi'
|
||||
icon_state = "memorial"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
/obj/structure/mineral_door
|
||||
name = "metal door"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
opacity = TRUE
|
||||
|
||||
icon = 'icons/obj/doors/mineral_doors.dmi'
|
||||
@@ -28,7 +28,7 @@
|
||||
air_update_turf(1)
|
||||
|
||||
/obj/structure/mineral_door/Destroy()
|
||||
density = 0
|
||||
density = FALSE
|
||||
air_update_turf(1)
|
||||
return ..()
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
set_opacity(FALSE)
|
||||
flick("[initial_state]opening",src)
|
||||
sleep(10)
|
||||
density = 0
|
||||
density = FALSE
|
||||
state = 1
|
||||
air_update_turf(1)
|
||||
update_icon()
|
||||
@@ -108,7 +108,7 @@
|
||||
playsound(loc, closeSound, 100, 1)
|
||||
flick("[initial_state]closing",src)
|
||||
sleep(10)
|
||||
density = 1
|
||||
density = TRUE
|
||||
set_opacity(TRUE)
|
||||
state = 0
|
||||
air_update_turf(1)
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
desc = "Mirror mirror on the wall, who's the most robust of them all?"
|
||||
icon = 'icons/obj/watercloset.dmi'
|
||||
icon_state = "mirror"
|
||||
density = 0
|
||||
anchored = 1
|
||||
density = FALSE
|
||||
anchored = TRUE
|
||||
max_integrity = 200
|
||||
integrity_failure = 100
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "Fill it with water, but don't forget a mop!"
|
||||
icon = 'icons/obj/janitor.dmi'
|
||||
icon_state = "mopbucket"
|
||||
density = 1
|
||||
density = TRUE
|
||||
container_type = OPENCONTAINER
|
||||
var/amount_per_transfer_from_this = 5 //shit I dunno, adding this so syringes stop runtime erroring. --NeoFite
|
||||
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
/obj/structure/bodycontainer
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
icon_state = "morgue1"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
max_integrity = 400
|
||||
|
||||
var/obj/structure/tray/connected = null
|
||||
var/locked = 0
|
||||
var/locked = FALSE
|
||||
var/opendir = SOUTH
|
||||
|
||||
/obj/structure/bodycontainer/Destroy()
|
||||
@@ -196,7 +196,7 @@ GLOBAL_LIST_EMPTY(crematoriums)
|
||||
else
|
||||
audible_message("<span class='italics'>You hear a roar as the crematorium activates.</span>")
|
||||
|
||||
locked = 1
|
||||
locked = TRUE
|
||||
update_icon()
|
||||
|
||||
for(var/mob/living/M in conts)
|
||||
@@ -219,7 +219,7 @@ GLOBAL_LIST_EMPTY(crematoriums)
|
||||
new /obj/effect/decal/cleanable/ash(src)
|
||||
sleep(30)
|
||||
if(!QDELETED(src))
|
||||
locked = 0
|
||||
locked = FALSE
|
||||
update_icon()
|
||||
playsound(src.loc, 'sound/machines/ding.ogg', 50, 1) //you horrible people
|
||||
|
||||
@@ -245,10 +245,10 @@ GLOBAL_LIST_EMPTY(crematoriums)
|
||||
*/
|
||||
/obj/structure/tray
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
density = 1
|
||||
density = TRUE
|
||||
layer = BELOW_OBJ_LAYER
|
||||
var/obj/structure/bodycontainer/connected = null
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
pass_flags = LETPASSTHROW
|
||||
max_integrity = 350
|
||||
|
||||
|
||||
@@ -311,8 +311,8 @@
|
||||
name = "space minimoog"
|
||||
icon = 'icons/obj/musician.dmi'
|
||||
icon_state = "minimoog"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
var/datum/song/song
|
||||
|
||||
|
||||
@@ -365,7 +365,7 @@
|
||||
"[user] tightens \the [src]'s casters.", \
|
||||
"<span class='notice'>You tighten \the [src]'s casters. Now it can be played again.</span>", \
|
||||
"<span class='italics'>You hear ratchet.</span>")
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
else if(anchored)
|
||||
playsound(src.loc, O.usesound, 50, 1)
|
||||
to_chat(user, "<span class='notice'> You begin to loosen \the [src]'s casters...</span>")
|
||||
@@ -374,6 +374,6 @@
|
||||
"[user] loosens \the [src]'s casters.", \
|
||||
"<span class='notice'>You loosen \the [src]. Now it can be pulled somewhere else.</span>", \
|
||||
"<span class='italics'>You hear ratchet.</span>")
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
else
|
||||
return ..()
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
desc = "A board for pinning important notices upon."
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
icon_state = "nboard00"
|
||||
density = 0
|
||||
anchored = 1
|
||||
density = FALSE
|
||||
anchored = TRUE
|
||||
max_integrity = 150
|
||||
var/notices = 0
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
name = "statue"
|
||||
desc = "An incredibly lifelike marble carving."
|
||||
icon_state = "human_male"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
max_integrity = 200
|
||||
var/timer = 240 //eventually the person will be freed
|
||||
var/mob/living/petrified_mob
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
icon_state = "plasticflaps"
|
||||
armor = list(melee = 100, bullet = 80, laser = 80, energy = 100, bomb = 50, bio = 100, rad = 100, fire = 50, acid = 50)
|
||||
density = 0
|
||||
anchored = 1
|
||||
density = FALSE
|
||||
anchored = TRUE
|
||||
layer = ABOVE_MOB_LAYER
|
||||
var/state = PLASTIC_FLAPS_NORMAL
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
icon = 'icons/obj/stock_parts.dmi'
|
||||
icon_state = "box_0"
|
||||
desc = "An angled mirror for reflecting lasers. This one does so at a 90 degree angle."
|
||||
anchored = 0
|
||||
density = 1
|
||||
anchored = FALSE
|
||||
density = TRUE
|
||||
layer = BELOW_OBJ_LAYER
|
||||
var/finished = 0
|
||||
var/admin = 0 //Can't be rotated or deconstructed
|
||||
@@ -62,7 +62,7 @@
|
||||
if (do_after(user,20*W.toolspeed, target = src))
|
||||
if(!src || !WT.isOn())
|
||||
return
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
to_chat(user, "<span class='notice'>You weld \the [src] to the floor.</span>")
|
||||
if(1)
|
||||
if (WT.remove_fuel(0,user))
|
||||
@@ -154,7 +154,7 @@
|
||||
|
||||
/obj/structure/reflector/single/mapping
|
||||
admin = 1
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
|
||||
//DOUBLE
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
|
||||
/obj/structure/reflector/double/mapping
|
||||
admin = 1
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
|
||||
//BOX
|
||||
|
||||
@@ -201,7 +201,7 @@
|
||||
|
||||
/obj/structure/reflector/box/mapping
|
||||
admin = 1
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
|
||||
/obj/structure/reflector/ex_act()
|
||||
if(admin)
|
||||
|
||||
@@ -10,10 +10,10 @@ FLOOR SAFES
|
||||
desc = "A huge chunk of metal with a dial embedded in it. Fine print on the dial reads \"Scarborough Arms - 2 tumbler safe, guaranteed thermite resistant, explosion resistant, and assistant resistant.\""
|
||||
icon = 'icons/obj/structures.dmi'
|
||||
icon_state = "safe"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF
|
||||
var/open = 0 //is the safe open?
|
||||
var/open = FALSE //is the safe open?
|
||||
var/tumbler_1_pos //the tumbler position- from 0 to 72
|
||||
var/tumbler_1_open //the tumbler position to open at- 0 to 72
|
||||
var/tumbler_2_pos
|
||||
@@ -186,7 +186,7 @@ FLOOR SAFES
|
||||
/obj/structure/safe/floor
|
||||
name = "floor safe"
|
||||
icon_state = "floorsafe"
|
||||
density = 0
|
||||
density = FALSE
|
||||
level = 1 //underfloor
|
||||
layer = LOW_OBJ_LAYER
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
icon_state = "showcase_1"
|
||||
desc = "A stand with the empty body of a cyborg bolted to it."
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
var/deconstruction_state = SHOWCASE_CONSTRUCTED
|
||||
|
||||
/obj/structure/showcase/fakeid
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/obj/structure/sign
|
||||
icon = 'icons/obj/decals.dmi'
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
opacity = 0
|
||||
density = 0
|
||||
density = FALSE
|
||||
layer = SIGN_LAYER
|
||||
max_integrity = 100
|
||||
armor = list(melee = 50, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 50, acid = 50)
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
desc = "A wooden board with letters etched into it, used in seances."
|
||||
icon = 'icons/obj/objects.dmi'
|
||||
icon_state = "spirit_board"
|
||||
density = 1
|
||||
anchored = 0
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
var/virgin = 1
|
||||
var/next_use = 0
|
||||
var/planchette = "A"
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
desc = "Placeholder. Yell at Firecage if you SOMEHOW see this."
|
||||
icon = 'icons/obj/statue.dmi'
|
||||
icon_state = ""
|
||||
density = 1
|
||||
anchored = 0
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
max_integrity = 100
|
||||
var/oreAmount = 5
|
||||
var/material_drop_type = /obj/item/stack/sheet/metal
|
||||
@@ -26,7 +26,7 @@
|
||||
return
|
||||
user.visible_message("[user] loosened the [name]'s bolts!", \
|
||||
"<span class='notice'>You loosen the [name]'s bolts!</span>")
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
else
|
||||
if(!isfloorturf(src.loc))
|
||||
user.visible_message("<span class='warning'>A floor must be present to secure the [name]!</span>")
|
||||
@@ -39,7 +39,7 @@
|
||||
return
|
||||
user.visible_message("[user] has secured the [name]'s bolts.", \
|
||||
"<span class='notice'>You have secured the [name]'s bolts.</span>")
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
|
||||
else if(istype(W, /obj/item/weapon/gun/energy/plasmacutter))
|
||||
playsound(src, 'sound/items/welder.ogg', 100, 1)
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
desc = "Four metal legs with four framing rods for a table. You could easily pass through this."
|
||||
icon = 'icons/obj/structures.dmi'
|
||||
icon_state = "table_frame"
|
||||
density = 0
|
||||
anchored = 0
|
||||
density = FALSE
|
||||
anchored = FALSE
|
||||
layer = PROJECTILE_HIT_THRESHHOLD_LAYER
|
||||
max_integrity = 100
|
||||
var/framestack = /obj/item/stack/rods
|
||||
|
||||
@@ -17,15 +17,15 @@
|
||||
desc = "A square piece of metal standing on four metal legs. It can not move."
|
||||
icon = 'icons/obj/smooth_structures/table.dmi'
|
||||
icon_state = "table"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
layer = TABLE_LAYER
|
||||
climbable = TRUE
|
||||
pass_flags = LETPASSTHROW //You can throw objects over this, despite it's density.")
|
||||
var/frame = /obj/structure/table_frame
|
||||
var/framestack = /obj/item/stack/rods
|
||||
var/buildstack = /obj/item/stack/sheet/metal
|
||||
var/busy = 0
|
||||
var/busy = FALSE
|
||||
var/buildstackamount = 1
|
||||
var/framestackamount = 2
|
||||
var/deconstruction_ready = 1
|
||||
@@ -402,8 +402,8 @@
|
||||
desc = "Different from the Middle Ages version."
|
||||
icon = 'icons/obj/objects.dmi'
|
||||
icon_state = "rack"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
pass_flags = LETPASSTHROW //You can throw objects over this, despite it's density.
|
||||
max_integrity = 20
|
||||
|
||||
@@ -470,7 +470,7 @@
|
||||
|
||||
/obj/structure/rack/deconstruct(disassembled = TRUE)
|
||||
if(!(flags&NODECONSTRUCT))
|
||||
density = 0
|
||||
density = FALSE
|
||||
var/obj/item/weapon/rack_parts/newparts = new(loc)
|
||||
transfer_fingerprints_to(newparts)
|
||||
qdel(src)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
desc = "A simple yet bulky storage device for gas tanks. Holds up to 10 oxygen tanks and 10 plasma tanks."
|
||||
icon = 'icons/obj/objects.dmi'
|
||||
icon_state = "dispenser"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
max_integrity = 300
|
||||
var/oxygentanks = TANK_DISPENSER_CAPACITY
|
||||
var/plasmatanks = TANK_DISPENSER_CAPACITY
|
||||
@@ -68,7 +68,7 @@
|
||||
to_chat(user, "<span class='notice'>You put [I] in [src].</span>")
|
||||
update_icon()
|
||||
|
||||
/obj/structure/tank_dispenser/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = 0, \
|
||||
/obj/structure/tank_dispenser/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = FALSE, \
|
||||
datum/tgui/master_ui = null, datum/ui_state/state = GLOB.physical_state)
|
||||
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
|
||||
if(!ui)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "A thin platform with negatively-magnetized wheels."
|
||||
icon = 'icons/obj/objects.dmi'
|
||||
icon_state = "target_stake"
|
||||
density = 1
|
||||
density = TRUE
|
||||
flags = CONDUCT
|
||||
var/obj/item/target/pinned_target
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
if(istype(T) && user.drop_item())
|
||||
pinned_target = T
|
||||
T.pinnedLoc = src
|
||||
T.density = 1
|
||||
T.density = TRUE
|
||||
T.layer = OBJ_LAYER + 0.01
|
||||
T.loc = loc
|
||||
to_chat(user, "<span class='notice'>You slide the target into the stake.</span>")
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
name = "transit tube"
|
||||
icon = 'icons/obj/atmospherics/pipes/transit_tube.dmi'
|
||||
icon_state = "straight"
|
||||
density = 1
|
||||
density = TRUE
|
||||
layer = LOW_ITEM_LAYER
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
climbable = 1
|
||||
var/tube_construction = /obj/structure/c_transit_tube
|
||||
var/list/tube_dirs //list of directions this tube section can connect to.
|
||||
@@ -187,7 +187,7 @@
|
||||
dir = WEST
|
||||
|
||||
/obj/structure/transit_tube/diagonal/crossing
|
||||
density = 0
|
||||
density = FALSE
|
||||
icon_state = "diagonal_crossing"
|
||||
tube_construction = /obj/structure/c_transit_tube/diagonal/crossing
|
||||
|
||||
@@ -261,7 +261,7 @@
|
||||
/obj/structure/transit_tube/crossing
|
||||
icon_state = "crossing"
|
||||
tube_construction = /obj/structure/c_transit_tube/crossing
|
||||
density = 0
|
||||
density = FALSE
|
||||
|
||||
//mostly for mapping use
|
||||
/obj/structure/transit_tube/crossing/horizontal
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
name = "unattached transit tube"
|
||||
icon = 'icons/obj/atmospherics/pipes/transit_tube.dmi'
|
||||
icon_state = "straight"
|
||||
density = 0
|
||||
density = FALSE
|
||||
layer = LOW_ITEM_LAYER //same as the built tube
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
var/flipped = 0
|
||||
var/build_type = /obj/structure/transit_tube
|
||||
var/flipped_build_type
|
||||
@@ -154,5 +154,5 @@
|
||||
name = "unattached transit tube pod"
|
||||
icon = 'icons/obj/atmospherics/pipes/transit_tube.dmi'
|
||||
icon_state = "pod"
|
||||
anchored = 0
|
||||
density = 0
|
||||
anchored = FALSE
|
||||
density = FALSE
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
icon = 'icons/obj/atmospherics/pipes/transit_tube.dmi'
|
||||
icon_state = "pod"
|
||||
animate_movement = FORWARD_STEPS
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
layer = BELOW_OBJ_LAYER
|
||||
var/moving = 0
|
||||
var/datum/gas_mixture/air_contents = new()
|
||||
@@ -138,7 +138,7 @@
|
||||
current_tube.pod_stopped(src, dir)
|
||||
break
|
||||
|
||||
density = 1
|
||||
density = TRUE
|
||||
moving = 0
|
||||
|
||||
var/obj/structure/transit_tube/TT = locate(/obj/structure/transit_tube) in loc
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "stepping on me is a guaranteed bad day"
|
||||
icon = 'icons/obj/hand_of_god_structures.dmi'
|
||||
icon_state = "trap"
|
||||
density = 0
|
||||
density = FALSE
|
||||
anchored = TRUE
|
||||
alpha = 30 //initially quite hidden when not "recharging"
|
||||
var/last_trigger = 0
|
||||
@@ -130,7 +130,7 @@
|
||||
name = "divine ward"
|
||||
desc = "A divine barrier, It looks like you could destroy it with enough effort, or wait for it to dissipate..."
|
||||
icon_state = "ward"
|
||||
density = 1
|
||||
density = TRUE
|
||||
time_between_triggers = 1200 //Exists for 2 minutes
|
||||
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
desc = "The HT-451, a torque rotation-based, waste disposal unit for small matter. This one seems remarkably clean."
|
||||
icon = 'icons/obj/watercloset.dmi'
|
||||
icon_state = "toilet00"
|
||||
density = 0
|
||||
anchored = 1
|
||||
var/open = 0 //if the lid is up
|
||||
density = FALSE
|
||||
anchored = TRUE
|
||||
var/open = FALSE //if the lid is up
|
||||
var/cistern = 0 //if the cistern bit is open
|
||||
var/w_items = 0 //the combined w_class of all the items in the cistern
|
||||
var/mob/living/swirlie = null //the mob being given a swirlie
|
||||
@@ -124,8 +124,8 @@
|
||||
desc = "The HU-452, an experimental urinal. Comes complete with experimental urinal cake."
|
||||
icon = 'icons/obj/watercloset.dmi'
|
||||
icon_state = "urinal"
|
||||
density = 0
|
||||
anchored = 1
|
||||
density = FALSE
|
||||
anchored = TRUE
|
||||
var/exposed = 0 // can you currently put an item inside
|
||||
var/obj/item/hiddenitem = null // what's in the urinal
|
||||
|
||||
@@ -194,10 +194,10 @@
|
||||
desc = "The HS-451. Installed in the 2550s by the Nanotrasen Hygiene Division."
|
||||
icon = 'icons/obj/watercloset.dmi'
|
||||
icon_state = "shower"
|
||||
density = 0
|
||||
anchored = 1
|
||||
density = FALSE
|
||||
anchored = TRUE
|
||||
use_power = NO_POWER_USE
|
||||
var/on = 0
|
||||
var/on = FALSE
|
||||
var/obj/effect/mist/mymist = null
|
||||
var/ismist = 0 //needs a var so we can make it linger~
|
||||
var/watertemp = "normal" //freezing, normal, or boiling
|
||||
@@ -208,7 +208,7 @@
|
||||
icon = 'icons/obj/watercloset.dmi'
|
||||
icon_state = "mist"
|
||||
layer = FLY_LAYER
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
mouse_opacity = 0
|
||||
|
||||
|
||||
@@ -419,8 +419,8 @@
|
||||
icon = 'icons/obj/watercloset.dmi'
|
||||
icon_state = "sink"
|
||||
desc = "A sink used for washing one's hands and face."
|
||||
anchored = 1
|
||||
var/busy = 0 //Something's being washed at the moment
|
||||
anchored = TRUE
|
||||
var/busy = FALSE //Something's being washed at the moment
|
||||
var/dispensedreagent = "water" // for whenever plumbing happens
|
||||
|
||||
|
||||
@@ -441,13 +441,13 @@
|
||||
washing_face = 1
|
||||
user.visible_message("<span class='notice'>[user] starts washing their [washing_face ? "face" : "hands"]...</span>", \
|
||||
"<span class='notice'>You start washing your [washing_face ? "face" : "hands"]...</span>")
|
||||
busy = 1
|
||||
busy = TRUE
|
||||
|
||||
if(!do_after(user, 40, target = src))
|
||||
busy = 0
|
||||
busy = FALSE
|
||||
return
|
||||
|
||||
busy = 0
|
||||
busy = FALSE
|
||||
|
||||
user.visible_message("<span class='notice'>[user] washes their [washing_face ? "face" : "hands"] using [src].</span>", \
|
||||
"<span class='notice'>You wash your [washing_face ? "face" : "hands"] using [src].</span>")
|
||||
@@ -512,11 +512,11 @@
|
||||
|
||||
if(user.a_intent != INTENT_HARM)
|
||||
to_chat(user, "<span class='notice'>You start washing [O]...</span>")
|
||||
busy = 1
|
||||
busy = TRUE
|
||||
if(!do_after(user, 40, target = src))
|
||||
busy = 0
|
||||
busy = FALSE
|
||||
return 1
|
||||
busy = 0
|
||||
busy = FALSE
|
||||
O.clean_blood()
|
||||
O.acid_level = 0
|
||||
create_reagents(5)
|
||||
@@ -567,9 +567,9 @@
|
||||
color = "#ACD1E9" //Default color, didn't bother hardcoding other colors, mappers can and should easily change it.
|
||||
alpha = 200 //Mappers can also just set this to 255 if they want curtains that can't be seen through
|
||||
layer = SIGN_LAYER
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
opacity = 0
|
||||
density = 0
|
||||
density = FALSE
|
||||
var/open = TRUE
|
||||
|
||||
/obj/structure/curtain/proc/toggle()
|
||||
@@ -580,13 +580,13 @@
|
||||
if(!open)
|
||||
icon_state = "closed"
|
||||
layer = WALL_OBJ_LAYER
|
||||
density = 1
|
||||
density = TRUE
|
||||
open = FALSE
|
||||
|
||||
else
|
||||
icon_state = "open"
|
||||
layer = SIGN_LAYER
|
||||
density = 0
|
||||
density = FALSE
|
||||
open = TRUE
|
||||
|
||||
/obj/structure/curtain/attackby(obj/item/W, mob/user)
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
|
||||
name = "windoor Assembly"
|
||||
icon_state = "l_windoor_assembly01"
|
||||
anchored = 0
|
||||
density = 0
|
||||
anchored = FALSE
|
||||
density = FALSE
|
||||
dir = NORTH
|
||||
|
||||
var/ini_dir
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
//Vars to help with the icon's name
|
||||
var/facing = "l" //Does the windoor open to the left or right?
|
||||
var/secure = 0 //Whether or not this creates a secure windoor
|
||||
var/secure = FALSE //Whether or not this creates a secure windoor
|
||||
var/state = "01" //How far the door assembly has progressed
|
||||
CanAtmosPass = ATMOS_PASS_PROC
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
air_update_turf(1)
|
||||
|
||||
/obj/structure/windoor_assembly/Destroy()
|
||||
density = 0
|
||||
density = FALSE
|
||||
air_update_turf(1)
|
||||
return ..()
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
to_chat(user, "<span class='warning'>There is already a windoor in that location!</span>")
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You secure the windoor assembly.</span>")
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
if(secure)
|
||||
name = "secure anchored windoor assembly"
|
||||
else
|
||||
@@ -140,7 +140,7 @@
|
||||
if(!src || !anchored)
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You unsecure the windoor assembly.</span>")
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
if(secure)
|
||||
name = "secure windoor assembly"
|
||||
else
|
||||
@@ -160,7 +160,7 @@
|
||||
|
||||
P.use(2)
|
||||
to_chat(user, "<span class='notice'>You reinforce the windoor.</span>")
|
||||
secure = 1
|
||||
secure = TRUE
|
||||
if(anchored)
|
||||
name = "secure anchored windoor assembly"
|
||||
else
|
||||
@@ -265,7 +265,7 @@
|
||||
|
||||
if(loc && electronics)
|
||||
|
||||
density = 1 //Shouldn't matter but just incase
|
||||
density = TRUE //Shouldn't matter but just incase
|
||||
to_chat(user, "<span class='notice'>You finish the windoor.</span>")
|
||||
|
||||
if(secure)
|
||||
@@ -277,7 +277,7 @@
|
||||
windoor.icon_state = "rightsecureopen"
|
||||
windoor.base_state = "rightsecure"
|
||||
windoor.setDir(dir)
|
||||
windoor.density = 0
|
||||
windoor.density = FALSE
|
||||
|
||||
if(electronics.one_access)
|
||||
windoor.req_one_access = electronics.accesses
|
||||
@@ -300,7 +300,7 @@
|
||||
windoor.icon_state = "rightopen"
|
||||
windoor.base_state = "right"
|
||||
windoor.setDir(dir)
|
||||
windoor.density = 0
|
||||
windoor.density = FALSE
|
||||
|
||||
windoor.req_access = electronics.accesses
|
||||
windoor.electronics = electronics
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
name = "window"
|
||||
desc = "A window."
|
||||
icon_state = "window"
|
||||
density = 1
|
||||
density = TRUE
|
||||
layer = ABOVE_OBJ_LAYER //Just above doors
|
||||
pressure_resistance = 4*ONE_ATMOSPHERE
|
||||
anchored = 1 //initially is 0 for tile smoothing
|
||||
anchored = TRUE //initially is 0 for tile smoothing
|
||||
flags = ON_BORDER
|
||||
max_integrity = 25
|
||||
var/ini_dir = null
|
||||
@@ -19,7 +19,7 @@
|
||||
var/glass_amount = 1
|
||||
var/mutable_appearance/crack_overlay
|
||||
var/list/debris = list()
|
||||
can_be_unanchored = 1
|
||||
can_be_unanchored = TRUE
|
||||
resistance_flags = ACID_PROOF
|
||||
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 80, "acid" = 100)
|
||||
CanAtmosPass = ATMOS_PASS_PROC
|
||||
@@ -345,7 +345,7 @@
|
||||
revrotate()
|
||||
|
||||
/obj/structure/window/Destroy()
|
||||
density = 0
|
||||
density = FALSE
|
||||
air_update_turf(1)
|
||||
update_nearby_icons()
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user