-
-
Notifications
You must be signed in to change notification settings - Fork 444
/
Copy pathshuttles.dm
231 lines (172 loc) · 5.52 KB
/
shuttles.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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
//These are shuttle areas; all subtypes are only used as teleportation markers, they have no actual function beyond that.
//Multi area shuttles are a thing now, use subtypes! ~ninjanomnom
/area/shuttle
name = "Shuttle"
requires_power = FALSE
static_lighting = TRUE
lights_always_start_on = TRUE
has_gravity = STANDARD_GRAVITY
always_unpowered = FALSE
valid_territory = FALSE
icon_state = "shuttle"
// Loading the same shuttle map at a different time will produce distinct area instances.
unique = FALSE
flags_1 = CAN_BE_DIRTY_1
area_limited_icon_smoothing = /area/shuttle
lighting_colour_tube = "#fff0dd"
lighting_colour_bulb = "#ffe1c1"
///list of miners & their mining points from gems to be given once all exports are processed, used by supply shuttles
var/list/gem_payout = list()
/area/shuttle/place_on_topReact(list/new_baseturfs, turf/fake_turf_type, flags)
. = ..()
if(length(new_baseturfs) > 1 || fake_turf_type)
return // More complicated larger changes indicate this isn't a player
if(ispath(new_baseturfs[1], /turf/open/floor/plating))
new_baseturfs.Insert(1, /turf/baseturf_skipover/shuttle)
////////////////////////////Multi-area shuttles////////////////////////////
////////////////////////////Syndicate infiltrator////////////////////////////
/area/shuttle/syndicate
name = "Syndicate Infiltrator"
blob_allowed = FALSE
ambience_index = AMBIENCE_DANGER
area_limited_icon_smoothing = /area/shuttle/syndicate
/area/shuttle/syndicate/bridge
name = "Syndicate Infiltrator Control"
/area/shuttle/syndicate/medical
name = "Syndicate Infiltrator Medbay"
/area/shuttle/syndicate/armory
name = "Syndicate Infiltrator Armory"
/area/shuttle/syndicate/eva
name = "Syndicate Infiltrator EVA"
/area/shuttle/syndicate/hallway
/area/shuttle/syndicate/airlock
name = "Syndicate Infiltrator Airlock"
////////////////////////////Pirate Shuttle////////////////////////////
/area/shuttle/pirate
name = "Pirate Shuttle"
blob_allowed = FALSE
requires_power = TRUE
////////////////////////////Bounty Hunter Shuttles////////////////////////////
/area/shuttle/hunter
name = "Hunter Shuttle"
blob_allowed = FALSE
////////////////////////////White Ship////////////////////////////
/area/shuttle/abandoned
name = "Abandoned Ship"
blob_allowed = FALSE
requires_power = TRUE
area_limited_icon_smoothing = /area/shuttle/abandoned
/area/shuttle/abandoned/bridge
name = "Abandoned Ship Bridge"
/area/shuttle/abandoned/engine
name = "Abandoned Ship Engine"
/area/shuttle/abandoned/bar
name = "Abandoned Ship Bar"
/area/shuttle/abandoned/crew
name = "Abandoned Ship Crew Quarters"
/area/shuttle/abandoned/cargo
name = "Abandoned Ship Cargo Bay"
/area/shuttle/abandoned/medbay
name = "Abandoned Ship Medbay"
/area/shuttle/abandoned/pod
name = "Abandoned Ship Pod"
////////////////////////////Single-area shuttles////////////////////////////
/area/shuttle/transit
name = "Bluespace"
desc = "Weeeeee"
static_lighting = FALSE
base_lighting_alpha = 255
/area/shuttle/custom
name = "Custom player shuttle"
/area/shuttle/custom/powered
name = "Custom Powered player shuttle"
requires_power = FALSE
/area/shuttle/arrival
name = "Arrival Shuttle"
unique = TRUE // SSjob refers to this area for latejoiners
/area/shuttle/arrival/on_joining_game(mob/living/boarder)
if(SSshuttle.arrivals?.mode == SHUTTLE_CALL)
var/atom/movable/screen/splash/Spl = new(null, boarder.client, TRUE)
Spl.Fade(TRUE)
boarder.playsound_local(get_turf(boarder), 'sound/voice/ApproachingTG.ogg', 25)
boarder.update_parallax_teleport()
/area/shuttle/pod_1
name = "Escape Pod One"
area_flags = NONE
/area/shuttle/pod_2
name = "Escape Pod Two"
area_flags = NONE
/area/shuttle/pod_3
name = "Escape Pod Three"
area_flags = NONE
/area/shuttle/pod_4
name = "Escape Pod Four"
area_flags = NONE
/area/shuttle/mining
name = "Mining Shuttle"
blob_allowed = FALSE
/area/shuttle/labor
name = "Labor Camp Shuttle"
blob_allowed = FALSE
/area/shuttle/supply
name = "Supply Shuttle"
blob_allowed = FALSE
area_flags = NOTELEPORT
/area/shuttle/ai
name = "AI Ship Shuttle"
blob_allowed = FALSE
/area/shuttle/escape
name = "Emergency Shuttle"
area_limited_icon_smoothing = /area/shuttle/escape
flags_1 = CAN_BE_DIRTY_1
/area/shuttle/escape/backup
name = "Backup Emergency Shuttle"
/area/shuttle/escape/luxury
name = "Luxurious Emergency Shuttle"
area_flags = NOTELEPORT
/area/shuttle/escape/arena
name = "The Arena"
area_flags = NOTELEPORT
/area/shuttle/escape/meteor
name = "\proper a meteor with engines strapped to it"
luminosity = NONE
/area/shuttle/transport
name = "Transport Shuttle"
blob_allowed = FALSE
/area/shuttle/assault_pod
name = "Steel Rain"
blob_allowed = FALSE
/area/shuttle/sbc_starfury
name = "SBC Starfury"
blob_allowed = FALSE
/area/shuttle/sbc_fighter1
name = "SBC Fighter 1"
blob_allowed = FALSE
/area/shuttle/sbc_fighter2
name = "SBC Fighter 2"
blob_allowed = FALSE
/area/shuttle/sbc_corvette
name = "SBC corvette"
blob_allowed = FALSE
/area/shuttle/syndicate_scout
name = "Syndicate Scout"
blob_allowed = FALSE
area_flags = NOTELEPORT
/area/shuttle/caravan
blob_allowed = FALSE
requires_power = TRUE
area_flags = NOTELEPORT
/area/shuttle/caravan/syndicate1
name = "Syndicate Fighter"
/area/shuttle/caravan/syndicate2
name = "Syndicate Fighter"
/area/shuttle/caravan/syndicate3
name = "Syndicate Drop Ship"
/area/shuttle/caravan/pirate
name = "Pirate Cutter"
/area/shuttle/caravan/freighter1
name = "Small Freighter"
/area/shuttle/caravan/freighter2
name = "Tiny Freighter"
/area/shuttle/caravan/freighter3
name = "Tiny Freighter"