mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-18 04:55:27 +00:00
Similar vein to #37116 This is supposed to be standard, yet here we are. SHOULDN'T change anything, but there's likely something out there that's bound to behave different because of it. These were done manually, regex to find things that MIGHT need to be corrected; `^#define.+\+((?!\)).)*$` `^#define.+-((?!\)).)*$` `^#define.+\*((?!\)).)*$` `^#define.+\/((?!\)).)*$` (yeah that's a lot of stuff.) `^#define.+%((?!\)).)*$` `^#define.+SECONDS((?!\)).)*$` `^#define.+MINUTES((?!\)).)*$`
26 lines
821 B
Plaintext
26 lines
821 B
Plaintext
///How much power emergency lights will consume per tick
|
|
#define LIGHT_EMERGENCY_POWER_USE 0.2
|
|
// status values shared between lighting fixtures and items
|
|
#define LIGHT_OK 0
|
|
#define LIGHT_EMPTY 1
|
|
#define LIGHT_BROKEN 2
|
|
#define LIGHT_BURNED 3
|
|
|
|
///Min time for a spark to happen in a broken light
|
|
#define BROKEN_SPARKS_MIN (3 MINUTES)
|
|
///Max time for a spark to happen in a broken light
|
|
#define BROKEN_SPARKS_MAX (9 MINUTES)
|
|
|
|
///Amount of time that takes an ethereal to take energy from the lights
|
|
#define LIGHT_DRAIN_TIME (2.5 SECONDS)
|
|
///Amount of charge the ethereal gain after the drain
|
|
#define LIGHT_POWER_GAIN 35
|
|
|
|
///How many reagents the lights can hold
|
|
#define LIGHT_REAGENT_CAPACITY 20
|
|
|
|
//Status for light constructs
|
|
#define LIGHT_CONSTRUCT_EMPTY 1
|
|
#define LIGHT_CONSTRUCT_WIRED 2
|
|
#define LIGHT_CONSTRUCT_CLOSED 3
|