mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-20 15:21:29 +00:00
56 lines
2.8 KiB
Plaintext
56 lines
2.8 KiB
Plaintext
GLOBAL_DATUM(plmaster, /obj/effect/overlay)
|
|
GLOBAL_DATUM(slmaster, /obj/effect/overlay)
|
|
|
|
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)
|
|
|
|
// Announcer intercom, because too much stuff creates an intercom for one message then qdel()s it.
|
|
GLOBAL_DATUM_INIT(global_announcer, /obj/item/radio/intercom, create_global_announcer())
|
|
GLOBAL_DATUM_INIT(command_announcer, /obj/item/radio/intercom/command, create_command_announcer())
|
|
|
|
// Load order issues means this can't be new'd until other code runs
|
|
// This is probably not the way I should be doing this, but I don't know how to do it right!
|
|
/proc/create_global_announcer()
|
|
spawn(0)
|
|
GLOB.global_announcer = new(null)
|
|
return
|
|
|
|
/proc/create_command_announcer()
|
|
spawn(0)
|
|
GLOB.command_announcer = new(null)
|
|
return
|
|
|
|
GLOBAL_LIST_INIT(paper_tag_whitelist, list("center","p","div","span","h1","h2","h3","h4","h5","h6","hr","pre", \
|
|
"big","small","font","i","u","b","s","sub","sup","tt","br","hr","ol","ul","li","caption","col", \
|
|
"table","td","th","tr"))
|
|
GLOBAL_LIST_INIT(paper_blacklist, list("java","onblur","onchange","onclick","ondblclick","onfocus","onkeydown", \
|
|
"onkeypress","onkeyup","onload","onmousedown","onmousemove","onmouseout","onmouseover", \
|
|
"onmouseup","onreset","onselect","onsubmit","onunload"))
|
|
|
|
//Reverse of dir
|
|
GLOBAL_LIST_INIT(reverse_dir, list(2, 1, 3, 8, 10, 9, 11, 4, 6, 5, 7, 12, 14, 13, 15, 32, 34, 33, 35, 40, 42, 41, 43, 36, 38, 37, 39, 44, 46, 45, 47, 16, 18, 17, 19, 24, 26, 25, 27, 20, 22, 21, 23, 28, 30, 29, 31, 48, 50, 49, 51, 56, 58, 57, 59, 52, 54, 53, 55, 60, 62, 61, 63))
|
|
GLOBAL_VAR_INIT(gravity_is_on, 1) //basically unused, just one admin verb..
|
|
// Recall time limit: 2 hours
|
|
GLOBAL_VAR_INIT(recall_time_limit, 72000) //apparently used for the comm console
|
|
|
|
#define TAB " "
|
|
|
|
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(gametime_offset, 432000) // 12:00 in seconds
|
|
|
|
//printers shutdown if too much shit printed
|
|
GLOBAL_VAR_INIT(copier_items_printed, 0)
|
|
GLOBAL_VAR_INIT(copier_max_items, 300)
|
|
GLOBAL_VAR_INIT(copier_items_printed_logged, FALSE)
|
|
|
|
GLOBAL_DATUM_INIT(data_core, /datum/datacore, new) // Station datacore, manifest, etc
|
|
|
|
GLOBAL_LIST_EMPTY(ability_verbs) // Create-level abilities
|
|
GLOBAL_LIST_INIT(pipe_colors, list("grey" = PIPE_COLOR_GREY, "red" = PIPE_COLOR_RED, "blue" = PIPE_COLOR_BLUE, "cyan" = PIPE_COLOR_CYAN, "green" = PIPE_COLOR_GREEN, "yellow" = PIPE_COLOR_YELLOW, "purple" = PIPE_COLOR_PURPLE))
|
|
|