mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 11:30:35 +01:00
Fix indentations (#17481)
* cbt * AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA * fsadffsda sad * sadfasd * jhn * dsfa * saf * safsad * sda
This commit is contained in:
@@ -783,7 +783,7 @@
|
||||
cell.update_icon()
|
||||
cell = null
|
||||
user.visible_message(SPAN_WARNING("[user.name] removes the power cell from [name]!"),\
|
||||
SPAN_NOTICE("You remove the power cell."))
|
||||
SPAN_NOTICE("You remove the power cell."))
|
||||
//to_chat(user, "You remove the power cell.")
|
||||
charging = CHARGING_OFF
|
||||
update_icon()
|
||||
@@ -1132,7 +1132,7 @@
|
||||
|
||||
cell = null
|
||||
user.visible_message(SPAN_WARNING("[user.name] removes the power cell from [name]!"),\
|
||||
SPAN_NOTICE("You remove the power cell."))
|
||||
SPAN_NOTICE("You remove the power cell."))
|
||||
charging = CHARGING_ON
|
||||
update_icon()
|
||||
return
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
if(do_after(user, 50))
|
||||
set_state(!on)
|
||||
user.visible_message(SPAN_NOTICE("[user.name] [on ? "enabled" : "disabled"] the breaker box!"), \
|
||||
SPAN_NOTICE("You [on ? "enabled" : "disabled"] the breaker box!"))
|
||||
SPAN_NOTICE("You [on ? "enabled" : "disabled"] the breaker box!"))
|
||||
update_locked = 1
|
||||
addtimer(CALLBACK(src, PROC_REF(reset_locked)), 600)
|
||||
busy = 0
|
||||
|
||||
@@ -1077,10 +1077,10 @@ By design, d1 is the smallest direction and d2 is the highest
|
||||
var/mob/living/M = buckled
|
||||
if(M != user)
|
||||
user.visible_message(SPAN_NOTICE("[user] begins to untie the noose over [M]'s neck..."),\
|
||||
SPAN_NOTICE("You begin to untie the noose over [M]'s neck..."))
|
||||
SPAN_NOTICE("You begin to untie the noose over [M]'s neck..."))
|
||||
if(do_mob(user, M, 100))
|
||||
user.visible_message(SPAN_NOTICE("[user] unties the noose over [M]'s neck!"),\
|
||||
SPAN_NOTICE("You untie the noose over [M]'s neck!"))
|
||||
SPAN_NOTICE("You untie the noose over [M]'s neck!"))
|
||||
else
|
||||
return
|
||||
else
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
if(!length(agitation_turfs))
|
||||
toggle_active()
|
||||
return
|
||||
|
||||
|
||||
var/actual_load = draw_power(active_power_usage)
|
||||
if(actual_load < active_power_usage)
|
||||
toggle_active()
|
||||
|
||||
@@ -235,7 +235,7 @@
|
||||
ui = SSnanoui.try_update_ui(user, src, ui_key, ui, data, force_open)
|
||||
if(!ui)
|
||||
// the ui does not exist, so we'll create a new() one
|
||||
// for a list of parameters and their descriptions see the code docs in \code\modules\nano\nanoui.dm
|
||||
// for a list of parameters and their descriptions see the code docs in \code\modules\nano\nanoui.dm
|
||||
ui = new(user, src, ui_key, "generator.tmpl", "Thermoelectric Generator", 450, 500)
|
||||
// when the ui is first opened this is the data it will use
|
||||
ui.set_initial_data(data)
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
origin_tech = list(
|
||||
TECH_DATA = 3,
|
||||
TECH_MATERIAL = 4,
|
||||
TECH_POWER = 3,
|
||||
TECH_POWER = 3,
|
||||
TECH_ENGINEERING = 3,
|
||||
TECH_PHORON = 3
|
||||
)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
field_generator power level display
|
||||
The icon used for the field_generator need to have 'num_power_levels' number of icon states
|
||||
named 'field_gen +p[num]' where 'num' ranges from 1 to 'num_power_levels'
|
||||
The icon used for the field_generator need to have 'num_power_levels' number of icon states
|
||||
named 'field_gen +p[num]' where 'num' ranges from 1 to 'num_power_levels'
|
||||
|
||||
The power level is displayed using overlays. The current displayed power level is stored in 'powerlevel'.
|
||||
The overlay in use and the powerlevel variable must be kept in sync. A powerlevel equal to 0 means that
|
||||
no power level overlay is currently in the overlays list.
|
||||
-Aygar
|
||||
The power level is displayed using overlays. The current displayed power level is stored in 'powerlevel'.
|
||||
The overlay in use and the powerlevel variable must be kept in sync. A powerlevel equal to 0 means that
|
||||
no power level overlay is currently in the overlays list.
|
||||
-Aygar
|
||||
*/
|
||||
|
||||
#define field_generator_max_power 250000
|
||||
|
||||
@@ -34,9 +34,9 @@ process()
|
||||
check_build()
|
||||
|
||||
Setup map
|
||||
|EC|
|
||||
CC|FC|
|
||||
|PB|
|
||||
|EC|
|
||||
--CC|FC|
|
||||
|PB|
|
||||
PE|PE|PE
|
||||
|
||||
|
||||
|
||||
@@ -495,13 +495,13 @@
|
||||
move_self = 1
|
||||
|
||||
/obj/singularity/singularity_act(S, size)
|
||||
if(current_size <= size)
|
||||
var/gain = (energy/2)
|
||||
var/dist = max((current_size - 2), 1)
|
||||
explosion(src.loc,(dist),(dist*2),(dist*4))
|
||||
spawn(0)
|
||||
qdel(src)
|
||||
return gain
|
||||
if(current_size <= size)
|
||||
var/gain = (energy/2)
|
||||
var/dist = max((current_size - 2), 1)
|
||||
explosion(src.loc,(dist),(dist*2),(dist*4))
|
||||
spawn(0)
|
||||
qdel(src)
|
||||
return gain
|
||||
|
||||
/obj/singularity/can_fall()
|
||||
return FALSE
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
/obj/machinery/power/terminal/Initialize()
|
||||
. = ..()
|
||||
var/turf/T = src.loc
|
||||
if(level == 1)
|
||||
if(level == 1)
|
||||
hide(!T.is_plating())
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user