Changes some 1s and 0s to TRUE and FALSE (#1967)

This commit is contained in:
CitadelStationBot
2017-07-10 18:13:16 -05:00
committed by kevinz000
parent 1b70c06474
commit ff6bbbedf5
522 changed files with 1924 additions and 1917 deletions
+2 -2
View File
@@ -12,9 +12,9 @@
name = "acid"
desc = "Burbling corrossive stuff."
icon_state = "acid"
density = 0
density = FALSE
opacity = 0
anchored = 1
anchored = TRUE
resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF
layer = ABOVE_NORMAL_TURF_LAYER
var/turf/target
+5 -5
View File
@@ -4,8 +4,8 @@
name = "anomaly"
desc = "A mysterious anomaly, seen commonly only in the region of space that the station orbits..."
icon_state = "bhole3"
density = 0
anchored = 1
density = FALSE
anchored = TRUE
light_range = 3
var/movechance = 70
var/obj/item/device/assembly/signaler/anomaly/aSignal = null
@@ -81,7 +81,7 @@
/obj/effect/anomaly/grav
name = "gravitational anomaly"
icon_state = "shield2"
density = 0
density = FALSE
var/boing = 0
/obj/effect/anomaly/grav/New()
@@ -125,7 +125,7 @@
/obj/effect/anomaly/flux
name = "flux wave anomaly"
icon_state = "electricity2"
density = 1
density = TRUE
var/canshock = 0
var/shockdamage = 20
var/explosive = TRUE
@@ -177,7 +177,7 @@
name = "bluespace anomaly"
icon = 'icons/obj/projectiles.dmi'
icon_state = "bluespace"
density = 1
density = TRUE
/obj/effect/anomaly/bluespace/New()
..()
+2 -2
View File
@@ -5,8 +5,8 @@
var/id = null //id of this bump_teleporter.
var/id_target = null //id of bump_teleporter which this moves you to.
invisibility = INVISIBILITY_ABSTRACT //nope, can't see this
anchored = 1
density = 1
anchored = TRUE
density = TRUE
opacity = 0
var/static/list/AllTeleporters
+1 -1
View File
@@ -49,7 +49,7 @@
var/original_name
desc = "A large piece of space-resistant printed paper."
icon = 'icons/obj/contraband.dmi'
anchored = 1
anchored = TRUE
var/ruined = FALSE
var/random_basetype
var/never_random = FALSE // used for the 'random' subclasses.
+2 -2
View File
@@ -1,6 +1,6 @@
/obj/effect/decal
name = "decal"
anchored = 1
anchored = TRUE
resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF
/obj/effect/decal/ex_act(severity, target)
@@ -19,7 +19,7 @@
var/group = TURF_DECAL_PAINT
icon = 'icons/turf/decals.dmi'
icon_state = "warningline"
anchored = 1
anchored = TRUE
//in case we need some special decals
/obj/effect/turf_decal/proc/get_decal()
+1 -1
View File
@@ -31,4 +31,4 @@
desc = "A lightweight support lattice."
icon = 'icons/obj/smooth_structures/lattice.dmi'
icon_state = "lattice"
density = 1
density = TRUE
@@ -2,7 +2,7 @@
name = "fire"
icon_state = "explosion_particle"
opacity = 1
anchored = 1
anchored = TRUE
/obj/effect/particle_effect/expl_particles/New()
..()
@@ -26,7 +26,7 @@
icon = 'icons/effects/96x96.dmi'
icon_state = "explosion"
opacity = 1
anchored = 1
anchored = TRUE
mouse_opacity = 0
pixel_x = -32
pixel_y = -32
@@ -9,8 +9,8 @@
name = "foam"
icon_state = "foam"
opacity = 0
anchored = 1
density = 0
anchored = TRUE
density = FALSE
layer = WALL_OBJ_LAYER
mouse_opacity = 0
var/amount = 3
@@ -194,9 +194,9 @@
/obj/structure/foamedmetal
icon = 'icons/effects/effects.dmi'
icon_state = "metalfoam"
density = 1
density = TRUE
opacity = 1 // changed in New()
anchored = 1
anchored = TRUE
resistance_flags = FIRE_PROOF | ACID_PROOF
name = "foamed metal"
desc = "A lightweight foamed metal wall."
@@ -210,7 +210,7 @@
/obj/structure/foamedmetal/Destroy()
density = 0
density = FALSE
air_update_turf(1)
return ..()
@@ -8,8 +8,8 @@
/datum/effect_system/trail_follow
var/turf/oldposition
var/processing = 1
var/on = 1
var/processing = TRUE
var/on = TRUE
/datum/effect_system/trail_follow/set_up(atom/atom)
attach(atom)
@@ -20,8 +20,8 @@
return ..()
/datum/effect_system/trail_follow/proc/stop()
processing = 0
on = 0
processing = FALSE
on = FALSE
oldposition = null
/datum/effect_system/trail_follow/steam
@@ -29,12 +29,12 @@
/datum/effect_system/trail_follow/steam/start()
if(!on)
on = 1
processing = 1
on = TRUE
processing = TRUE
if(!oldposition)
oldposition = get_turf(holder)
if(processing)
processing = 0
processing = FALSE
if(number < 3)
var/obj/effect/particle_effect/steam/I = new /obj/effect/particle_effect/steam(oldposition)
number++
@@ -45,13 +45,13 @@
number--
spawn(2)
if(on)
processing = 1
processing = TRUE
start()
/obj/effect/particle_effect/ion_trails
name = "ion trails"
icon_state = "ion_trails"
anchored = 1
anchored = TRUE
/obj/effect/particle_effect/ion_trails/flight
icon_state = "ion_trails_flight"
@@ -64,12 +64,12 @@
/datum/effect_system/trail_follow/ion/start() //Whoever is responsible for this abomination of code should become an hero
if(!on)
on = 1
processing = 1
on = TRUE
processing = TRUE
if(!oldposition)
oldposition = get_turf(holder)
if(processing)
processing = 0
processing = FALSE
var/turf/T = get_turf(holder)
if(T != oldposition)
if(!T.has_gravity() || !nograv_required)
@@ -83,7 +83,7 @@
oldposition = T
spawn(2)
if(on)
processing = 1
processing = TRUE
start()
/datum/effect_system/trail_follow/ion/proc/set_dir(obj/effect/particle_effect/ion_trails/I)
@@ -10,7 +10,7 @@
pixel_y = -32
opacity = 0
layer = FLY_LAYER
anchored = 1
anchored = TRUE
mouse_opacity = 0
animate_movement = 0
var/amount = 4
@@ -176,7 +176,7 @@
G.garbage_collect()
for(var/obj/machinery/atmospherics/components/unary/U in T)
if(!isnull(U.welded) && !U.welded) //must be an unwelded vent pump or vent scrubber.
U.welded = 1
U.welded = TRUE
U.update_icon()
U.visible_message("<span class='danger'>[U] was frozen shut!</span>")
for(var/mob/living/L in T)
@@ -19,7 +19,7 @@
/obj/effect/particle_effect/sparks
name = "sparks"
icon_state = "sparks"
anchored = 1
anchored = TRUE
light_range = 1
/obj/effect/particle_effect/sparks/New()
@@ -43,7 +43,7 @@ steam.start() -- spawns the effect
/obj/effect/particle_effect/steam
name = "steam"
icon_state = "extinguish"
density = 0
density = FALSE
/obj/effect/particle_effect/steam/New()
..()
+2 -2
View File
@@ -2,9 +2,9 @@
desc = "A space wizard's magic wall."
name = "FORCEWALL"
icon_state = "m_shield"
anchored = 1
anchored = TRUE
opacity = 0
density = 1
density = TRUE
CanAtmosPass = ATMOS_PASS_DENSITY
/obj/effect/forcefield/cult
+2 -2
View File
@@ -3,9 +3,9 @@
/obj/structure/glowshroom
name = "glowshroom"
desc = "Mycena Bregprox, a species of mushroom that glows in the dark."
anchored = 1
anchored = TRUE
opacity = 0
density = 0
density = FALSE
icon = 'icons/obj/lighting.dmi'
icon_state = "glowshroom" //replaced in New
layer = ABOVE_NORMAL_TURF_LAYER
+2 -2
View File
@@ -2,7 +2,7 @@
name = "landmark"
icon = 'icons/mob/screen_gen.dmi'
icon_state = "x2"
anchored = 1
anchored = TRUE
invisibility = INVISIBILITY_ABSTRACT
/obj/effect/landmark/New()
@@ -18,7 +18,7 @@
name = "start"
icon = 'icons/mob/screen_gen.dmi'
icon_state = "x"
anchored = 1
anchored = TRUE
/obj/effect/landmark/start/New()
GLOB.start_landmarks_list += src
+3 -3
View File
@@ -1,8 +1,8 @@
/obj/effect/mine
name = "dummy mine"
desc = "Better stay away from that thing."
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon = 'icons/obj/weapons.dmi'
icon_state = "uglymine"
var/triggered = 0
@@ -95,7 +95,7 @@
desc = "pick me up"
icon = 'icons/effects/effects.dmi'
icon_state = "electricity2"
density = 0
density = FALSE
var/duration = 0
/obj/effect/mine/pickup/New()
+2 -2
View File
@@ -4,8 +4,8 @@
desc = "It's a ... present?"
icon = 'icons/obj/items.dmi'
icon_state = "strangepresent"
density = 1
anchored = 0
density = TRUE
anchored = FALSE
/obj/effect/beam
name = "beam"
+4 -4
View File
@@ -22,17 +22,17 @@
name = "Palm tree"
icon = 'icons/misc/beach2.dmi'
icon_state = "palm1"
density = 1
density = TRUE
layer = WALL_OBJ_LAYER
anchored = 1
anchored = TRUE
/obj/effect/overlay/palmtree_l
name = "Palm tree"
icon = 'icons/misc/beach2.dmi'
icon_state = "palm2"
density = 1
density = TRUE
layer = WALL_OBJ_LAYER
anchored = 1
anchored = TRUE
/obj/effect/overlay/coconut
name = "Coconuts"
+3 -3
View File
@@ -3,8 +3,8 @@
name = "web"
icon = 'icons/effects/effects.dmi'
desc = "it's stringy and sticky"
anchored = 1
density = 0
anchored = TRUE
density = FALSE
max_integrity = 15
@@ -80,7 +80,7 @@
name = "spiderling"
desc = "It never stays still for long."
icon_state = "spiderling"
anchored = 0
anchored = FALSE
layer = PROJECTILE_HIT_THRESHHOLD_LAYER
max_integrity = 3
var/amount_grown = 0
+1 -1
View File
@@ -5,7 +5,7 @@
var/stopper = 1 // stops throwers
var/mobs_only = FALSE
invisibility = INVISIBILITY_ABSTRACT // nope cant see this shit
anchored = 1
anchored = TRUE
/obj/effect/step_trigger/proc/Trigger(atom/movable/A)
return 0
@@ -1,7 +1,7 @@
//temporary visual effects
/obj/effect/temp_visual
icon_state = "nothing"
anchored = 1
anchored = TRUE
layer = ABOVE_MOB_LAYER
mouse_opacity = 0
var/duration = 10 //in deciseconds
+1 -1
View File
@@ -68,7 +68,7 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
var/list/attack_verb //Used in attackby() to say how something was attacked "[x] has been [z.attack_verb] by [y] with [z]"
var/list/species_exception = null // list() of species types, if a species cannot put items in a certain slot, but species type is in list, it will be able to wear that item
var/suittoggled = 0
var/suittoggled = FALSE
var/hooded = 0
var/mob/thrownby = null
+2 -2
View File
@@ -51,9 +51,9 @@
D.bolt()
if(WAND_EMERGENCY)
if(D.emergency)
D.emergency = 0
D.emergency = FALSE
else
D.emergency = 1
D.emergency = TRUE
D.update_icon()
else
to_chat(user, "<span class='danger'>[src] does not have access to this door.</span>")
+1 -1
View File
@@ -138,7 +138,7 @@
qdel(src)
. = TRUE
/obj/item/toy/crayon/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = 0, datum/tgui/master_ui = null, datum/ui_state/state = GLOB.hands_state)
/obj/item/toy/crayon/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = FALSE, datum/tgui/master_ui = null, datum/ui_state/state = GLOB.hands_state)
// tgui is a plague upon this codebase
SStgui.try_update_ui(user, src, ui_key, ui, force_open)
+1 -1
View File
@@ -4,7 +4,7 @@
icon = 'icons/obj/module.dmi'
icon_state = "power_mod"
var/on = 0 //Are we currently active??
var/on = FALSE //Are we currently active??
var/menu_message = ""
/obj/item/radio/integrated/Initialize()
+1 -1
View File
@@ -37,7 +37,7 @@
name = initial(name)
icon_state = initial(icon_state)
/obj/item/device/aicard/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = 0, \
/obj/item/device/aicard/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = FALSE, \
datum/tgui/master_ui = null, datum/ui_state/state = GLOB.hands_state)
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
if(!ui)
@@ -89,7 +89,7 @@
/obj/effect/dummy/chameleon
name = ""
desc = ""
density = 0
density = FALSE
var/can_move = 0
var/obj/item/device/chameleon/master = null
@@ -9,7 +9,7 @@
slot_flags = SLOT_BELT
materials = list(MAT_METAL=50, MAT_GLASS=20)
actions_types = list(/datum/action/item_action/toggle_light)
var/on = 0
var/on = FALSE
var/brightness_on = 4 //range of light when on
var/flashlight_power = 1 //strength of the light when on
@@ -208,7 +208,7 @@
w_class = WEIGHT_CLASS_BULKY
flags = CONDUCT
materials = list()
on = 1
on = TRUE
// green-shaded desk lamp
@@ -271,7 +271,7 @@
. = ""
/obj/item/device/flashlight/flare/proc/turn_off()
on = 0
on = FALSE
force = initial(src.force)
damtype = initial(src.damtype)
if(ismob(loc))
@@ -415,7 +415,7 @@
update_icon()
/obj/item/device/flashlight/glowstick/proc/turn_off()
on = 0
on = FALSE
update_icon()
/obj/item/device/flashlight/glowstick/update_icon()
@@ -14,7 +14,7 @@
materials = list(MAT_METAL = 150, MAT_GLASS = 150)
var/scanning = 0
var/radiation_count = 0
var/emagged = 0
var/emagged = FALSE
/obj/item/device/geiger_counter/New()
..()
@@ -126,7 +126,7 @@
return 0
user.visible_message("<span class='notice'>[user] refastens [src]'s maintenance panel!</span>", "<span class='notice'>You reset [src] to its factory settings!</span>")
playsound(user, 'sound/items/screwdriver2.ogg', 50, 1)
emagged = 0
emagged = FALSE
radiation_count = 0
update_icon()
return 1
@@ -149,7 +149,7 @@
to_chat(user, "<span class='warning'>Turn off [src] before you perform this action!</span>")
return 0
to_chat(user, "<span class='warning'>You override [src]'s radiation storing protocols. It will now generate small doses of radiation, and stored rads are now projected into creatures you scan.</span>")
emagged = 1
emagged = TRUE
#undef RAD_LEVEL_NORMAL
#undef RAD_LEVEL_MODERATE
+1 -1
View File
@@ -57,7 +57,7 @@ GLOBAL_LIST_EMPTY(GPS_list)
tracking = TRUE
/obj/item/device/gps/ui_interact(mob/user, ui_key = "gps", datum/tgui/ui = null, force_open = 0, datum/tgui/master_ui = null, datum/ui_state/state = GLOB.default_state) // Remember to use the appropriate state.
/obj/item/device/gps/ui_interact(mob/user, ui_key = "gps", datum/tgui/ui = null, force_open = FALSE, datum/tgui/master_ui = null, datum/ui_state/state = GLOB.default_state) // Remember to use the appropriate state.
if(emped)
to_chat(user, "[src] fizzles weakly.")
return
@@ -15,7 +15,7 @@
var/max_energy = 5
var/effectchance = 33
var/recharging = 0
var/recharge_locked = 0
var/recharge_locked = FALSE
var/obj/item/weapon/stock_parts/micro_laser/diode //used for upgrading!
@@ -150,7 +150,7 @@
START_PROCESSING(SSobj, src)
if(energy <= 0)
to_chat(user, "<span class='warning'>[src]'s battery is overused, it needs time to recharge!</span>")
recharge_locked = 1
recharge_locked = TRUE
flick_overlay_view(I, targloc, 10)
icon_state = "pointer"
@@ -161,5 +161,5 @@
if(energy >= max_energy)
energy = max_energy
recharging = 0
recharge_locked = 0
recharge_locked = FALSE
..()
@@ -53,7 +53,7 @@
var/max_uses = 20
var/uses = 0
var/emagged = 0
var/emagged = FALSE
var/failmsg = ""
// How much to increase per each glass?
var/increment = 5
+2 -2
View File
@@ -6,7 +6,7 @@
w_class = WEIGHT_CLASS_SMALL
siemens_coefficient = 1
var/spamcheck = 0
var/emagged = 0
var/emagged = FALSE
var/list/voicespan = list(SPAN_COMMAND)
/obj/item/device/megaphone/get_held_item_speechspans(mob/living/carbon/user)
@@ -19,7 +19,7 @@
/obj/item/device/megaphone/emag_act(mob/user)
to_chat(user, "<span class='warning'>You overload \the [src]'s voice synthesizer.</span>")
emagged = 1
emagged = TRUE
voicespan = list(SPAN_REALLYBIG, "userdanger")
/obj/item/device/megaphone/sec
+5 -5
View File
@@ -16,7 +16,7 @@
var/power_drained = 0 // has drained this much power
var/max_power = 1e10 // maximum power that can be drained before exploding
var/mode = 0 // 0 = off, 1=clamped (off), 2=operating
var/admins_warned = 0 // stop spam, only warn the admins once that we are about to boom
var/admins_warned = FALSE // stop spam, only warn the admins once that we are about to boom
var/const/DISCONNECTED = 0
var/const/CLAMPED_OFF = 1
@@ -35,20 +35,20 @@
attached = null
if(mode == OPERATING)
STOP_PROCESSING(SSobj, src)
anchored = 0
anchored = FALSE
if(CLAMPED_OFF)
if(!attached)
return
if(mode == OPERATING)
STOP_PROCESSING(SSobj, src)
anchored = 1
anchored = TRUE
if(OPERATING)
if(!attached)
return
START_PROCESSING(SSobj, src)
anchored = 1
anchored = TRUE
mode = value
update_icon()
@@ -135,7 +135,7 @@
if(power_drained > max_power * 0.98)
if (!admins_warned)
admins_warned = 1
admins_warned = TRUE
message_admins("Power sink at ([x],[y],[z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>) is 95% full. Explosion imminent.")
playsound(src, 'sound/effects/screech.ogg', 100, 1, 1)
@@ -8,7 +8,7 @@
slot_flags = SLOT_BACK
w_class = WEIGHT_CLASS_HUGE
materials = list(MAT_METAL=10000, MAT_GLASS=2500)
var/on = 1
var/on = TRUE
var/code = 2
var/frequency = 1449
var/shock_cooldown = 0
@@ -2,7 +2,7 @@
name = "station intercom"
desc = "Talk through this."
icon_state = "intercom"
anchored = 1
anchored = TRUE
w_class = WEIGHT_CLASS_BULKY
canhear_range = 2
var/number = 0
@@ -107,7 +107,7 @@
var/area/A = get_area(src)
if(!A || emped)
on = 0
on = FALSE
else
on = A.powered(EQUIP) // set "on" to the power status
@@ -5,7 +5,7 @@
icon_state = "walkietalkie"
item_state = "walkietalkie"
dog_fashion = /datum/dog_fashion/back
var/on = 1 // 0 for off
var/on = TRUE // 0 for off
var/last_transmission
var/frequency = 1459 //common chat
var/traitor_frequency = 0 //tune to frequency to unlock traitor supplies
@@ -104,7 +104,7 @@
else
ui_interact(user)
/obj/item/device/radio/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = 0, \
/obj/item/device/radio/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = FALSE, \
datum/tgui/master_ui = null, datum/ui_state/state = GLOB.inventory_state)
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
if(!ui)
@@ -530,12 +530,12 @@
listening = 0
for (var/ch_name in channels)
channels[ch_name] = 0
on = 0
on = FALSE
spawn(200)
if(emped == curremp) //Don't fix it if it's been EMP'd again
emped = 0
if (!istype(src, /obj/item/device/radio/intercom)) // intercoms will turn back on on their own
on = 1
on = TRUE
..()
///////////////////////////////
+1 -1
View File
@@ -12,7 +12,7 @@ MASS SPECTROMETER
name = "\improper T-ray scanner"
desc = "A terahertz-ray emitter and scanner used to detect underfloor objects such as cables and pipes."
icon_state = "t-ray0"
var/on = 0
var/on = FALSE
slot_flags = SLOT_BELT
w_class = WEIGHT_CLASS_SMALL
item_state = "electronic"
@@ -171,7 +171,7 @@ effective or pretty fucking useless.
var/mob/living/carbon/human/user = null
var/charge = 300
var/max_charge = 300
var/on = 0
var/on = FALSE
var/old_alpha = 0
actions_types = list(/datum/action/item_action/toggle)
@@ -194,14 +194,14 @@ effective or pretty fucking useless.
src.user = user
START_PROCESSING(SSobj, src)
old_alpha = user.alpha
on = 1
on = TRUE
/obj/item/device/shadowcloak/proc/Deactivate()
to_chat(user, "<span class='notice'>You deactivate [src].</span>")
STOP_PROCESSING(SSobj, src)
if(user)
user.alpha = old_alpha
on = 0
on = FALSE
user = null
/obj/item/device/shadowcloak/dropped(mob/user)
@@ -8,7 +8,7 @@
var/obj/item/weapon/tank/tank_two
var/obj/item/device/attached_device
var/mob/attacher = null
var/valve_open = 0
var/valve_open = FALSE
var/toggle = 1
origin_tech = "materials=1;engineering=1"
@@ -79,7 +79,7 @@
if (src.loc == usr)
if(tank_one && href_list["tankone"])
split_gases()
valve_open = 0
valve_open = FALSE
tank_one.loc = get_turf(src)
tank_one = null
update_icon()
@@ -87,7 +87,7 @@
w_class = WEIGHT_CLASS_NORMAL
else if(tank_two && href_list["tanktwo"])
split_gases()
valve_open = 0
valve_open = FALSE
tank_two.loc = get_turf(src)
tank_two = null
update_icon()
@@ -156,7 +156,7 @@
/obj/item/device/transfer_valve/proc/toggle_valve()
if(!valve_open && tank_one && tank_two)
valve_open = 1
valve_open = TRUE
var/turf/bombturf = get_turf(src)
var/area/A = get_area(bombturf)
@@ -202,7 +202,7 @@
else if(valve_open && tank_one && tank_two)
split_gases()
valve_open = 0
valve_open = FALSE
src.update_icon()
// this doesn't do anything but the timer etc. expects it to be here
+1 -1
View File
@@ -20,7 +20,7 @@
var/locomotion = 1
var/lawsync = 1
var/aisync = 1
var/panel_locked = 1
var/panel_locked = TRUE
/obj/item/robot_suit/New()
..()
@@ -7,7 +7,7 @@
icon = 'icons/obj/module.dmi'
icon_state = "cyborg_upgrade"
origin_tech = "programming=2"
var/locked = 0
var/locked = FALSE
var/installed = 0
var/require_module = 0
var/module_type = null
@@ -211,7 +211,7 @@
var/repair_amount = -1
var/repair_tick = 1
var/msg_cooldown = 0
var/on = 0
var/on = FALSE
var/powercost = 10
var/mob/living/silicon/robot/cyborg
var/datum/action/toggle_action
+2 -2
View File
@@ -3,7 +3,7 @@
desc = "A shooting target."
icon = 'icons/obj/objects.dmi'
icon_state = "target_h"
density = 0
density = FALSE
var/hp = 1800
var/obj/structure/target_stake/pinnedLoc
@@ -15,7 +15,7 @@
/obj/item/target/proc/nullPinnedLoc()
pinnedLoc = null
density = 0
density = FALSE
/obj/item/target/proc/removeOverlays()
cut_overlays()
+4 -4
View File
@@ -215,7 +215,7 @@
var/active = 0
w_class = WEIGHT_CLASS_SMALL
attack_verb = list("attacked", "struck", "hit")
var/hacked = 0
var/hacked = FALSE
/obj/item/toy/sword/attack_self(mob/user)
active = !( active )
@@ -247,13 +247,13 @@
to_chat(user, "<span class='notice'>You attach the ends of the two plastic swords, making a single double-bladed toy! You're fake-cool.</span>")
var/obj/item/weapon/twohanded/dualsaber/toy/newSaber = new /obj/item/weapon/twohanded/dualsaber/toy(user.loc)
if(hacked) // That's right, we'll only check the "original" "sword".
newSaber.hacked = 1
newSaber.hacked = TRUE
newSaber.item_color = "rainbow"
qdel(W)
qdel(src)
else if(istype(W, /obj/item/device/multitool))
if(hacked == 0)
hacked = 1
if(!hacked)
hacked = TRUE
item_color = "rainbow"
to_chat(user, "<span class='warning'>RNBW_ENGAGE</span>")
+2 -2
View File
@@ -10,8 +10,8 @@ ARCD
obj/item/weapon/construction
opacity = 0
density = 0
anchored = 0
density = FALSE
anchored = FALSE
flags = CONDUCT | NOBLUDGEON
force = 0
throwforce = 10
+3 -3
View File
@@ -9,8 +9,8 @@ RSF
icon = 'icons/obj/tools.dmi'
icon_state = "rcd"
opacity = 0
density = 0
anchored = 0
density = FALSE
anchored = FALSE
flags = NOBLUDGEON
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 0, acid = 0)
var/matter = 0
@@ -119,7 +119,7 @@ RSF
var/toxin = 0
var/cooldown = 0
var/cooldowndelay = 10
var/emagged = 0
var/emagged = FALSE
w_class = WEIGHT_CLASS_NORMAL
/obj/item/weapon/cookiesynth/examine(mob/user)
@@ -149,8 +149,8 @@
desc = "An aura of time-bluespace energy."
icon = 'icons/effects/effects.dmi'
icon_state = "chronofield"
density = 0
anchored = 1
density = FALSE
anchored = TRUE
blend_mode = BLEND_MULTIPLY
var/mob/living/captured = null
var/obj/item/weapon/gun/energy/chrono_gun/gun = null
@@ -630,7 +630,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
var/vapetime = 0 //this so it won't puff out clouds every tick
var/screw = 0 // kinky
var/super = 0 //for the fattest vapes dude.
var/emagged = 0 //LET THE GRIEF BEGIN
var/emagged = FALSE //LET THE GRIEF BEGIN
/obj/item/clothing/mask/vape/suicide_act(mob/user)
user.visible_message("<span class='suicide'>[user] is puffin hard on dat vape, [user.p_they()] trying to join the vape life on a whole notha plane!")//it doesn't give you cancer, it is cancer
@@ -693,7 +693,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
if(screw)
if(!emagged)
cut_overlays()
emagged = 1
emagged = TRUE
super = 0
to_chat(user, "<span class='warning'>You maximize the voltage in the [src]</span>")
add_overlay("vapeopen_high")
+1 -1
View File
@@ -6,7 +6,7 @@
icon_state = "lipstick"
w_class = WEIGHT_CLASS_TINY
var/colour = "red"
var/open = 0
var/open = FALSE
/obj/item/weapon/lipstick/purple
+14 -14
View File
@@ -15,7 +15,7 @@
actions_types = list(/datum/action/item_action/toggle_paddles)
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 50, acid = 50)
var/on = 0 //if the paddles are equipped (1) or on the defib (0)
var/on = FALSE //if the paddles are equipped (1) or on the defib (0)
var/safety = 1 //if you can zap people with the defibs on harm mode
var/powered = 0 //if there's a cell in the defib with enough power for a revive, blocks paddles from reviving otherwise
var/obj/item/weapon/twohanded/shockpaddles/paddles
@@ -161,7 +161,7 @@
if(on)
//Detach the paddles into the user's hands
if(!usr.put_in_hands(paddles))
on = 0
on = FALSE
to_chat(user, "<span class='warning'>You need a free hand to hold the paddles!</span>")
update_icon()
return
@@ -279,7 +279,7 @@
var/revivecost = 1000
var/cooldown = 0
var/busy = 0
var/busy = FALSE
var/obj/item/weapon/defibrillator/defib
var/req_defib = 1
var/combat = 0 //If it penetrates armor and gives additional functionality
@@ -302,7 +302,7 @@
if(check_defib_exists(mainunit, src) && req_defib)
defib = mainunit
loc = defib
busy = 0
busy = FALSE
update_icon()
/obj/item/weapon/twohanded/shockpaddles/update_icon()
@@ -396,7 +396,7 @@
return
if(!req_defib && !combat)
return
busy = 1
busy = TRUE
M.visible_message("<span class='danger'>[user] has touched [M] with [src]!</span>", \
"<span class='userdanger'>[user] has touched [M] with [src]!</span>")
M.adjustStaminaLoss(50)
@@ -408,7 +408,7 @@
if(req_defib)
defib.deductcharge(revivecost)
cooldown = 1
busy = 0
busy = FALSE
update_icon()
if(req_defib)
defib.cooldowncheck(user)
@@ -422,7 +422,7 @@
return
user.visible_message("<span class='warning'>[user] begins to place [src] on [H]'s chest.</span>",
"<span class='warning'>You overcharge the paddles and begin to place them onto [H]'s chest...</span>")
busy = 1
busy = TRUE
update_icon()
if(do_after(user, 30, target = H))
user.visible_message("<span class='notice'>[user] places [src] on [H]'s chest.</span>",
@@ -435,13 +435,13 @@
user.audible_message("<span class='warning'>[src] let out an urgent beep.</span>")
if(do_after(user, 30, target = H)) //Takes longer due to overcharging
if(!H)
busy = 0
busy = FALSE
update_icon()
return
if(H && H.stat == DEAD)
to_chat(user, "<span class='warning'>[H] is dead.</span>")
playsound(get_turf(src), 'sound/machines/defib_failed.ogg', 50, 0)
busy = 0
busy = FALSE
update_icon()
return
user.visible_message("<span class='boldannounce'><i>[user] shocks [H] with \the [src]!</span>", "<span class='warning'>You shock [H] with \the [src]!</span>")
@@ -460,18 +460,18 @@
if(req_defib)
defib.deductcharge(revivecost)
cooldown = 1
busy = 0
busy = FALSE
update_icon()
if(!req_defib)
recharge(60)
if(req_defib && (defib.cooldowncheck(user)))
return
busy = 0
busy = FALSE
update_icon()
/obj/item/weapon/twohanded/shockpaddles/proc/do_help(mob/living/carbon/human/H, mob/living/user)
user.visible_message("<span class='warning'>[user] begins to place [src] on [H]'s chest.</span>", "<span class='warning'>You begin to place [src] on [H]'s chest...</span>")
busy = 1
busy = TRUE
update_icon()
if(do_after(user, 30, target = H)) //beginning to place the paddles on patient's chest to allow some time for people to move away to stop the process
user.visible_message("<span class='notice'>[user] places [src] on [H]'s chest.</span>", "<span class='warning'>You place [src] on [H]'s chest.</span>")
@@ -491,7 +491,7 @@
if((!src.combat && !req_defib) || (req_defib && !defib.combat))
user.audible_message("<span class='warning'>[req_defib ? "[defib]" : "[src]"] buzzes: Patient's chest is obscured. Operation aborted.</span>")
playsound(get_turf(src), 'sound/machines/defib_failed.ogg', 50, 0)
busy = 0
busy = FALSE
update_icon()
return
if(H.stat == DEAD)
@@ -563,7 +563,7 @@
else
user.visible_message("<span class='warning'>[req_defib ? "[defib]" : "[src]"] buzzes: Patient is not in a valid state. Operation aborted.</span>")
playsound(get_turf(src), 'sound/machines/defib_failed.ogg', 50, 0)
busy = 0
busy = FALSE
update_icon()
/obj/item/weapon/twohanded/shockpaddles/cyborg
+13 -13
View File
@@ -13,13 +13,13 @@
materials = list(MAT_METAL=500)
origin_tech = "combat=1;plasmatech=2;engineering=2"
resistance_flags = FIRE_PROOF
var/status = 0
var/lit = 0 //on or off
var/operating = 0//cooldown
var/status = FALSE
var/lit = FALSE //on or off
var/operating = FALSE//cooldown
var/obj/item/weapon/weldingtool/weldtool = null
var/obj/item/device/assembly/igniter/igniter = null
var/obj/item/weapon/tank/internals/plasma/ptank = null
var/warned_admins = 0 //for the message_admins() when lit
var/warned_admins = FALSE //for the message_admins() when lit
//variables for prebuilt flamethrowers
var/create_full = FALSE
var/create_with_tank = FALSE
@@ -161,7 +161,7 @@
START_PROCESSING(SSobj, src)
if(!warned_admins)
message_admins("[ADMIN_LOOKUPFLW(user)] has lit a flamethrower.")
warned_admins = 1
warned_admins = TRUE
else
STOP_PROCESSING(SSobj,src)
update_icon()
@@ -170,16 +170,16 @@
..()
weldtool = locate(/obj/item/weapon/weldingtool) in contents
igniter = locate(/obj/item/device/assembly/igniter) in contents
weldtool.status = 0
igniter.secured = 0
status = 1
weldtool.status = FALSE
igniter.secured = FALSE
status = TRUE
update_icon()
//Called from turf.dm turf/dblclick
/obj/item/weapon/flamethrower/proc/flame_turf(turflist)
if(!lit || operating)
return
operating = 1
operating = TRUE
var/turf/previousturf = get_turf(src)
for(var/turf/T in turflist)
if(T == previousturf)
@@ -193,7 +193,7 @@
default_ignite(T)
sleep(1)
previousturf = T
operating = 0
operating = FALSE
for(var/mob/M in viewers(1, loc))
if((M.client && M.machine == src))
attack_self(M)
@@ -217,11 +217,11 @@
if(create_full)
if(!weldtool)
weldtool = new /obj/item/weapon/weldingtool(src)
weldtool.status = 0
weldtool.status = FALSE
if(!igniter)
igniter = new igniter_type(src)
igniter.secured = 0
status = 1
igniter.secured = FALSE
status = TRUE
if(create_with_tank)
ptank = new /obj/item/weapon/tank/internals/plasma/full(src)
update_icon()
@@ -15,7 +15,7 @@
var/max_signs = 10
var/creation_time = 0 //time to create a holosign in deciseconds.
var/holosign_type = /obj/structure/holosign/wetsign
var/holocreator_busy = 0 //to prevent placing multiple holo barriers at once
var/holocreator_busy = FALSE //to prevent placing multiple holo barriers at once
/obj/item/weapon/holosign_creator/afterattack(atom/target, mob/user, flag)
if(flag)
@@ -34,11 +34,11 @@
if(signs.len < max_signs)
playsound(src.loc, 'sound/machines/click.ogg', 20, 1)
if(creation_time)
holocreator_busy = 1
holocreator_busy = TRUE
if(!do_after(user, creation_time, target = target))
holocreator_busy = 0
holocreator_busy = FALSE
return
holocreator_busy = 0
holocreator_busy = FALSE
if(signs.len >= max_signs)
return
if(is_blocked_turf(T, TRUE)) //don't try to sneak dense stuff on our tile during the wait.
@@ -3,7 +3,7 @@
desc = "Used to implant occupants with mindshield implants."
icon = 'icons/obj/machines/implantchair.dmi'
icon_state = "implantchair"
density = 1
density = TRUE
opacity = 0
anchored = TRUE
@@ -26,7 +26,7 @@
update_icon()
/obj/machinery/implantchair/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = 0, \
/obj/machinery/implantchair/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = FALSE, \
datum/tgui/master_ui = null, datum/ui_state/state = GLOB.notcontained_state)
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
@@ -80,7 +80,7 @@
origin_tech = "combat=3;magnets=4;syndicate=4"
block_chance = 50
possible_colors = list("red", "blue", "green", "purple")
var/hacked = 0
var/hacked = FALSE
/obj/item/weapon/melee/energy/sword/Destroy()
STOP_PROCESSING(SSobj, src)
@@ -87,7 +87,7 @@
force = 12 //9 hit crit
w_class = WEIGHT_CLASS_NORMAL
var/cooldown = 0
var/on = 1
var/on = TRUE
/obj/item/weapon/melee/classic_baton/attack(mob/living/target, mob/living/user)
if(!on)
@@ -143,7 +143,7 @@
w_class = WEIGHT_CLASS_SMALL
needs_permit = 0
force = 0
on = 0
on = FALSE
/obj/item/weapon/melee/classic_baton/telescopic/suicide_act(mob/user)
var/mob/living/carbon/human/H = user
@@ -278,11 +278,11 @@
/obj/item/weapon/storage/backpack/satchel/flat/hide(var/intact)
if(intact)
invisibility = INVISIBILITY_MAXIMUM
anchored = 1 //otherwise you can start pulling, cover it, and drag around an invisible backpack.
anchored = TRUE //otherwise you can start pulling, cover it, and drag around an invisible backpack.
icon_state = "[initial(icon_state)]2"
else
invisibility = initial(invisibility)
anchored = 0
anchored = FALSE
icon_state = initial(icon_state)
/obj/item/weapon/storage/backpack/satchel/flat/Initialize(mapload)
@@ -15,13 +15,13 @@
var/icon_locking = "secureb"
var/icon_sparking = "securespark"
var/icon_opened = "secure0"
var/locked = 1
var/locked = TRUE
var/code = ""
var/l_code = null
var/l_set = 0
var/l_setshort = 0
var/l_hacking = 0
var/open = 0
var/open = FALSE
w_class = WEIGHT_CLASS_NORMAL
max_w_class = WEIGHT_CLASS_SMALL
max_combined_w_class = 14
@@ -92,7 +92,7 @@
src.l_code = src.code
src.l_set = 1
else if ((src.code == src.l_code) && (src.l_set == 1))
src.locked = 0
src.locked = FALSE
cut_overlays()
add_overlay(icon_opened)
src.code = null
@@ -100,7 +100,7 @@
src.code = "ERROR"
else
if ((href_list["type"] == "R") && (!src.l_setshort))
src.locked = 1
src.locked = TRUE
cut_overlays()
src.code = null
src.close(usr)
@@ -180,8 +180,8 @@
force = 8
w_class = WEIGHT_CLASS_GIGANTIC
max_w_class = 8
anchored = 1
density = 0
anchored = TRUE
density = FALSE
cant_hold = list(/obj/item/weapon/storage/secure/briefcase)
/obj/item/weapon/storage/secure/safe/PopulateContents()
@@ -142,7 +142,7 @@
else
. = ..()
/obj/item/weapon/tank/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = 0, \
/obj/item/weapon/tank/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = FALSE, \
datum/tgui/master_ui = null, datum/ui_state/state = GLOB.hands_state)
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
if(!ui)
@@ -14,7 +14,7 @@
resistance_flags = FIRE_PROOF
var/obj/item/weapon/noz
var/on = 0
var/on = FALSE
var/volume = 500
/obj/item/weapon/watertank/New()
@@ -46,7 +46,7 @@
//Detach the nozzle into the user's hands
if(!user.put_in_hands(noz))
on = 0
on = FALSE
to_chat(user, "<span class='warning'>You need a free hand to hold the mister!</span>")
return
noz.loc = user
@@ -337,7 +337,7 @@
slowdown = 1
actions_types = list(/datum/action/item_action/activate_injector)
var/on = 0
var/on = FALSE
volume = 300
var/usage_ratio = 5 //5 unit added per 1 removed
var/injection_amount = 1
@@ -403,13 +403,13 @@
. += filling
/obj/item/weapon/reagent_containers/chemtank/proc/turn_on()
on = 1
on = TRUE
START_PROCESSING(SSobj, src)
if(ismob(loc))
to_chat(loc, "<span class='notice'>[src] turns on.</span>")
/obj/item/weapon/reagent_containers/chemtank/proc/turn_off()
on = 0
on = FALSE
STOP_PROCESSING(SSobj, src)
if(ismob(loc))
to_chat(loc, "<span class='notice'>[src] turns off.</span>")
+1 -1
View File
@@ -335,7 +335,7 @@
materials = list(MAT_METAL=70, MAT_GLASS=30)
origin_tech = "engineering=1;plasmatech=1"
var/welding = 0 //Whether or not the welding tool is off(0), on(1) or currently welding(2)
var/status = 1 //Whether the welder is secured or unsecured (able to attach rods to it to make a flamethrower)
var/status = TRUE //Whether the welder is secured or unsecured (able to attach rods to it to make a flamethrower)
var/max_fuel = 20 //The max amount of fuel the welder can hold
var/change_icons = 1
var/can_off_process = 0
+4 -4
View File
@@ -260,7 +260,7 @@
max_integrity = 200
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 100, acid = 70)
resistance_flags = FIRE_PROOF
var/hacked = 0
var/hacked = FALSE
var/brightness_on = 6 //TWICE AS BRIGHT AS A REGULAR ESWORD
var/list/possible_colors = list("red", "blue", "green", "purple")
@@ -388,8 +388,8 @@
/obj/item/weapon/twohanded/dualsaber/attackby(obj/item/weapon/W, mob/user, params)
if(istype(W, /obj/item/device/multitool))
if(hacked == 0)
hacked = 1
if(!hacked)
hacked = TRUE
to_chat(user, "<span class='warning'>2XRNBW_ENGAGE</span>")
item_color = "rainbow"
update_icon()
@@ -490,7 +490,7 @@
hitsound = "swing_hit"
sharpness = IS_SHARP
actions_types = list(/datum/action/item_action/startchainsaw)
var/on = 0
var/on = FALSE
/obj/item/weapon/twohanded/required/chainsaw/attack_self(mob/user)
on = !on
+2 -2
View File
@@ -214,13 +214,13 @@ GLOBAL_DATUM_INIT(acid_overlay, /mutable_appearance, mutable_appearance('icons/e
/obj/proc/tesla_act(var/power)
being_shocked = 1
being_shocked = TRUE
var/power_bounced = power / 2
tesla_zap(src, 3, power_bounced)
addtimer(CALLBACK(src, .proc/reset_shocked), 10)
/obj/proc/reset_shocked()
being_shocked = 0
being_shocked = FALSE
//the obj is deconstructed into pieces, whether through careful disassembly or when destroyed.
/obj/proc/deconstruct(disassembled = TRUE)
+2 -2
View File
@@ -63,9 +63,9 @@
/obj/structure/proc/do_climb(atom/movable/A)
if(climbable)
density = 0
density = FALSE
. = step(A,get_dir(A,src.loc))
density = 1
density = TRUE
/obj/structure/proc/climb_structure(mob/living/user)
src.add_fingerprint(user)
+3 -3
View File
@@ -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()
+4 -4
View File
@@ -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
+1 -1
View File
@@ -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
+5 -5
View File
@@ -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
+1 -1
View File
@@ -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
+5 -5
View File
@@ -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'
+4 -4
View File
@@ -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
+62 -62
View File
@@ -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
+2 -2
View File
@@ -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))
+2 -2
View File
@@ -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
+6 -6
View File
@@ -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 -4
View File
@@ -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
+5 -5
View File
@@ -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()
..()
+4 -4
View File
@@ -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
+3 -3
View File
@@ -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
+5 -5
View File
@@ -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
+3 -3
View File
@@ -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)
+2 -2
View File
@@ -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
+3 -3
View File
@@ -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
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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)
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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

Some files were not shown because too many files have changed in this diff Show More