forked from Citadel-Station-13/Citadel-Station-13-RP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.dm
184 lines (156 loc) · 5.19 KB
/
global.dm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
// Items that ask to be called every cycle.
var/global/datum/datacore/data_core = null
var/global/list/processing_machines = list() // TODO - Move into SSmachines
var/global/list/processing_power_items = list() // TODO - Move into SSmachines
var/global/list/hud_icon_reference = list()
var/global/list/global_mutations = list() // List of hidden mutation things.
var/global/datum/universal_state/universe = new
// Noises made when hit while typing.
var/list/hit_appends = list("-OOF", "-ACK", "-UGH", "-HRNK", "-HURGH", "-GLORF")
// var/station_name = "Northern Star"
// var/const/station_orig = "Northern Star" //station_name can't be const due to event prefix/suffix
// var/const/station_short = "Northern Star"
// var/const/dock_name = "Vir Interstellar Spaceport"
// var/const/boss_name = "Central Command"
// var/const/boss_short = "CentCom"
// var/const/company_name = "NanoTrasen"
// var/const/company_short = "NT"
// var/const/star_name = "Vir"
// var/const/starsys_name = "Vir"
var/const/game_version = "Citadel Station RP"
var/game_year = (text2num(time2text(world.realtime, "YYYY")) + 544)
var/master_mode = "extended" // "extended"
var/secret_force_mode = "secret" // if this is anything but "secret", the secret rotation will forceably choose this mode.
var/host = null //only here until check @ code\modules\ghosttrap\trap.dm:112 is fixed
var/list/jobMax = list()
var/list/bombers = list()
var/list/admin_log = list()
var/list/lastsignalers = list() // Keeps last 100 signals here in format: "[src] used \ref[src] @ location [src.loc]: [freq]/[code]"
var/list/lawchanges = list() // Stores who uploaded laws to which silicon-based lifeform, and what the law was.
var/list/reg_dna = list()
var/mouse_respawn_time = 5 // Amount of time that must pass between a player dying as a mouse and repawning as a mouse. In minutes.
var/list/monkeystart = list()
var/list/wizardstart = list()
var/list/newplayer_start = list()
var/list/prisonwarp = list() // Prisoners go to these
var/list/holdingfacility = list() // Captured people go here
var/list/xeno_spawn = list() // Aliens spawn at at these.
var/list/tdome1 = list()
var/list/tdome2 = list()
var/list/tdomeobserve = list()
var/list/tdomeadmin = list()
var/list/prisonsecuritywarp = list() // Prison security goes to these.
var/list/prisonwarped = list() // List of players already warped.
var/list/blobstart = list()
var/list/ninjastart = list()
var/datum/configuration_legacy/config_legacy = null
var/list/combatlog = list()
var/list/IClog = list()
var/list/OOClog = list()
var/list/adminlog = list()
var/list/powernets = list() // TODO - Move into SSmachines
var/gravity_is_on = 1
var/join_motd = null
var/datum/metric/metric = new() // Metric datum, used to keep track of the round.
var/list/awaydestinations = list() // Away missions. A list of landmarks that the warpgate can take you to.
// 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.
var/fileaccess_timer = 0
var/custom_event_msg = null
// Added for Xenoarchaeology, might be useful for other stuff.
var/global/list/alphabet_uppercase = list("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z")
// Used by robots and robot preferences.
var/list/robot_module_types = list(
"Standard",
"Engineering",
"Medical",
"Miner",
"Janitor",
"Service",
"Clerical",
"Security",
"Research",
"Quadruped",
"MediQuad",
"SecuriQuad",
"JaniQuad",
"SciQuad",
"EngiQuad",
"Mining Quad",
"Service Quad"
)
// Some scary sounds.
var/static/list/scarySounds = list(
'sound/weapons/thudswoosh.ogg',
'sound/weapons/Taser.ogg',
'sound/weapons/armbomb.ogg',
'sound/voice/hiss1.ogg',
'sound/voice/hiss2.ogg',
'sound/voice/hiss3.ogg',
'sound/voice/hiss4.ogg',
'sound/voice/hiss5.ogg',
'sound/voice/hiss6.ogg',
'sound/effects/Glassbr1.ogg',
'sound/effects/Glassbr2.ogg',
'sound/effects/Glassbr3.ogg',
'sound/items/Welder.ogg',
'sound/items/Welder2.ogg',
'sound/machines/airlock.ogg',
'sound/effects/clownstep1.ogg',
'sound/effects/clownstep2.ogg'
)
// Bomb cap!
var/max_explosion_range = 14
//Keyed list for caching icons so you don't need to make them for records, IDs, etc all separately.
//Could be useful for AI impersonation or something at some point?
var/static/list/cached_character_icons = list()
var/list/shell_module_types = list(
"Standard", "Service", "Clerical"
)
var/list/eventdestinations = list() // List of scatter landmarks for event portals
var/global/list/acceptable_fruit_types = list(
"ambrosia",
"apple",
"banana",
"berries",
"cabbage",
"carrot",
"celery",
"cherry",
"chili",
"cocoa",
"corn",
"durian",
"eggplant",
"grapes",
"grass",
"greengrapes",
"harebells",
"jahtak",
"lavender",
"lemon",
"lettuce",
"lime",
"onion",
"orange",
"peanut",
"poppies",
"potato",
"pumpkin",
"pyrrhlea",
"rice",
"rose",
"rhubarb",
"soybean",
"spineapple",
"sugarcane",
"sunflowers",
"tomato",
"vanilla",
"watermelon",
"wheat",
"whitebeet",
)
var/global/list/acceptable_nectar_types= list(
"waxcomb (honey)",
)