mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-17 20:30:46 +01:00
b0f0f4685f
* First pass * fixes * more fixes * num2hex length changes * pass 2 * fixed warning * looc log fix * . * update tgui * . * . * . * . * perttier * cleanup * . * . * fix token * no * . * . * . * , * modsay eventsay * . --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
12 lines
702 B
Plaintext
12 lines
702 B
Plaintext
#define TGS_EXTERNAL_CONFIGURATION
|
|
#define TGS_DEFINE_AND_SET_GLOBAL(Name, Value) GLOBAL_VAR_INIT(##Name, ##Value); GLOBAL_PROTECT(##Name)
|
|
#define TGS_READ_GLOBAL(Name) GLOB.##Name
|
|
#define TGS_WRITE_GLOBAL(Name, Value) GLOB.##Name = ##Value
|
|
#define TGS_WORLD_ANNOUNCE(message) to_chat(world, span_boldannounce("[html_encode(##message)]"))
|
|
#define TGS_INFO_LOG(message) log_world("TGS Info: [##message]")
|
|
#define TGS_WARNING_LOG(message) log_world("TGS Warn: [##message]")
|
|
#define TGS_ERROR_LOG(message) stack_trace("TGS Error: [##message]")
|
|
#define TGS_NOTIFY_ADMINS(event) message_admins(##event)
|
|
#define TGS_CLIENT_COUNT GLOB.clients.len
|
|
#define TGS_PROTECT_DATUM(Path) GENERAL_PROTECT_DATUM(##Path)
|