Files
fulpstation/code/__DEFINES/lights.dm
Nick 38091b4914 April TGU: Virologist is gone (#1200)
* Initial merge

* Map files

* dme mon ami

* Cult span renames

* updatepaths

* AltClick renamed to click_alt

* beefman hair color stuff

* bye bye beefman viro

* get_all_gear

* Updated mentor refresh verb

* bloodsucker rack atom_deconstruct

* removed LateInitialize from nanites machines

* brain trauama now calls parent on_lose

* readme

* greyscale fulp edit

* arrival sound fulp edit

* tgui routes fulp edit

* build.js fulp edit

* fulpui-patches

* Missed a couple of shuttles

* tgui files

* Map updates

* tgui tweaks and screenshots

* fixed typo

* halloween beacon texture

* Vault piggy banks

* beacon icon fr

* Selene cargo chat console

* selene labour shuttle

* Photobooths!

* Moved photobooth button on selene

* Theia updates

* Reset maps.txt

* Order consoles

* Ports TG's #82906, fixes plasma cutters

* Theia vault piggy bank

* CLICK_ACTION_SUCCESS for coffin alt clicking
2024-05-10 16:24:54 +02:00

26 lines
875 B
Plaintext

///How much power emergency lights will consume per tick
#define LIGHT_EMERGENCY_POWER_USE (0.0001 * STANDARD_CELL_RATE)
// 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 (0.035 * STANDARD_CELL_CHARGE)
///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