mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-16 18:45:22 +01:00
Grep for space indentation (#54850)
#54604 atomizing Since a lot of the space indents are in lists ill atomize those later
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
|
||||
/*
|
||||
field_generator power level display
|
||||
The icon used for the field_generator need to have 6 icon states
|
||||
named 'Field_Gen +p[num]' where 'num' ranges from 1 to 6
|
||||
The icon used for the field_generator need to have 6 icon states
|
||||
named 'Field_Gen +p[num]' where 'num' ranges from 1 to 6
|
||||
|
||||
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 250
|
||||
@@ -173,12 +173,11 @@ field_generator power level display
|
||||
cleanup()
|
||||
return ..()
|
||||
|
||||
/*
|
||||
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.
|
||||
*/
|
||||
|
||||
/**
|
||||
*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.
|
||||
*/
|
||||
/obj/machinery/field/generator/proc/check_power_level()
|
||||
var/new_level = round(6 * power / field_generator_max_power)
|
||||
if(new_level != power_level)
|
||||
|
||||
@@ -516,7 +516,7 @@
|
||||
/obj/singularity/deadchat_controlled/Initialize(mapload, starting_energy)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/deadchat_control, DEMOCRACY_MODE, list(
|
||||
"up" = CALLBACK(GLOBAL_PROC, .proc/_step, src, NORTH),
|
||||
"down" = CALLBACK(GLOBAL_PROC, .proc/_step, src, SOUTH),
|
||||
"left" = CALLBACK(GLOBAL_PROC, .proc/_step, src, WEST),
|
||||
"right" = CALLBACK(GLOBAL_PROC, .proc/_step, src, EAST)))
|
||||
"up" = CALLBACK(GLOBAL_PROC, .proc/_step, src, NORTH),
|
||||
"down" = CALLBACK(GLOBAL_PROC, .proc/_step, src, SOUTH),
|
||||
"left" = CALLBACK(GLOBAL_PROC, .proc/_step, src, WEST),
|
||||
"right" = CALLBACK(GLOBAL_PROC, .proc/_step, src, EAST)))
|
||||
|
||||
Reference in New Issue
Block a user