Changes some 1s and 0s to TRUE and FALSE (#1967)
This commit is contained in:
committed by
kevinz000
parent
1b70c06474
commit
ff6bbbedf5
@@ -36,11 +36,11 @@
|
||||
if(!O.anchored)
|
||||
if(cargo_holder.cargo.len < cargo_holder.cargo_capacity)
|
||||
chassis.visible_message("[chassis] lifts [target] and starts to load it into cargo compartment.")
|
||||
O.anchored = 1
|
||||
O.anchored = TRUE
|
||||
if(do_after_cooldown(target))
|
||||
cargo_holder.cargo += O
|
||||
O.loc = chassis
|
||||
O.anchored = 0
|
||||
O.anchored = FALSE
|
||||
occupant_message("<span class='notice'>[target] successfully loaded.</span>")
|
||||
log_message("Loaded [O]. Cargo compartment capacity: [cargo_holder.cargo_capacity - cargo_holder.cargo.len]")
|
||||
else
|
||||
@@ -87,11 +87,11 @@
|
||||
if(!O.anchored)
|
||||
if(cargo_holder.cargo.len < cargo_holder.cargo_capacity)
|
||||
chassis.visible_message("[chassis] lifts [target] and starts to load it into cargo compartment.")
|
||||
O.anchored = 1
|
||||
O.anchored = TRUE
|
||||
if(do_after_cooldown(target))
|
||||
cargo_holder.cargo += O
|
||||
O.loc = chassis
|
||||
O.anchored = 0
|
||||
O.anchored = FALSE
|
||||
occupant_message("<span class='notice'>[target] successfully loaded.</span>")
|
||||
log_message("Loaded [O]. Cargo compartment capacity: [cargo_holder.cargo_capacity - cargo_holder.cargo.len]")
|
||||
else
|
||||
@@ -259,7 +259,7 @@
|
||||
if(do_after_cooldown(target))
|
||||
chassis.spark_system.start()
|
||||
var/obj/machinery/door/airlock/T = new /obj/machinery/door/airlock(target)
|
||||
T.autoclose = 1
|
||||
T.autoclose = TRUE
|
||||
playsound(target, 'sound/items/deconstruct.ogg', 50, 1)
|
||||
playsound(target, 'sound/effects/sparks2.ogg', 50, 1)
|
||||
|
||||
|
||||
@@ -12,15 +12,15 @@
|
||||
|
||||
/obj/machinery/mech_bay_recharge_port
|
||||
name = "mech bay power port"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
dir = EAST
|
||||
icon = 'icons/mecha/mech_bay.dmi'
|
||||
icon_state = "recharge_port"
|
||||
var/obj/mecha/recharging_mech
|
||||
var/obj/machinery/computer/mech_bay_power_console/recharge_console
|
||||
var/max_charge = 50
|
||||
var/on = 0
|
||||
var/on = FALSE
|
||||
var/repairability = 0
|
||||
var/turf/recharging_turf = null
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
return
|
||||
interact(user)
|
||||
|
||||
/obj/machinery/computer/mech_bay_power_console/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = 0, datum/tgui/master_ui = null, datum/ui_state/state = GLOB.default_state)
|
||||
/obj/machinery/computer/mech_bay_power_console/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = FALSE, datum/tgui/master_ui = null, datum/ui_state/state = GLOB.default_state)
|
||||
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
|
||||
if(!ui)
|
||||
ui = new(user, src, ui_key, "mech_bay_power_console", "Mech Bay Power Control Console", 400, 170, master_ui, state)
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
icon_state = "fab-idle"
|
||||
name = "exosuit fabricator"
|
||||
desc = "Nothing is being built."
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
use_power = IDLE_POWER_USE
|
||||
idle_power_usage = 20
|
||||
active_power_usage = 5000
|
||||
@@ -87,7 +87,7 @@
|
||||
if(emagged)
|
||||
return
|
||||
|
||||
emagged = 0.5
|
||||
emagged = FALSE
|
||||
say("DB error \[Code 0x00F1\]")
|
||||
sleep(10)
|
||||
say("Attempting auto-repair...")
|
||||
@@ -96,7 +96,7 @@
|
||||
sleep(30)
|
||||
say("User DB truncated. Please contact your Nanotrasen system operator for future assistance.")
|
||||
req_access = null
|
||||
emagged = 1
|
||||
emagged = TRUE
|
||||
|
||||
/obj/machinery/mecha_part_fabricator/proc/output_parts_list(set_name)
|
||||
var/output = ""
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
name = "mecha"
|
||||
desc = "Exosuit"
|
||||
icon = 'icons/mecha/mecha.dmi'
|
||||
density = 1 //Dense. To raise the heat.
|
||||
density = TRUE //Dense. To raise the heat.
|
||||
opacity = 1 ///opaque. Menacing.
|
||||
anchored = 1 //no pulling around.
|
||||
anchored = TRUE //no pulling around.
|
||||
resistance_flags = FIRE_PROOF | ACID_PROOF
|
||||
layer = BELOW_MOB_LAYER//icon draw layer
|
||||
infra_luminosity = 15 //byond implementation is bugged.
|
||||
@@ -43,7 +43,7 @@
|
||||
var/dna_lock//dna-locking the mech
|
||||
var/list/proc_res = list() //stores proc owners, like proc_res["functionname"] = owner reference
|
||||
var/datum/effect_system/spark_spread/spark_system = new
|
||||
var/lights = 0
|
||||
var/lights = FALSE
|
||||
var/lights_power = 6
|
||||
var/last_user_hud = 1 // used to show/hide the mecha hud while preserving previous preference
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
const_holder.construct = new /datum/construction/reversible/mecha/ripley(const_holder)
|
||||
const_holder.icon = 'icons/mecha/mech_construction.dmi'
|
||||
const_holder.icon_state = "ripley0"
|
||||
const_holder.density = 1
|
||||
const_holder.density = TRUE
|
||||
const_holder.cut_overlays(TRUE)
|
||||
qdel(src)
|
||||
return
|
||||
@@ -305,7 +305,7 @@
|
||||
const_holder.construct = new /datum/construction/reversible/mecha/gygax(const_holder)
|
||||
const_holder.icon = 'icons/mecha/mech_construction.dmi'
|
||||
const_holder.icon_state = "gygax0"
|
||||
const_holder.density = 1
|
||||
const_holder.density = TRUE
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
@@ -590,7 +590,7 @@
|
||||
const_holder.construct = new /datum/construction/reversible/mecha/firefighter(const_holder)
|
||||
const_holder.icon = 'icons/mecha/mech_construction.dmi'
|
||||
const_holder.icon_state = "fireripley0"
|
||||
const_holder.density = 1
|
||||
const_holder.density = TRUE
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
@@ -812,7 +812,7 @@
|
||||
/datum/construction/mecha/honker_chassis/spawn_result()
|
||||
var/obj/item/mecha_parts/chassis/const_holder = holder
|
||||
const_holder.construct = new /datum/construction/mecha/honker(const_holder)
|
||||
const_holder.density = 1
|
||||
const_holder.density = TRUE
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
@@ -890,7 +890,7 @@
|
||||
const_holder.construct = new /datum/construction/reversible/mecha/durand(const_holder)
|
||||
const_holder.icon = 'icons/mecha/mech_construction.dmi'
|
||||
const_holder.icon_state = "durand0"
|
||||
const_holder.density = 1
|
||||
const_holder.density = TRUE
|
||||
del src
|
||||
return
|
||||
|
||||
@@ -1178,7 +1178,7 @@
|
||||
const_holder.construct = new /datum/construction/reversible/mecha/phazon(const_holder)
|
||||
const_holder.icon = 'icons/mecha/mech_construction.dmi'
|
||||
const_holder.icon_state = "phazon0"
|
||||
const_holder.density = 1
|
||||
const_holder.density = TRUE
|
||||
del src
|
||||
return
|
||||
|
||||
@@ -1509,7 +1509,7 @@
|
||||
const_holder.construct = new /datum/construction/reversible/mecha/odysseus(const_holder)
|
||||
const_holder.icon = 'icons/mecha/mech_construction.dmi'
|
||||
const_holder.icon_state = "odysseus0"
|
||||
const_holder.density = 1
|
||||
const_holder.density = TRUE
|
||||
del src
|
||||
return
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
name = "exosuit wreckage"
|
||||
desc = "Remains of some unfortunate mecha. Completely unrepairable, but perhaps something can be salvaged."
|
||||
icon = 'icons/mecha/mecha.dmi'
|
||||
density = 1
|
||||
anchored = 0
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
opacity = 0
|
||||
var/list/welder_salvage = list(/obj/item/stack/sheet/plasteel,/obj/item/stack/sheet/metal,/obj/item/stack/rods)
|
||||
var/list/wirecutters_salvage = list(/obj/item/stack/cable_coil)
|
||||
|
||||
Reference in New Issue
Block a user