mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2025-12-10 23:41:30 +00:00
21 lines
1003 B
Plaintext
21 lines
1003 B
Plaintext
|
|
#define span(class, text) ("<span class='[class]'>[text]</span>")
|
|
|
|
#define RANDOM_BLOOD_TYPE pick(4;"O-", 36;"O+", 3;"A-", 28;"A+", 1;"B-", 20;"B+", 1;"AB-", 5;"AB+")
|
|
|
|
#define to_world(message) to_chat(world, messaget)
|
|
#define to_world_log(message) world.log << message
|
|
// TODO - Baystation has this log to crazy places. For now lets just world.log, but maybe look into it later.
|
|
#define log_world(message) world.log << message
|
|
#define to_file(file_entry, source_var) file_entry << source_var
|
|
#define from_file(file_entry, target_var) file_entry >> target_var
|
|
|
|
#define show_browser(target, browser_content, browser_name) target << browse(browser_content, browser_name)
|
|
|
|
#define CanInteract(user, state) (CanUseTopic(user, state) == STATUS_INTERACTIVE)
|
|
|
|
|
|
#define random_id(key,min_id,max_id) uniqueness_repository.Generate(/datum/uniqueness_generator/id_random, key, min_id, max_id)
|
|
|
|
#define ARGS_DEBUG log_debug("[__FILE__] - [__LINE__]") ; for(var/arg in args) { log_debug("\t[log_info_line(arg)]") }
|