Files
Yogstation/code/_globalvars/misc.dm
alexkar598 bb3d4a564f Ports 514 compat from beestation (#11544)
* Yoinks all the shit man

* Hopefully shuts CI the fuck up

* Bins this stupid shit

* Fixes

* Windows too, I GUESS

* fixes airlock alpha filter breaking on 514 (#4441)

* fix

This manually sets the alpha 0 and alpha 255 correctly as this feature of the alpha filter does not seem to work correctly on 514.

* small comment change

* Update airlock.dm

Co-authored-by: MNarath <47279840+MNarath1@users.noreply.github.com>
2021-06-13 00:37:59 -04:00

21 lines
898 B
Plaintext

GLOBAL_VAR_INIT(admin_notice, "") // Admin notice that all clients see when joining the server
GLOBAL_VAR_INIT(timezoneOffset, 0) // The difference betwen midnight (of the host computer) and 0 world.ticks.
// For FTP requests. (i.e. downloading runtime logs.)
// However it'd be ok to use for accessing attack logs and such too, which are even laggier.
GLOBAL_VAR_INIT(fileaccess_timer, 0)
GLOBAL_VAR_INIT(TAB, "&nbsp;&nbsp;&nbsp;&nbsp;")
GLOBAL_DATUM_INIT(data_core, /datum/datacore, new)
GLOBAL_VAR_INIT(CELLRATE, 0.002) // conversion ratio between a watt-tick and kilojoule
GLOBAL_VAR_INIT(CHARGELEVEL, 0.001) // Cap for how fast cells charge, as a percentage-per-tick (.001 means cellcharge is capped to 1% per second)
GLOBAL_LIST_EMPTY(powernets)
GLOBAL_VAR_INIT(bsa_unlock, FALSE) //BSA unlocked by head ID swipes
GLOBAL_LIST_EMPTY(player_details) // ckey -> /datum/player_details