Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modular Evacuation #818

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
4f60d6a
move autotransfer into main code
DTraitor Jan 23, 2024
a54711f
save the changes
DTraitor Jan 23, 2024
f046192
And another save before solving hundreds of errors
DTraitor Jan 23, 2024
6ed5bd0
Almost done Pt. 1
DTraitor Jan 30, 2024
b084e4c
God save us all
DTraitor Feb 2, 2024
380485d
huge refactor
DTraitor Feb 2, 2024
8750037
I expected more problems after the refactor tbh
DTraitor Feb 2, 2024
38eac62
almost done with compiling
DTraitor Feb 3, 2024
e155726
emergency shuttle changes
DTraitor Feb 4, 2024
0ceb355
comm console
DTraitor Feb 4, 2024
69567fa
emergency shuttle
DTraitor Feb 5, 2024
0cf9598
whoops, shouldn't have commited it
DTraitor Feb 9, 2024
8d3cff9
evac panel
DTraitor Feb 10, 2024
315aba7
almost done
DTraitor Feb 20, 2024
419e686
Guess I am done with the project...
DTraitor Feb 20, 2024
b3fb68b
Merge remote-tracking branch 'DaedalusDock/master' into evacuation-da…
DTraitor Feb 20, 2024
0c1088e
remove some unused stuff
DTraitor Feb 20, 2024
32e3683
Merge branch 'master' into evacuation-datums
DTraitor Feb 21, 2024
7eb04ba
Update code/controllers/configuration/entries/game_options.dm
DTraitor Feb 24, 2024
05f9360
removed some leftover code
DTraitor Feb 24, 2024
f446dfa
Merge branch 'master' into evacuation-datums
DTraitor Feb 24, 2024
52f50cd
Arrival and recall time fixes
DTraitor Mar 3, 2024
6775a73
Merge branch 'master' into evacuation-datums
DTraitor Mar 3, 2024
420e61d
Merge branch 'master' into evacuation-datums
DTraitor Mar 6, 2024
dda6026
requested
DTraitor Mar 11, 2024
42e7bd0
Merge remote-tracking branch 'DaedalusDock/master' into evacuation-da…
DTraitor Mar 11, 2024
5639942
Merge branch 'evacuation-datums' of https://github.com/DTraitor/DS13-…
DTraitor Mar 11, 2024
236d17d
made stack traces better
DTraitor Mar 24, 2024
c1323b7
includes IDs now
DTraitor Mar 25, 2024
b567cb1
done
DTraitor Mar 25, 2024
d2f6f0e
Merge branch 'master' into evacuation-datums
DTraitor Apr 3, 2024
ed564a3
oopsie
DTraitor Apr 3, 2024
1b3ae0b
naming
DTraitor Apr 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 62 additions & 68 deletions _maps/map_files/generic/CentCom.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -1369,19 +1369,6 @@
},
/turf/open/floor/iron,
/area/centcom/tdome/observation)
"dY" = (
/obj/effect/turf_decal/siding/thinplating_new/dark{
dir = 8
},
/obj/structure/table/glass/plasmaglass,
/obj/item/folder/white,
/obj/item/pen{
pixel_x = 6;
pixel_y = 5
},
/obj/machinery/light/cold/directional/west,
/turf/open/floor/mineral/plastitanium,
/area/centcom/syndicate_mothership/control)
"dZ" = (
/obj/item/kirbyplants{
icon_state = "plant-21"
Expand Down Expand Up @@ -5646,16 +5633,6 @@
},
/turf/open/floor/iron,
/area/centcom/central_command_areas/supplypod/loading/ert)
"pY" = (
/obj/item/gun/energy/pulse/carbine,
/obj/item/flashlight/seclite,
/obj/structure/table/reinforced,
/obj/machinery/airalarm/directional/south,
/obj/effect/turf_decal/stripes/line{
dir = 1
},
/turf/open/floor/iron,
/area/centcom/central_command_areas/admin/storage)
"pZ" = (
/obj/effect/turf_decal/tile/bar,
/obj/effect/turf_decal/tile/bar{
Expand Down Expand Up @@ -5932,6 +5909,10 @@
},
/turf/open/floor/iron/dark,
/area/centcom/central_command_areas/supplypod)
"qJ" = (
/obj/structure/filingcabinet/chestdrawer,
/turf/open/floor/iron/dark,
/area/centcom/central_command_areas/ferry)
"qK" = (
/obj/machinery/air_sensor{
chamber_id = "nukiebase";
Expand Down Expand Up @@ -6714,6 +6695,12 @@
},
/turf/open/floor/wood,
/area/centcom/central_command_areas/admin)
"tm" = (
/obj/machinery/light/directional/south,
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/machinery/status_display/evac/directional/south,
/turf/open/floor/iron/dark,
/area/centcom/central_command_areas/ferry)
"tn" = (
/obj/machinery/power/apc/auto_name/directional/south,
/obj/structure/cable/smart_cable/color/yellow,
Expand Down Expand Up @@ -7003,15 +6990,6 @@
/obj/effect/turf_decal/siding/thinplating_new/dark,
/turf/open/floor/mineral/plastitanium/red,
/area/centcom/syndicate_mothership/expansion_bioterrorism)
"um" = (
/obj/machinery/computer/communications{
dir = 1
},
/obj/effect/turf_decal/stripes/line{
dir = 5
},
/turf/open/floor/iron,
/area/centcom/central_command_areas/ferry)
"uo" = (
/obj/machinery/light/floor/has_bulb,
/turf/open/floor/catwalk_floor/titanium,
Expand Down Expand Up @@ -8126,17 +8104,6 @@
/obj/machinery/vending/snack,
/turf/open/floor/engine/cult,
/area/centcom/wizard_station)
"xy" = (
/obj/structure/table/reinforced,
/obj/item/paper/fluff/stations/centcom/disk_memo{
pixel_x = -6;
pixel_y = -7
},
/obj/item/taperecorder{
pixel_y = 15
},
/turf/open/floor/carpet,
/area/centcom/syndicate_mothership/control)
"xz" = (
/obj/structure/table/wood/fancy,
/obj/item/storage/photo_album,
Expand Down Expand Up @@ -8719,6 +8686,17 @@
},
/turf/open/misc/asteroid/snow/airless,
/area/centcom/syndicate_mothership)
"zv" = (
/obj/structure/table/reinforced,
/obj/item/paper/fluff/stations/centcom/disk_memo{
pixel_x = -6;
pixel_y = -7
},
/obj/item/taperecorder{
pixel_y = 15
},
/turf/open/floor/carpet,
/area/centcom/syndicate_mothership/control)
"zw" = (
/obj/structure/sign/nanotrasen,
/turf/closed/indestructible/reinforced/centcom,
Expand Down Expand Up @@ -9466,13 +9444,6 @@
/obj/effect/turf_decal/tile/neutral/fourcorners,
/turf/open/floor/iron/dark,
/area/centcom/tdome/administration)
"By" = (
/obj/machinery/light/directional/south,
/obj/structure/filingcabinet/chestdrawer,
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/machinery/status_display/evac/directional/south,
/turf/open/floor/iron/dark,
/area/centcom/central_command_areas/ferry)
"Bz" = (
/obj/effect/light_emitter{
set_cap = 1;
Expand Down Expand Up @@ -11853,18 +11824,6 @@
},
/turf/open/floor/mineral/plastitanium,
/area/centcom/syndicate_mothership/expansion_chemicalwarfare)
"Ir" = (
/obj/machinery/computer/emergency_shuttle{
dir = 1
},
/obj/machinery/newscaster{
pixel_y = -32
},
/obj/effect/turf_decal/stripes/line{
dir = 9
},
/turf/open/floor/iron,
/area/centcom/central_command_areas/ferry)
"Is" = (
/obj/machinery/igniter/on,
/obj/effect/turf_decal/delivery,
Expand Down Expand Up @@ -13310,6 +13269,18 @@
/obj/item/reagent_containers/food/drinks/trophy/gold_cup,
/turf/open/floor/iron/grimy,
/area/centcom/tdome/observation)
"Nf" = (
/obj/machinery/newscaster{
pixel_y = -32
},
/obj/machinery/computer/communications{
dir = 1
},
/obj/effect/turf_decal/stripes/end{
dir = 1
},
/turf/open/floor/iron,
/area/centcom/central_command_areas/ferry)
"Ng" = (
/obj/item/storage/box/ids{
pixel_x = 3;
Expand Down Expand Up @@ -14409,6 +14380,19 @@
/obj/structure/flora/grass/both,
/turf/open/misc/asteroid/snow,
/area/centcom/syndicate_mothership/control)
"Qt" = (
/obj/effect/turf_decal/siding/thinplating_new/dark{
dir = 8
},
/obj/structure/table/glass/plasmaglass,
/obj/item/folder/white,
/obj/item/pen{
pixel_x = 6;
pixel_y = 5
},
/obj/machinery/light/cold/directional/west,
/turf/open/floor/mineral/plastitanium,
/area/centcom/syndicate_mothership/control)
"Qu" = (
/obj/structure/window/paperframe{
can_atmos_pass = 4
Expand Down Expand Up @@ -17321,6 +17305,16 @@
"Ya" = (
/turf/closed/indestructible/reinforced/centcom,
/area/centcom/central_command_areas/armory)
"Yb" = (
/obj/item/gun/energy/pulse/carbine,
/obj/item/flashlight/seclite,
/obj/structure/table/reinforced,
/obj/machinery/airalarm/directional/south,
/obj/effect/turf_decal/stripes/line{
dir = 1
},
/turf/open/floor/iron,
/area/centcom/central_command_areas/admin/storage)
"Yc" = (
/obj/structure/fireplace,
/obj/effect/turf_decal/tile/neutral/fourcorners,
Expand Down Expand Up @@ -25612,7 +25606,7 @@ ng
VX
XE
od
dY
Qt
Sr
nz
br
Expand Down Expand Up @@ -37183,7 +37177,7 @@ nz
HN
gJ
dy
xy
zv
nt
HJ
VJ
Expand Down Expand Up @@ -52858,7 +52852,7 @@ oe
rm
ss
tq
Ir
Nf
mD
vA
oe
Expand Down Expand Up @@ -53115,7 +53109,7 @@ oe
rn
st
tr
um
qJ
mD
vB
oe
Expand Down Expand Up @@ -53372,7 +53366,7 @@ mD
WY
su
ts
By
tm
mD
vC
wr
Expand Down Expand Up @@ -58511,7 +58505,7 @@ XA
Sx
Nn
yi
pY
Yb
YU
vb
oe
Expand Down
3 changes: 3 additions & 0 deletions _maps/multiz_debug.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"map_name": "MultiZ Debug",
"map_path": "map_files/debug",
"map_file": "multiz.dmm",
"evacuation_controllers": [
"/datum/evacuation_controller/emergency_shuttle"
],
"traits": [
{
"Up": 1,
Expand Down
3 changes: 3 additions & 0 deletions _maps/runtimestation.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"map_name": "Runtime Station",
"map_path": "map_files/debug",
"map_file": "runtimestation.dmm",
"evacuation_controllers": [
"/datum/evacuation_controller/emergency_shuttle"
],
"space_ruin_levels": 1,
"shuttles": {
"cargo": "cargo_delta"
Expand Down
15 changes: 1 addition & 14 deletions _maps/shuttles/emergency_bar.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -555,19 +555,6 @@
},
/turf/open/floor/mineral/titanium,
/area/shuttle/escape)
"bV" = (
/obj/structure/table/wood/shuttle_bar{
boot_dir = 8
},
/obj/effect/fun_balloon/sentience/emergency_shuttle{
group_name = "bar staff on the Emergency Escape Bar"
},
/obj/effect/turf_decal/tile/bar,
/obj/effect/turf_decal/tile/bar{
dir = 1
},
/turf/open/floor/iron,
/area/shuttle/escape)
"bW" = (
/obj/machinery/light/small/directional/east,
/turf/open/floor/iron/grimy,
Expand Down Expand Up @@ -810,7 +797,7 @@ bG
aE
aO
aR
bV
aR
aR
aR
aR
Expand Down
3 changes: 0 additions & 3 deletions _maps/shuttles/emergency_cruise.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -1069,9 +1069,6 @@
/obj/item/reagent_containers/glass/rag{
pixel_y = 7
},
/obj/effect/fun_balloon/sentience/emergency_shuttle{
group_name = "bar staff on the NTSS Independence"
},
/turf/open/floor/wood,
/area/shuttle/escape)
"Vk" = (
Expand Down
4 changes: 0 additions & 4 deletions _maps/shuttles/emergency_narnar.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,6 @@
/area/shuttle/escape)
"I" = (
/obj/effect/rune/narsie,
/obj/effect/fun_balloon/sentience/emergency_shuttle{
effect_range = 5;
group_name = "horrible monsters on Shuttle 667"
},
/turf/open/floor/cult,
/area/shuttle/escape)
"J" = (
Expand Down
9 changes: 1 addition & 8 deletions _maps/shuttles/emergency_rollerdome.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,6 @@
/obj/machinery/vending/games,
/turf/open/floor/eighties,
/area/shuttle/escape)
"ns" = (
/obj/structure/table/wood/shuttle_bar,
/obj/effect/fun_balloon/sentience/emergency_shuttle{
group_name = "snack bar drone at Uncle Pete's Rollerdome"
},
/turf/open/floor/wood,
/area/shuttle/escape)
"nw" = (
/obj/structure/table,
/obj/machinery/chem_dispenser/drinks{
Expand Down Expand Up @@ -464,7 +457,7 @@ dJ
Cg
Cg
ce
ns
Ky
Qv
JR
KJ
Expand Down
3 changes: 3 additions & 0 deletions _maps/theseus.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"map_path": "map_files/Theseus",
"map_file": "Theseus.dmm",
"webmap_id": "Theseus",
"evacuation_controllers": [
"/datum/evacuation_controller/emergency_shuttle"
],
"shuttles": {
"cargo": "cargo_box",
"ferry": "ferry_fancy",
Expand Down
14 changes: 0 additions & 14 deletions code/__DEFINES/antagonists.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@
#define DEATHSQUAD "ds"
#define DEATHSQUAD_LEADER "ds_leader"

//Shuttle elimination hijacking
/// Does not stop elimination hijacking but itself won't elimination hijack
#define ELIMINATION_NEUTRAL 0
/// Needs to be present for shuttle to be elimination hijacked
#define ELIMINATION_ENABLED 1
/// Prevents elimination hijack same way as non-antags
#define ELIMINATION_PREVENT 2

//Syndicate Contracts
#define CONTRACT_STATUS_INACTIVE 1
#define CONTRACT_STATUS_ACTIVE 2
Expand Down Expand Up @@ -125,12 +117,6 @@
/// JSON string file for all of our heretic influence flavors
#define HERETIC_INFLUENCE_FILE "antagonist_flavor/heretic_influences.json"

///employers who hire agents to do the hijack
GLOBAL_LIST_INIT(hijack_employers, list(
"Legal Trouble",
"Gone Postal",
))

///employers who hire agents to do a task and escape...
GLOBAL_LIST_INIT(normal_employers, list(
"Legal Trouble",
Expand Down
8 changes: 8 additions & 0 deletions code/__DEFINES/dcs/signals/signals_evacuation.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
///from emergency shuttle when arriving at station : ()
#define COMSIG_EMERGENCYSHUTTLE_ARRIVAL "emergencyshuttle_arrival"
///from emergency shuttle when making departing sound : ()
#define COMSIG_EMERGENCYSHUTTLE_ANNOUNCE "emergencyshuttle_announce"
///from emergency shuttle when departing from station : ()
#define COMSIG_EMERGENCYSHUTTLE_DEPARTING "emergencyshuttle_departing"
///from emergency shuttle when returning to CentCom : ()
#define COMSIG_EMERGENCYSHUTTLE_RETURNED "emergencyshuttle_returned"
Loading
Loading