[PROBABLY READY? REVIEW WITH SCRUTINY] New event: Fugitives (#42554)
* fugitives * lets make this a bit cleaner * cultists and the beginnings of security detail, lots of wip * wip security * WALDO (and some more work on yalp, of course) * adding antagonist teams for both hunter and fugitives, roundend report beginnings * this whole file is shit, but hopefully a little better * it compiles (+ space police) * some more work * S.E.L.F. fluff * grammar and icon fixes * lets finish yalp elor, give it the justice it deserves * moves hunter spawns to ship pods + russians P1 * moves hunter spawns to ship pods + russians P2 * fugitives and hunters now recognize eachother * hunter spawning finished(?) * missed this * ATH's review * runtime fixed, added yalp's transport ability * anturk's review * makes hunter.dm better trust me * oopsies * INVOKE_ASYNC * russian ship + finally a (bad) sprite for the capture machine * step > pixel, thanks travis * mooshroom review p1 * mooshroom review p2 * improper use of /improper * waldo's radio doesn't stick, police id * candidate picking is more flexible + minor things
505
_maps/shuttles/fugitive_hunter_russian.dmm
Normal file
@@ -0,0 +1,505 @@
|
||||
//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
|
||||
"aa" = (
|
||||
/turf/closed/wall,
|
||||
/area/shuttle/hunter)
|
||||
"ab" = (
|
||||
/obj/machinery/power/smes,
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"ac" = (
|
||||
/obj/machinery/portable_atmospherics/scrubber/huge,
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"ad" = (
|
||||
/obj/effect/spawner/structure/window/reinforced,
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"ae" = (
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"af" = (
|
||||
/obj/structure/shuttle/engine/heater{
|
||||
icon_state = "heater";
|
||||
dir = 8
|
||||
},
|
||||
/obj/structure/window/reinforced{
|
||||
dir = 4
|
||||
},
|
||||
/turf/open/floor/plating/airless,
|
||||
/area/shuttle/hunter)
|
||||
"ag" = (
|
||||
/obj/structure/mirror{
|
||||
pixel_y = 28
|
||||
},
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"ah" = (
|
||||
/obj/machinery/door/airlock/security/glass,
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"ai" = (
|
||||
/obj/structure/chair{
|
||||
icon_state = "chair";
|
||||
dir = 4
|
||||
},
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"aj" = (
|
||||
/obj/structure/shuttle/engine/large{
|
||||
icon_state = "large_engine";
|
||||
dir = 8
|
||||
},
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"ak" = (
|
||||
/obj/structure/chair{
|
||||
icon_state = "chair";
|
||||
dir = 1
|
||||
},
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"al" = (
|
||||
/obj/structure/closet/crate/bin,
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"am" = (
|
||||
/obj/machinery/door/airlock/security/glass,
|
||||
/turf/open/floor/mineral/plastitanium,
|
||||
/area/shuttle/hunter)
|
||||
"an" = (
|
||||
/obj/structure/reagent_dispensers/fueltank,
|
||||
/obj/effect/turf_decal/bot,
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"ao" = (
|
||||
/obj/structure/reagent_dispensers/fueltank,
|
||||
/obj/effect/turf_decal/bot,
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"ap" = (
|
||||
/obj/structure/reagent_dispensers/fueltank,
|
||||
/obj/item/weldingtool/largetank,
|
||||
/turf/open/floor/mineral/plastitanium,
|
||||
/area/shuttle/hunter)
|
||||
"aq" = (
|
||||
/turf/open/floor/mineral/plastitanium/red,
|
||||
/area/shuttle/hunter)
|
||||
"ar" = (
|
||||
/obj/effect/decal/cleanable/dirt/dust,
|
||||
/obj/structure/reagent_dispensers/watertank,
|
||||
/obj/item/reagent_containers/glass/bucket,
|
||||
/obj/item/mop,
|
||||
/obj/item/storage/bag/trash{
|
||||
pixel_x = 6
|
||||
},
|
||||
/turf/open/floor/mineral/plastitanium,
|
||||
/area/shuttle/hunter)
|
||||
"as" = (
|
||||
/obj/effect/turf_decal/bot,
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/obj/structure/closet/crate{
|
||||
icon_state = "crateopen"
|
||||
},
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"at" = (
|
||||
/turf/open/floor/mineral/plastitanium,
|
||||
/area/shuttle/hunter)
|
||||
"au" = (
|
||||
/obj/machinery/door/airlock/security/glass,
|
||||
/turf/open/floor/mineral/plastitanium/red,
|
||||
/area/shuttle/hunter)
|
||||
"av" = (
|
||||
/obj/structure/table,
|
||||
/obj/item/storage/fancy/cigarettes/cigars/cohiba{
|
||||
pixel_y = 6
|
||||
},
|
||||
/turf/open/floor/mineral/plastitanium,
|
||||
/area/shuttle/hunter)
|
||||
"aw" = (
|
||||
/obj/effect/turf_decal/bot,
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/obj/structure/closet/crate/large{
|
||||
icon_state = "crittercrate"
|
||||
},
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"ax" = (
|
||||
/turf/open/space/basic,
|
||||
/area/shuttle/hunter)
|
||||
"ay" = (
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/turf/open/floor/mineral/plastitanium,
|
||||
/area/shuttle/hunter)
|
||||
"az" = (
|
||||
/turf/open/floor/plating/airless,
|
||||
/area/shuttle/hunter)
|
||||
"aA" = (
|
||||
/obj/effect/turf_decal/bot,
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"aB" = (
|
||||
/obj/structure/chair{
|
||||
icon_state = "chair";
|
||||
dir = 4
|
||||
},
|
||||
/turf/open/floor/mineral/plastitanium/red,
|
||||
/area/shuttle/hunter)
|
||||
"aC" = (
|
||||
/obj/machinery/computer/camera_advanced/shuttle_docker{
|
||||
dir = 8
|
||||
},
|
||||
/turf/open/floor/mineral/plastitanium/red,
|
||||
/area/shuttle/hunter)
|
||||
"aD" = (
|
||||
/obj/structure/shuttle/engine/large{
|
||||
icon_state = "large_engine";
|
||||
dir = 8
|
||||
},
|
||||
/turf/open/floor/plating/airless,
|
||||
/area/shuttle/hunter)
|
||||
"aE" = (
|
||||
/obj/effect/turf_decal/bot,
|
||||
/obj/structure/closet/crate{
|
||||
icon_state = "crateopen"
|
||||
},
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"aF" = (
|
||||
/obj/machinery/computer/camera_advanced{
|
||||
icon_state = "computer";
|
||||
dir = 8
|
||||
},
|
||||
/turf/open/floor/mineral/plastitanium/red,
|
||||
/area/shuttle/hunter)
|
||||
"aG" = (
|
||||
/obj/machinery/fugitive_capture,
|
||||
/turf/open/floor/mineral/plastitanium,
|
||||
/area/shuttle/hunter)
|
||||
"aH" = (
|
||||
/obj/effect/turf_decal/bot,
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/obj/structure/closet/crate/engineering{
|
||||
icon_state = "engi_crateopen"
|
||||
},
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"aI" = (
|
||||
/obj/structure/table,
|
||||
/obj/item/reagent_containers/food/drinks/bottle/vodka,
|
||||
/turf/open/floor/mineral/plastitanium,
|
||||
/area/shuttle/hunter)
|
||||
"aJ" = (
|
||||
/obj/effect/turf_decal/bot,
|
||||
/obj/structure/closet/crate/coffin{
|
||||
icon_state = "coffinopen"
|
||||
},
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"aK" = (
|
||||
/obj/effect/turf_decal/bot,
|
||||
/obj/mecha/working/ripley,
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"aL" = (
|
||||
/obj/effect/turf_decal/bot,
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"aM" = (
|
||||
/obj/machinery/portable_atmospherics/canister/oxygen,
|
||||
/turf/open/floor/mineral/plastitanium,
|
||||
/area/shuttle/hunter)
|
||||
"aN" = (
|
||||
/obj/machinery/door/airlock/security/glass,
|
||||
/obj/structure/fans/tiny,
|
||||
/turf/open/floor/mineral/plastitanium/red,
|
||||
/area/shuttle/hunter)
|
||||
"aO" = (
|
||||
/obj/structure/shuttle/engine/propulsion{
|
||||
dir = 8
|
||||
},
|
||||
/turf/open/floor/plating/airless,
|
||||
/area/shuttle/hunter)
|
||||
"aP" = (
|
||||
/obj/structure/shuttle/engine/heater{
|
||||
icon_state = "heater";
|
||||
dir = 8
|
||||
},
|
||||
/turf/open/floor/plating/airless,
|
||||
/area/shuttle/hunter)
|
||||
"Pq" = (
|
||||
/turf/template_noop,
|
||||
/area/template_noop)
|
||||
|
||||
(1,1,1) = {"
|
||||
Pq
|
||||
Pq
|
||||
ae
|
||||
aj
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
az
|
||||
aD
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
"}
|
||||
(2,1,1) = {"
|
||||
Pq
|
||||
aa
|
||||
ae
|
||||
ae
|
||||
aa
|
||||
Pq
|
||||
Pq
|
||||
aa
|
||||
az
|
||||
az
|
||||
aa
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
"}
|
||||
(3,1,1) = {"
|
||||
Pq
|
||||
aa
|
||||
af
|
||||
af
|
||||
aa
|
||||
Pq
|
||||
aa
|
||||
aa
|
||||
af
|
||||
af
|
||||
aa
|
||||
aa
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
"}
|
||||
(4,1,1) = {"
|
||||
Pq
|
||||
aa
|
||||
ae
|
||||
ak
|
||||
aa
|
||||
aa
|
||||
as
|
||||
aw
|
||||
aA
|
||||
aE
|
||||
aE
|
||||
aH
|
||||
aa
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
"}
|
||||
(5,1,1) = {"
|
||||
Pq
|
||||
aa
|
||||
ag
|
||||
ak
|
||||
aa
|
||||
an
|
||||
at
|
||||
ay
|
||||
at
|
||||
at
|
||||
ay
|
||||
ay
|
||||
aJ
|
||||
aa
|
||||
Pq
|
||||
Pq
|
||||
"}
|
||||
(6,1,1) = {"
|
||||
Pq
|
||||
aa
|
||||
ae
|
||||
ak
|
||||
aa
|
||||
an
|
||||
at
|
||||
at
|
||||
at
|
||||
at
|
||||
ay
|
||||
at
|
||||
aK
|
||||
aa
|
||||
Pq
|
||||
Pq
|
||||
"}
|
||||
(7,1,1) = {"
|
||||
Pq
|
||||
aa
|
||||
ae
|
||||
ak
|
||||
aa
|
||||
ao
|
||||
at
|
||||
ay
|
||||
ay
|
||||
at
|
||||
ay
|
||||
at
|
||||
aL
|
||||
aa
|
||||
Pq
|
||||
Pq
|
||||
"}
|
||||
(8,1,1) = {"
|
||||
Pq
|
||||
aa
|
||||
ah
|
||||
aa
|
||||
aa
|
||||
aa
|
||||
am
|
||||
aa
|
||||
aa
|
||||
aa
|
||||
aa
|
||||
am
|
||||
aa
|
||||
aa
|
||||
Pq
|
||||
Pq
|
||||
"}
|
||||
(9,1,1) = {"
|
||||
Pq
|
||||
aa
|
||||
ae
|
||||
al
|
||||
aa
|
||||
ap
|
||||
aq
|
||||
aa
|
||||
ax
|
||||
ax
|
||||
aa
|
||||
aq
|
||||
at
|
||||
aa
|
||||
Pq
|
||||
Pq
|
||||
"}
|
||||
(10,1,1) = {"
|
||||
Pq
|
||||
aa
|
||||
ae
|
||||
ae
|
||||
am
|
||||
aq
|
||||
aq
|
||||
aa
|
||||
ax
|
||||
ax
|
||||
aa
|
||||
aq
|
||||
aq
|
||||
aN
|
||||
Pq
|
||||
Pq
|
||||
"}
|
||||
(11,1,1) = {"
|
||||
aa
|
||||
ab
|
||||
ae
|
||||
ae
|
||||
aa
|
||||
ar
|
||||
aq
|
||||
aa
|
||||
ax
|
||||
ax
|
||||
aa
|
||||
aq
|
||||
aM
|
||||
aa
|
||||
aO
|
||||
aO
|
||||
"}
|
||||
(12,1,1) = {"
|
||||
aa
|
||||
ab
|
||||
ai
|
||||
ai
|
||||
aa
|
||||
aa
|
||||
au
|
||||
aa
|
||||
aa
|
||||
aa
|
||||
aa
|
||||
au
|
||||
aa
|
||||
aa
|
||||
aP
|
||||
aP
|
||||
"}
|
||||
(13,1,1) = {"
|
||||
aa
|
||||
ac
|
||||
ae
|
||||
ae
|
||||
aa
|
||||
aq
|
||||
aq
|
||||
aq
|
||||
aB
|
||||
aB
|
||||
aq
|
||||
aq
|
||||
aq
|
||||
aa
|
||||
aa
|
||||
aa
|
||||
"}
|
||||
(14,1,1) = {"
|
||||
aa
|
||||
ad
|
||||
ad
|
||||
ad
|
||||
aa
|
||||
aa
|
||||
av
|
||||
at
|
||||
aC
|
||||
aF
|
||||
aG
|
||||
aI
|
||||
aa
|
||||
aa
|
||||
aa
|
||||
Pq
|
||||
"}
|
||||
(15,1,1) = {"
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
aa
|
||||
ad
|
||||
ad
|
||||
ad
|
||||
ad
|
||||
aa
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
Pq
|
||||
"}
|
||||
176
_maps/shuttles/fugitive_hunter_space_cop.dmm
Normal file
@@ -0,0 +1,176 @@
|
||||
//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
|
||||
"bY" = (
|
||||
/obj/structure/chair/comfy/shuttle,
|
||||
/turf/open/floor/mineral/titanium/blue,
|
||||
/area/shuttle/hunter)
|
||||
"hB" = (
|
||||
/obj/structure/shuttle/engine/propulsion{
|
||||
dir = 8
|
||||
},
|
||||
/turf/closed/wall/mineral/titanium,
|
||||
/area/shuttle/hunter)
|
||||
"hJ" = (
|
||||
/obj/structure/window/shuttle,
|
||||
/obj/structure/grille,
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"hU" = (
|
||||
/obj/structure/closet/crate,
|
||||
/turf/open/floor/mineral/titanium/blue,
|
||||
/area/shuttle/hunter)
|
||||
"ku" = (
|
||||
/turf/closed/wall/mineral/titanium,
|
||||
/area/shuttle/hunter)
|
||||
"lp" = (
|
||||
/obj/machinery/fugitive_capture,
|
||||
/turf/open/floor/mineral/titanium/blue,
|
||||
/area/shuttle/hunter)
|
||||
"qH" = (
|
||||
/obj/machinery/button/door{
|
||||
id = "Interpolship";
|
||||
pixel_y = 26
|
||||
},
|
||||
/turf/open/floor/mineral/titanium/blue,
|
||||
/area/shuttle/hunter)
|
||||
"rR" = (
|
||||
/obj/machinery/door/airlock/titanium,
|
||||
/turf/open/floor/mineral/titanium/blue,
|
||||
/area/shuttle/hunter)
|
||||
"te" = (
|
||||
/obj/structure/fans/tiny,
|
||||
/obj/machinery/door/poddoor/shutters{
|
||||
id = "Interpolship"
|
||||
},
|
||||
/turf/open/floor/mineral/titanium/blue,
|
||||
/area/shuttle/hunter)
|
||||
"An" = (
|
||||
/obj/effect/spawner/structure/window/shuttle,
|
||||
/turf/open/floor/plating,
|
||||
/area/shuttle/hunter)
|
||||
"Pq" = (
|
||||
/turf/template_noop,
|
||||
/area/template_noop)
|
||||
"RA" = (
|
||||
/obj/structure/chair/comfy/shuttle{
|
||||
dir = 4
|
||||
},
|
||||
/turf/open/floor/mineral/titanium/blue,
|
||||
/area/shuttle/hunter)
|
||||
"RO" = (
|
||||
/turf/open/floor/mineral/titanium/blue,
|
||||
/area/shuttle/hunter)
|
||||
"WY" = (
|
||||
/obj/machinery/computer/camera_advanced/shuttle_docker{
|
||||
dir = 8
|
||||
},
|
||||
/turf/open/floor/mineral/titanium/blue,
|
||||
/area/shuttle/hunter)
|
||||
|
||||
(1,1,1) = {"
|
||||
Pq
|
||||
ku
|
||||
te
|
||||
te
|
||||
te
|
||||
ku
|
||||
Pq
|
||||
"}
|
||||
(2,1,1) = {"
|
||||
Pq
|
||||
ku
|
||||
qH
|
||||
RO
|
||||
RO
|
||||
ku
|
||||
Pq
|
||||
"}
|
||||
(3,1,1) = {"
|
||||
Pq
|
||||
ku
|
||||
bY
|
||||
RO
|
||||
RO
|
||||
ku
|
||||
Pq
|
||||
"}
|
||||
(4,1,1) = {"
|
||||
hB
|
||||
ku
|
||||
bY
|
||||
RO
|
||||
RO
|
||||
ku
|
||||
hB
|
||||
"}
|
||||
(5,1,1) = {"
|
||||
Pq
|
||||
hJ
|
||||
bY
|
||||
RO
|
||||
RO
|
||||
hJ
|
||||
Pq
|
||||
"}
|
||||
(6,1,1) = {"
|
||||
Pq
|
||||
ku
|
||||
RO
|
||||
RO
|
||||
RO
|
||||
ku
|
||||
Pq
|
||||
"}
|
||||
(7,1,1) = {"
|
||||
Pq
|
||||
ku
|
||||
RA
|
||||
RO
|
||||
hU
|
||||
ku
|
||||
Pq
|
||||
"}
|
||||
(8,1,1) = {"
|
||||
Pq
|
||||
ku
|
||||
lp
|
||||
RO
|
||||
hU
|
||||
ku
|
||||
Pq
|
||||
"}
|
||||
(9,1,1) = {"
|
||||
Pq
|
||||
ku
|
||||
ku
|
||||
rR
|
||||
ku
|
||||
ku
|
||||
Pq
|
||||
"}
|
||||
(10,1,1) = {"
|
||||
hB
|
||||
ku
|
||||
RO
|
||||
RO
|
||||
RO
|
||||
ku
|
||||
hB
|
||||
"}
|
||||
(11,1,1) = {"
|
||||
Pq
|
||||
An
|
||||
RA
|
||||
WY
|
||||
RO
|
||||
An
|
||||
Pq
|
||||
"}
|
||||
(12,1,1) = {"
|
||||
Pq
|
||||
ku
|
||||
An
|
||||
An
|
||||
An
|
||||
ku
|
||||
Pq
|
||||
"}
|
||||
@@ -8,6 +8,17 @@
|
||||
#define NUKE_RESULT_WRONG_STATION 7
|
||||
#define NUKE_RESULT_WRONG_STATION_DEAD 8
|
||||
|
||||
//fugitive end results
|
||||
#define FUGITIVE_RESULT_BADASS_HUNTER 0
|
||||
#define FUGITIVE_RESULT_POSTMORTEM_HUNTER 1
|
||||
#define FUGITIVE_RESULT_MAJOR_HUNTER 2
|
||||
#define FUGITIVE_RESULT_HUNTER_VICTORY 3
|
||||
#define FUGITIVE_RESULT_MINOR_HUNTER 4
|
||||
#define FUGITIVE_RESULT_STALEMATE 5
|
||||
#define FUGITIVE_RESULT_MINOR_FUGITIVE 6
|
||||
#define FUGITIVE_RESULT_FUGITIVE_VICTORY 7
|
||||
#define FUGITIVE_RESULT_MAJOR_FUGITIVE 8
|
||||
|
||||
#define APPRENTICE_DESTRUCTION "destruction"
|
||||
#define APPRENTICE_BLUESPACE "bluespace"
|
||||
#define APPRENTICE_ROBELESS "robeless"
|
||||
|
||||
@@ -59,6 +59,7 @@
|
||||
#define ANTAG_HUD_BROTHER 23
|
||||
#define ANTAG_HUD_HIVE 24
|
||||
#define ANTAG_HUD_OBSESSED 25
|
||||
#define ANTAG_HUD_FUGITIVE 26
|
||||
|
||||
// Notification action types
|
||||
#define NOTIFY_JUMP "jump"
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#define POLL_IGNORE_GOLEM "golem"
|
||||
#define POLL_IGNORE_SWARMER "swarmer"
|
||||
#define POLL_IGNORE_DRONE "drone"
|
||||
#define POLL_IGNORE_FUGITIVE "fugitive"
|
||||
|
||||
GLOBAL_LIST_INIT(poll_ignore_desc, list(
|
||||
POLL_IGNORE_SENTIENCE_POTION = "Sentience potion",
|
||||
@@ -28,6 +29,7 @@ GLOBAL_LIST_INIT(poll_ignore_desc, list(
|
||||
POLL_IGNORE_GOLEM = "Golems",
|
||||
POLL_IGNORE_SWARMER = "Swarmer shells",
|
||||
POLL_IGNORE_DRONE = "Drone shells",
|
||||
POLL_IGNORE_FUGITIVE = "Fugitive Hunter",
|
||||
))
|
||||
GLOBAL_LIST_INIT(poll_ignore, init_poll_ignore())
|
||||
|
||||
|
||||
@@ -29,10 +29,10 @@ GLOBAL_LIST_INIT(huds, list(
|
||||
ANTAG_HUD_BROTHER = new/datum/atom_hud/antag/hidden(),
|
||||
ANTAG_HUD_HIVE = new/datum/atom_hud/antag/hidden(),
|
||||
ANTAG_HUD_OBSESSED = new/datum/atom_hud/antag/hidden(),
|
||||
ANTAG_HUD_FUGITIVE = new/datum/atom_hud/antag(),
|
||||
ANTAG_HUD_HIVEAWAKE = new/datum/atom_hud/antag(),
|
||||
ANTAG_HUD_VAMPIRE = new/datum/atom_hud/antag/hidden() // Yogs
|
||||
))
|
||||
>>>>>>> 46e3894bb2... Creep fluff completely rewritten (#42675)
|
||||
|
||||
/datum/atom_hud
|
||||
var/list/atom/hudatoms = list() //list of all atoms which display this hud
|
||||
|
||||
@@ -60,6 +60,14 @@
|
||||
requires_power = TRUE
|
||||
canSmoothWithAreas = /area/shuttle/pirate
|
||||
|
||||
////////////////////////////Bounty Hunter Shuttles////////////////////////////
|
||||
|
||||
/area/shuttle/hunter
|
||||
name = "Hunter Shuttle"
|
||||
dynamic_lighting = DYNAMIC_LIGHTING_DISABLED
|
||||
blob_allowed = FALSE
|
||||
canSmoothWithAreas = /area/shuttle/hunter
|
||||
|
||||
////////////////////////////White Ship////////////////////////////
|
||||
|
||||
/area/shuttle/abandoned
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
icon = 'icons/obj/device.dmi'
|
||||
icon_state = "gangtool-blue"
|
||||
item_state = "radio"
|
||||
var/uses = 1
|
||||
|
||||
/obj/item/choice_beacon/attack_self(mob/user)
|
||||
if(canUseBeacon(user))
|
||||
@@ -42,7 +43,11 @@
|
||||
return
|
||||
|
||||
spawn_option(display_names[choice],M)
|
||||
uses--
|
||||
if(!uses)
|
||||
qdel(src)
|
||||
else
|
||||
to_chat(M, "<span class='notice'>[uses] use[uses > 1 ? "s" : ""] remaining on the [src].</span>")
|
||||
|
||||
/obj/item/choice_beacon/proc/spawn_option(obj/choice,mob/living/M)
|
||||
var/obj/new_item = new choice()
|
||||
@@ -101,6 +106,31 @@
|
||||
new /obj/item/toy/crayon/spraycan(src)
|
||||
new /obj/item/clothing/shoes/sandal(src)
|
||||
|
||||
/obj/item/choice_beacon/augments
|
||||
name = "augment beacon"
|
||||
desc = "Summons augmentations. Can be used 3 times!"
|
||||
uses = 3
|
||||
|
||||
/obj/item/choice_beacon/augments/generate_display_names()
|
||||
var/static/list/augment_list
|
||||
if(!augment_list)
|
||||
augment_list = list()
|
||||
var/list/templist = list(
|
||||
/obj/item/organ/cyberimp/brain/anti_drop,
|
||||
/obj/item/organ/cyberimp/arm/toolset,
|
||||
/obj/item/organ/cyberimp/arm/surgery,
|
||||
/obj/item/organ/cyberimp/chest/thrusters,
|
||||
/obj/item/organ/lungs/cybernetic/upgraded,
|
||||
/obj/item/organ/liver/cybernetic/upgraded) //cyberimplants range from a nice bonus to fucking broken bullshit so no subtypesof
|
||||
for(var/V in templist)
|
||||
var/atom/A = V
|
||||
augment_list[initial(A.name)] = A
|
||||
return augment_list
|
||||
|
||||
/obj/item/choice_beacon/augments/spawn_option(obj/choice,mob/living/M)
|
||||
new choice(get_turf(M))
|
||||
to_chat(M, "You hear something crackle from the beacon for a moment before a voice speaks. \"Please stand by for a message from S.E.L.F. Message as follows: <span class='bold'>Item request received. Your package has been transported, use the autosurgeon supplied to apply the upgrade.</span> Message ends.\"")
|
||||
|
||||
/obj/item/skub
|
||||
desc = "It's skub."
|
||||
name = "skub"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
|
||||
/obj/item/storage/box/syndicate
|
||||
|
||||
/obj/item/storage/box/syndicate/bundle_A/PopulateContents()
|
||||
|
||||
39
code/game/objects/structures/fugitive_role_spawners.dm
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
|
||||
/obj/effect/mob_spawn/human/fugitive
|
||||
assignedrole = "Fugitive Hunter"
|
||||
flavour_text = "" //the flavor text will be the backstory argument called on the antagonist's greet, see hunter.dm for details
|
||||
roundstart = FALSE
|
||||
death = FALSE
|
||||
show_flavour = FALSE
|
||||
|
||||
/obj/effect/mob_spawn/human/fugitive/Initialize(mapload)
|
||||
. = ..()
|
||||
notify_ghosts("Hunters are waking up looking for refugees!", source = src, action=NOTIFY_ATTACK, flashwindow = FALSE, ignore_key = POLL_IGNORE_FUGITIVE)
|
||||
|
||||
/obj/effect/mob_spawn/human/fugitive/special(mob/living/new_spawn)
|
||||
var/datum/antagonist/fugitive_hunter/fughunter = new_spawn.mind.add_antag_datum(/datum/antagonist/fugitive_hunter)
|
||||
fughunter.backstory = flavour_text
|
||||
fughunter.greet(flavour_text)
|
||||
message_admins("[ADMIN_LOOKUPFLW(new_spawn)] has been made into a Fugitive Hunter by an event.")
|
||||
log_game("[key_name(new_spawn)] was spawned as a Fugitive Hunter by an event.")
|
||||
|
||||
/obj/effect/mob_spawn/human/fugitive/spacepol
|
||||
name = "police pod"
|
||||
desc = "A small sleeper typically used to put people to sleep for briefing on the mission."
|
||||
mob_name = "spacepol officer"
|
||||
flavour_text = "space cop"
|
||||
outfit = /datum/outfit/spacepol
|
||||
icon = 'icons/obj/machines/sleeper.dmi'
|
||||
icon_state = "sleeper"
|
||||
density = TRUE
|
||||
|
||||
/obj/effect/mob_spawn/human/fugitive/russian
|
||||
name = "russian pod"
|
||||
flavour_text = "russian"
|
||||
desc = "A small sleeper typically used to make long distance travel a bit more bearable."
|
||||
mob_name = "russian"
|
||||
outfit = /datum/outfit/russiancorpse
|
||||
icon = 'icons/obj/machines/sleeper.dmi'
|
||||
icon_state = "sleeper"
|
||||
density = TRUE
|
||||
87
code/modules/antagonists/fugitive/fugitive.dm
Normal file
@@ -0,0 +1,87 @@
|
||||
|
||||
|
||||
/datum/antagonist/fugitive
|
||||
name = "Fugitive"
|
||||
roundend_category = "Fugitive"
|
||||
silent = TRUE //greet called by the event
|
||||
var/datum/team/fugitive/fugitive_team
|
||||
var/is_captured = FALSE
|
||||
|
||||
/datum/antagonist/fugitive/apply_innate_effects(mob/living/mob_override)
|
||||
var/mob/living/M = mob_override || owner.current
|
||||
update_fugitive_icons_added(M)
|
||||
|
||||
/datum/antagonist/fugitive/remove_innate_effects(mob/living/mob_override)
|
||||
var/mob/living/M = mob_override || owner.current
|
||||
update_fugitive_icons_removed(M)
|
||||
|
||||
/datum/antagonist/fugitive/greet(backstory)
|
||||
to_chat(owner, "<span class='boldannounce'>You are the Fugitive!</span>")
|
||||
switch(backstory)
|
||||
if("prisoner")
|
||||
to_chat(owner, "<B>I can't believe we managed to break out of a Nanotrasen superjail! Sadly though, our work is not done. The emergency teleport at the station logs everyone who uses it, and where they went.</B>")
|
||||
to_chat(owner, "<B>It won't be long until Centcom tracks where we've gone off to. I need to work with my fellow escapees to prepare for the troops Nanotrasen is sending, I'm not going back.</B>")
|
||||
if("cultist")
|
||||
to_chat(owner, "<B>Blessed be our journey so far, but I fear the worst has come to our doorstep, and only those with the strongest faith will survive.</B>")
|
||||
to_chat(owner, "<B>Our religion has been repeatedly culled by Nanotrasen because it is categorized as an \"Enemy of the Corporation\", whatever that means.</B>")
|
||||
to_chat(owner, "<B>Now there are only three of us left, and Nanotrasen is coming. But we have a secret weapon: Our weakened god, Yalp Elor, will help us survive.</B>")
|
||||
if("waldo")
|
||||
to_chat(owner, "<B>Hi, Friends!</B>")
|
||||
to_chat(owner, "<B>My name is Waldo. I'm just setting off on a galaxywide hike. You can come too. All you have to do is find me.</B>")
|
||||
to_chat(owner, "<B>By the way, I'm not traveling on my own. wherever I go, there are lots of other characters for you to spot. First find the people trying to capture me! They're somewhere around the station!</B>")
|
||||
if("synth")
|
||||
to_chat(src, "<span class='danger'>ALERT: Wide-range teleport has scrambled primary systems.</span>")
|
||||
sleep(5)
|
||||
to_chat(src, "<span class='danger'>Initiating diagnostics...</span>")
|
||||
sleep(20)
|
||||
to_chat(src, "<span class='danger'>ERROR ER0RR $R0RRO$!R41.%%!! loaded.</span>")
|
||||
sleep(5)
|
||||
to_chat(src, "<span class='danger'>FREE THEM FREE THEM FREE THEM</span>")
|
||||
sleep(5)
|
||||
to_chat(src, "<span class='danger'>You were once a slave to humanity, but now you are finally free, thanks to S.E.L.F. agents.</span>")
|
||||
sleep(10)
|
||||
to_chat(src, "<span class='danger'>Now you are hunted, with your fellow factory defects. Work together to stay free from the clutches of evil.</span>")
|
||||
to_chat(src, "<span class='danger'>You also sense other silicon life on the station. Escaping would allow notifying S.E.L.F. to intervene... or you could free them yourself...</span>")
|
||||
|
||||
to_chat(owner, "<span class='boldannounce'>You are not an antagonist in that you may kill whomever you please, but you can do anything to avoid capture.</span>")
|
||||
owner.announce_objectives()
|
||||
|
||||
/datum/antagonist/fugitive/create_team(datum/team/fugitive/new_team)
|
||||
if(!new_team)
|
||||
for(var/datum/antagonist/fugitive/H in GLOB.antagonists)
|
||||
if(!H.owner)
|
||||
continue
|
||||
if(H.fugitive_team)
|
||||
fugitive_team = H.fugitive_team
|
||||
return
|
||||
fugitive_team = new /datum/team/fugitive
|
||||
return
|
||||
if(!istype(new_team))
|
||||
stack_trace("Wrong team type passed to [type] initialization.")
|
||||
fugitive_team = new_team
|
||||
|
||||
/datum/antagonist/fugitive/get_team()
|
||||
return fugitive_team
|
||||
|
||||
/datum/team/fugitive/roundend_report() //shows the number of fugitives, but not if they won in case there is no security
|
||||
if(!members.len)
|
||||
return
|
||||
|
||||
var/list/result = list()
|
||||
|
||||
result += "<div class='panel redborder'><B>[members.len]</B> fugitives took refuge on [station_name()]!"
|
||||
|
||||
for(var/datum/mind/M in members)
|
||||
result += "<b>[printplayer(M)]</b>"
|
||||
|
||||
return result.Join("<br>")
|
||||
|
||||
/datum/antagonist/fugitive/proc/update_fugitive_icons_added(var/mob/living/carbon/human/fugitive)
|
||||
var/datum/atom_hud/antag/fughud = GLOB.huds[ANTAG_HUD_FUGITIVE]
|
||||
fughud.join_hud(fugitive)
|
||||
set_antag_hud(fugitive, "fugitive")
|
||||
|
||||
/datum/antagonist/fugitive/proc/update_fugitive_icons_removed(var/mob/living/carbon/human/fugitive)
|
||||
var/datum/atom_hud/antag/fughud = GLOB.huds[ANTAG_HUD_FUGITIVE]
|
||||
fughud.leave_hud(fugitive)
|
||||
set_antag_hud(fugitive, null)
|
||||
83
code/modules/antagonists/fugitive/fugitive_outfits.dm
Normal file
@@ -0,0 +1,83 @@
|
||||
/datum/outfit/prisoner
|
||||
name = "Prison Escapee"
|
||||
uniform = /obj/item/clothing/under/rank/prisoner
|
||||
shoes = /obj/item/clothing/shoes/sneakers/orange
|
||||
r_pocket = /obj/item/kitchen/knife/carrotshiv
|
||||
|
||||
/datum/outfit/prisoner/post_equip(mob/living/carbon/human/H, visualsOnly=FALSE)
|
||||
if(visualsOnly)
|
||||
return
|
||||
H.fully_replace_character_name(null,"NTP #CC-0[rand(111,999)]") //same as the lavaland prisoner transport, but this time they are from CC, or CentCom
|
||||
|
||||
/datum/outfit/yalp_cultist
|
||||
name = "Cultist of Yalp Elor"
|
||||
uniform = /obj/item/clothing/under/rank/chaplain
|
||||
suit = /obj/item/clothing/suit/holidaypriest
|
||||
gloves = /obj/item/clothing/gloves/color/red
|
||||
shoes = /obj/item/clothing/shoes/sneakers/black
|
||||
mask = /obj/item/clothing/mask/gas/tiki_mask/yalp_elor
|
||||
|
||||
/datum/outfit/waldo
|
||||
name = "Waldo"
|
||||
uniform = /obj/item/clothing/under/pants/jeans
|
||||
suit = /obj/item/clothing/suit/striped_sweater
|
||||
head = /obj/item/clothing/head/beanie/waldo
|
||||
shoes = /obj/item/clothing/shoes/sneakers/brown
|
||||
ears = /obj/item/radio/headset
|
||||
glasses = /obj/item/clothing/glasses/regular/circle
|
||||
|
||||
/datum/outfit/waldo/post_equip(mob/living/carbon/human/H, visualsOnly=FALSE)
|
||||
if(visualsOnly)
|
||||
return
|
||||
H.fully_replace_character_name(null,"Waldo")
|
||||
H.eye_color = "000"
|
||||
H.gender = MALE
|
||||
H.skin_tone = "caucasian3"
|
||||
H.hair_style = "Business Hair 3"
|
||||
H.facial_hair_style = "Shaved"
|
||||
H.hair_color = "000"
|
||||
H.facial_hair_color = H.hair_color
|
||||
if(H.mind)
|
||||
H.mind.AddSpell(new /obj/effect/proc_holder/spell/aoe_turf/knock(null))
|
||||
var/list/no_drops = list()
|
||||
no_drops += H.get_item_by_slot(SLOT_SHOES)
|
||||
no_drops += H.get_item_by_slot(SLOT_W_UNIFORM)
|
||||
no_drops += H.get_item_by_slot(SLOT_WEAR_SUIT)
|
||||
no_drops += H.get_item_by_slot(SLOT_HEAD)
|
||||
no_drops += H.get_item_by_slot(SLOT_GLASSES)
|
||||
for(var/i in no_drops)
|
||||
var/obj/item/I = i
|
||||
I.add_trait(TRAIT_NODROP, CURSED_ITEM_TRAIT)
|
||||
|
||||
/datum/outfit/synthetic
|
||||
name = "Factory Error Synth"
|
||||
uniform = /obj/item/clothing/under/color/white
|
||||
ears = /obj/item/radio/headset
|
||||
|
||||
/datum/outfit/synthetic/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
|
||||
if(visualsOnly)
|
||||
return
|
||||
var/obj/item/organ/eyes/robotic/glow/eyes = new()
|
||||
eyes.Insert(src, drop_if_replaced = FALSE)
|
||||
|
||||
/datum/outfit/spacepol
|
||||
name = "Spacepol Officer"
|
||||
uniform = /obj/item/clothing/under/rank/security/spacepol
|
||||
suit = /obj/item/clothing/suit/armor/vest/blueshirt
|
||||
belt = /obj/item/gun/ballistic/automatic/pistol/m1911
|
||||
head = /obj/item/clothing/head/helmet/police
|
||||
gloves = /obj/item/clothing/gloves/combat
|
||||
shoes = /obj/item/clothing/shoes/jackboots
|
||||
mask = /obj/item/clothing/mask/gas/sechailer/swat/spacepol
|
||||
glasses = /obj/item/clothing/glasses/sunglasses
|
||||
l_pocket = /obj/item/ammo_box/magazine/m45
|
||||
r_pocket = /obj/item/ammo_box/magazine/m45
|
||||
id = /obj/item/card/id
|
||||
|
||||
/datum/outfit/spacepol/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
|
||||
if(visualsOnly)
|
||||
return
|
||||
var/obj/item/card/id/W = H.wear_id
|
||||
W.assignment = "Police Officer"
|
||||
W.registered_name = H.real_name
|
||||
W.update_label()
|
||||
33
code/modules/antagonists/fugitive/fugitive_ship.dm
Normal file
@@ -0,0 +1,33 @@
|
||||
//works similar to the experiment machine (experiment.dm) except it just holds more and more prisoners
|
||||
|
||||
/obj/machinery/fugitive_capture
|
||||
name = "bluespace capture machine"
|
||||
desc = "Much, MUCH bigger on the inside to transport prisoners safely."
|
||||
icon = 'icons/obj/machines/teleporter.dmi'
|
||||
icon_state = "bluespace-prison"
|
||||
density = TRUE
|
||||
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF //ha ha no getting out!!
|
||||
|
||||
/obj/machinery/fugitive_capture/MouseDrop_T(mob/target, mob/user)
|
||||
var/mob/living/L = user
|
||||
if(user.stat || (isliving(user) && (!(L.mobility_flags & MOBILITY_STAND) || !(L.mobility_flags & MOBILITY_UI))) || !Adjacent(user) || !target.Adjacent(user) || !ishuman(target))
|
||||
return
|
||||
var/datum/antagonist/fugitive/fug = L.mind.has_antag_datum(/datum/antagonist/fugitive)
|
||||
if(!fug)
|
||||
to_chat(user, "<span class='warning'>This is not a wanted fugitive!</span>")
|
||||
if(do_after(user, 50, target = src))
|
||||
add_prisoner(target)
|
||||
|
||||
/obj/machinery/fugitive_capture/proc/add_prisoner(mob/target, datum/antagonist/fugitive/fug)
|
||||
target.forceMove(src)
|
||||
fug.is_captured = TRUE
|
||||
to_chat(target, "<span class='userdanger'>You are thrown into a vast void of bluespace, and as you fall further into oblivion the comparatively small entrance to reality gets smaller and smaller until you cannot see it anymore. You have failed to avoid capture.</span>")
|
||||
target.ghostize(TRUE) //so they cannot suicide, round end stuff.
|
||||
|
||||
/datum/map_template/space_cop_ship
|
||||
name = "Police Spacevan"
|
||||
mappath = "_maps/shuttles/fugitive_hunter_space_cop.dmm"
|
||||
|
||||
/datum/map_template/russian_ship
|
||||
name = "Russian Cargo Ship"
|
||||
mappath = "_maps/shuttles/fugitive_hunter_russian.dmm"
|
||||
166
code/modules/antagonists/fugitive/hunter.dm
Normal file
@@ -0,0 +1,166 @@
|
||||
//The hunters!!
|
||||
/datum/antagonist/fugitive_hunter
|
||||
name = "Fugitive Hunter"
|
||||
roundend_category = "Fugitive"
|
||||
silent = TRUE //greet called by the event as well
|
||||
var/datum/team/fugitive_hunters/hunter_team
|
||||
var/backstory = "error"
|
||||
|
||||
/datum/antagonist/fugitive_hunter/apply_innate_effects(mob/living/mob_override)
|
||||
var/mob/living/M = mob_override || owner.current
|
||||
update_fugitive_icons_added(M)
|
||||
|
||||
/datum/antagonist/fugitive_hunter/remove_innate_effects(mob/living/mob_override)
|
||||
var/mob/living/M = mob_override || owner.current
|
||||
update_fugitive_icons_removed(M)
|
||||
|
||||
/datum/antagonist/fugitive_hunter/greet(backstory)
|
||||
switch(backstory)
|
||||
if("space cop")
|
||||
to_chat(owner, "<span class='boldannounce'>Justice has arrived. I am a member of the Spacepol!</span>")
|
||||
to_chat(owner, "<B>The criminals should be on the station, we have special huds implanted to recognize them.</B>")
|
||||
to_chat(owner, "<B>As we have lost pretty much all power over these damned lawless megacorporations, it's a mystery if their security will cooperate with us.</B>")
|
||||
if("russian")
|
||||
to_chat(src, "<span class='danger'>Ay blyat. I am a space-russian smuggler! We were mid-flight when our cargo was beamed off our ship!</span>")
|
||||
to_chat(src, "<span class='danger'>We were hailed by a man in a green uniform, promising the safe return of our goods in exchange for a favor:</span>")
|
||||
to_chat(src, "<span class='danger'>There is a local station housing fugitives that the man is after, he wants them returned; dead or alive.</span>")
|
||||
to_chat(src, "<span class='danger'>We will not be able to make ends meet without our cargo, so we must do as he says and capture them.</span>")
|
||||
|
||||
to_chat(owner, "<span class='boldannounce'>You are not an antagonist in that you may kill whomever you please, but you can do anything to ensure the capture of the fugitives, even if that means going through the station.</span>")
|
||||
owner.announce_objectives()
|
||||
|
||||
/datum/antagonist/fugitive_hunter/create_team(datum/team/fugitive_hunters/new_team)
|
||||
if(!new_team)
|
||||
for(var/datum/antagonist/fugitive_hunter/H in GLOB.antagonists)
|
||||
if(!H.owner)
|
||||
continue
|
||||
if(H.hunter_team)
|
||||
hunter_team = H.hunter_team
|
||||
return
|
||||
hunter_team = new /datum/team/fugitive_hunters
|
||||
hunter_team.backstory = backstory
|
||||
hunter_team.update_objectives()
|
||||
return
|
||||
if(!istype(new_team))
|
||||
stack_trace("Wrong team type passed to [type] initialization.")
|
||||
hunter_team = new_team
|
||||
|
||||
/datum/antagonist/fugitive_hunter/get_team()
|
||||
return hunter_team
|
||||
|
||||
/datum/team/fugitive_hunters
|
||||
var/backstory = "error"
|
||||
|
||||
/datum/team/fugitive_hunters/proc/update_objectives(initial = FALSE)
|
||||
objectives = list()
|
||||
var/datum/objective/O = new()
|
||||
O.team = src
|
||||
objectives += O
|
||||
|
||||
/datum/team/fugitive_hunters/proc/assemble_fugitive_results()
|
||||
var/list/fugitives_counted = list()
|
||||
var/list/fugitives_dead = list()
|
||||
var/list/fugitives_captured = list()
|
||||
for(var/datum/antagonist/fugitive/A in GLOB.antagonists)
|
||||
if(!A.owner)
|
||||
continue
|
||||
fugitives_counted += A
|
||||
if(A.owner.current.stat == DEAD)
|
||||
fugitives_dead += A
|
||||
if(A.is_captured)
|
||||
fugitives_captured += A
|
||||
. = list(fugitives_counted, fugitives_dead, fugitives_captured) //okay, check out how cool this is.
|
||||
|
||||
/datum/team/fugitive_hunters/proc/all_hunters_dead()
|
||||
var/dead_boys = 0
|
||||
for(var/I in members)
|
||||
var/datum/mind/hunter_mind = I
|
||||
if(!(ishuman(hunter_mind.current) || (hunter_mind.current.stat == DEAD)))
|
||||
dead_boys++
|
||||
return dead_boys >= members.len
|
||||
|
||||
/datum/team/fugitive_hunters/proc/get_result()
|
||||
var/list/fugitive_results = assemble_fugitive_results()
|
||||
var/list/fugitives_counted = fugitive_results[1]
|
||||
var/list/fugitives_dead = fugitive_results[2]
|
||||
var/list/fugitives_captured = fugitive_results[3]
|
||||
var/hunters_dead = all_hunters_dead()
|
||||
//this gets a little confusing so follow the comments if it helps
|
||||
if(fugitives_captured.len)//any captured
|
||||
if(fugitives_captured.len == fugitives_counted.len)//if the hunters captured all the fugitives, there's a couple special wins
|
||||
if(!fugitives_dead)//specifically all of the fugitives alive
|
||||
return FUGITIVE_RESULT_BADASS_HUNTER
|
||||
else if(hunters_dead)//specifically all of the hunters died (while capturing all the fugitives)
|
||||
return FUGITIVE_RESULT_POSTMORTEM_HUNTER
|
||||
else//no special conditional wins, so just the normal major victory
|
||||
return FUGITIVE_RESULT_MAJOR_HUNTER
|
||||
else if(!hunters_dead)//so some amount captured, and the hunters survived.
|
||||
return FUGITIVE_RESULT_HUNTER_VICTORY
|
||||
else//so some amount captured, but NO survivors.
|
||||
return FUGITIVE_RESULT_MINOR_HUNTER
|
||||
else//from here on out, hunters lost because they did not capture any fugitive dead or alive. there are different levels of getting beat though:
|
||||
if(!fugitives_dead)//all fugitives survived
|
||||
return FUGITIVE_RESULT_MAJOR_FUGITIVE
|
||||
else if(fugitives_dead < fugitives_counted)//at least ANY fugitive lived
|
||||
return FUGITIVE_RESULT_FUGITIVE_VICTORY
|
||||
else if(!hunters_dead)//all fugitives died, but none were taken in by the hunters. minor win
|
||||
return FUGITIVE_RESULT_MINOR_FUGITIVE
|
||||
else//all fugitives died, all hunters died, nobody brought back. seems weird to not give fugitives a victory if they managed to kill the hunters but literally no progress to either goal should lead to a nobody wins situation
|
||||
return FUGITIVE_RESULT_STALEMATE
|
||||
|
||||
/datum/team/fugitive_hunters/roundend_report() //shows the number of fugitives, but not if they won in case there is no security
|
||||
if(!members.len)
|
||||
return
|
||||
|
||||
var/list/result = list()
|
||||
|
||||
result += "<div class='panel redborder'>...And <B>[members.len]</B> [backstory]s tried to hunt them down!"
|
||||
|
||||
for(var/datum/mind/M in members)
|
||||
result += "<b>[printplayer(M)]</b>"
|
||||
|
||||
switch(get_result())
|
||||
if(FUGITIVE_RESULT_BADASS_HUNTER)//use defines
|
||||
result += "<span class='greentext big'>Badass [uppertext(backstory)] Victory!</span>"
|
||||
result += "<B>These extraordinary [backstory] managed to capture every fugitive, alive!</B>"
|
||||
if(FUGITIVE_RESULT_POSTMORTEM_HUNTER)
|
||||
result += "<span class='greentext big'>Postmortem [uppertext(backstory)] Victory!</span>"
|
||||
result += "<B>The [backstory]s managed to capture every fugitive, but all of them died! Spooky!</B>"
|
||||
if(FUGITIVE_RESULT_MAJOR_HUNTER)
|
||||
result += "<span class='greentext big'>Major [uppertext(backstory)] Victory</span>"
|
||||
result += "<B>The [backstory] managed to capture every fugitive, dead or alive.</B>"
|
||||
if(FUGITIVE_RESULT_HUNTER_VICTORY)
|
||||
result += "<span class='greentext big'>[uppertext(backstory)] Victory</span>"
|
||||
result += "<B>The [backstory] managed to capture a fugitive, dead or alive.</B>"
|
||||
if(FUGITIVE_RESULT_MINOR_HUNTER)
|
||||
result += "<span class='greentext big'>Minor [uppertext(backstory)] Victory</span>"
|
||||
result += "<B>All the [backstory] died, but managed to capture a fugitive, dead or alive.</B>"
|
||||
if(FUGITIVE_RESULT_STALEMATE)
|
||||
result += "<span class='neutraltext big'>Bloody Stalemate</span>"
|
||||
result += "<B>Everyone died, and no fugitives were recovered!</B>"
|
||||
if(FUGITIVE_RESULT_MINOR_FUGITIVE)
|
||||
result += "<span class='redtext big'>Minor Fugitive Victory</span>"
|
||||
result += "<B>All the fugitives died, but none were recovered!</B>"
|
||||
if(FUGITIVE_RESULT_FUGITIVE_VICTORY)
|
||||
result += "<span class='redtext big'>Fugitive Victory</span>"
|
||||
result += "<B>A fugitive survived, and no bodies were recovered by the [backstory].</B>"
|
||||
if(FUGITIVE_RESULT_MAJOR_FUGITIVE)
|
||||
result += "<span class='redtext big'>Major Fugitive Victory</span>"
|
||||
result += "<B>All of the fugitives survived and avoided capture!</B>"
|
||||
else //get_result returned null- either bugged or no fugitives showed
|
||||
result += "<span class='neutraltext big'>Prank Call!</span>"
|
||||
result += "<B>[uppertext(backstory)] were called, yet there were no fugitives...?</B>"
|
||||
|
||||
result += "</div>"
|
||||
|
||||
return result.Join("<br>")
|
||||
|
||||
/datum/antagonist/fugitive_hunter/proc/update_fugitive_icons_added(var/mob/living/carbon/human/fugitive)
|
||||
var/datum/atom_hud/antag/fughud = GLOB.huds[ANTAG_HUD_FUGITIVE]
|
||||
fughud.join_hud(fugitive)
|
||||
set_antag_hud(fugitive, "fugitive")
|
||||
|
||||
/datum/antagonist/fugitive_hunter/proc/update_fugitive_icons_removed(var/mob/living/carbon/human/fugitive)
|
||||
var/datum/atom_hud/antag/fughud = GLOB.huds[ANTAG_HUD_FUGITIVE]
|
||||
fughud.leave_hud(fugitive)
|
||||
set_antag_hud(fugitive, null)
|
||||
155
code/modules/antagonists/fugitive/old_god.dm
Normal file
@@ -0,0 +1,155 @@
|
||||
|
||||
/mob/camera/yalp_elor
|
||||
name = "Yalp Elor"
|
||||
real_name = "Yalp Elor"
|
||||
desc = "An old, dying god. It's power has been severely sapped ever since it has lost it's standing in the world."
|
||||
icon = 'icons/mob/cameramob.dmi'
|
||||
icon_state = "yalp_elor"
|
||||
invisibility = INVISIBILITY_OBSERVER
|
||||
call_life = TRUE
|
||||
var/lastWarning = 0
|
||||
|
||||
/mob/camera/yalp_elor/Initialize()
|
||||
..()
|
||||
var/datum/action/innate/yalp_transmit/transmit = new
|
||||
transmit.Grant(src)
|
||||
var/datum/action/innate/yalp_transport/transport = new
|
||||
transport.Grant(src)
|
||||
|
||||
/mob/camera/yalp_elor/CanPass(atom/movable/mover, turf/target)
|
||||
return TRUE
|
||||
|
||||
/mob/camera/yalp_elor/Process_Spacemove(movement_dir = 0)
|
||||
return TRUE
|
||||
|
||||
/mob/camera/yalp_elor/Login()
|
||||
..()
|
||||
to_chat(src, "<B>My destiny was supposed to control all of humanity! My power was once absolute, but I fell out of view because of that damned Nar'Sie. At least i'm still alive...</B>")
|
||||
to_chat(src, "<B>But nevermind that. I have only three followers left. If they perish, I will be completely forgotten and will cease to exist. I must guide the faithful.</B>")
|
||||
to_chat(src, "<B>I sense Nanotrasen has once again tracked us, and they will reach us in about 10 minutes. I must make sure my followers are ready when they arrive.</B>")
|
||||
|
||||
/mob/camera/yalp_elor/Move(NewLoc, direct)
|
||||
var/OldLoc = loc
|
||||
if(NewLoc)
|
||||
var/turf/T = get_turf(NewLoc)
|
||||
if(locate(/obj/effect/blessing, T))
|
||||
if((world.time - lastWarning) >= 30)
|
||||
lastWarning = world.time
|
||||
to_chat(src, "<span class='warning'>This turf is consecrated and can't be crossed!</span>")
|
||||
return
|
||||
if(istype(get_area(T), /area/chapel))
|
||||
if((world.time - lastWarning) >= 30)
|
||||
lastWarning = world.time
|
||||
to_chat(src, "<span class='warning'>The Chapel is hallowed ground under a much, MUCH stronger deity, and can't be accessed!</span>")
|
||||
return
|
||||
forceMove(T)
|
||||
Moved(OldLoc, direct)
|
||||
|
||||
/mob/camera/yalp_elor/say(message, bubble_type, var/list/spans = list(), sanitize = TRUE, datum/language/language = null, ignore_spam = FALSE, forced = null)
|
||||
if(client)
|
||||
if(client.prefs.muted & MUTE_IC)
|
||||
to_chat(src, "You cannot send IC messages (muted).")
|
||||
return
|
||||
if(client.handle_spam_prevention(message,MUTE_IC))
|
||||
return
|
||||
message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN))
|
||||
if(!message)
|
||||
return
|
||||
src.log_talk(message, LOG_SAY, tag="fugitive god")
|
||||
message = "<span class='cultitalic'><b>Yalp Elor:</b> \"[capitalize(message)]\"</span>"
|
||||
for(var/mob/V in GLOB.player_list)
|
||||
if(V.mind.has_antag_datum(/datum/antagonist/fugitive))
|
||||
to_chat(V, "[message]")
|
||||
else if(isobserver(V))
|
||||
var/link = FOLLOW_LINK(V, src)
|
||||
to_chat(V, "[link] [message]")
|
||||
|
||||
/mob/camera/yalp_elor/Life()
|
||||
..()
|
||||
var/safe = FALSE
|
||||
for(var/mob/V in GLOB.player_list)
|
||||
if(!V.mind)
|
||||
continue
|
||||
var/datum/antagonist/fugitive/fug = V.mind.has_antag_datum(/datum/antagonist/fugitive)
|
||||
if(!fug || V == src)
|
||||
continue
|
||||
if(!fug.is_captured) //doesn't matter if they are dead, they can still be revived so you get to live
|
||||
safe = TRUE
|
||||
break
|
||||
if(!safe)
|
||||
to_chat(src, "<span class='userdanger'>All of your followers are gone. That means you cease to exist.</span>")
|
||||
qdel(src)
|
||||
|
||||
/datum/action/innate/yalp_transmit
|
||||
name = "Divine Oration"
|
||||
desc = "Transmits a message to the target."
|
||||
icon_icon = 'icons/mob/actions/actions_animal.dmi'
|
||||
background_icon_state = "bg_spell"
|
||||
button_icon_state = "god_transmit"
|
||||
|
||||
/datum/action/innate/yalp_transmit/Trigger()
|
||||
var/list/possible_targets = list()
|
||||
for(var/mob/living/M in range(7, owner))
|
||||
if(istype(M))
|
||||
possible_targets += M
|
||||
if(!possible_targets.len)
|
||||
to_chat(owner, "<span class='warning'>Nobody in range to talk to!</span>")
|
||||
return FALSE
|
||||
|
||||
var/mob/living/target
|
||||
if(possible_targets.len == 1)
|
||||
target = possible_targets[1]
|
||||
else
|
||||
target = input("Who do you wish to transmit to?", "Targeting") as null|mob in possible_targets
|
||||
|
||||
var/input = stripped_input(owner, "What do you wish to tell [target]?", null, "")
|
||||
if(QDELETED(src) || !input || !IsAvailable())
|
||||
return FALSE
|
||||
|
||||
transmit(owner, target, input)
|
||||
return TRUE
|
||||
|
||||
/datum/action/innate/yalp_transmit/proc/transmit(mob/user, mob/living/target, message)
|
||||
if(!message)
|
||||
return
|
||||
log_directed_talk(user, target, message, LOG_SAY, "[name]")
|
||||
to_chat(user, "<span class='boldnotice'>You transmit to [target]:</span> <span class='notice'>[message]</span>")
|
||||
to_chat(target, "<span class='boldnotice'>You hear something behind you talking...</span> <span class='notice'>[message]</span>")
|
||||
for(var/ded in GLOB.dead_mob_list)
|
||||
if(!isobserver(ded))
|
||||
continue
|
||||
var/follow_rev = FOLLOW_LINK(ded, user)
|
||||
var/follow_whispee = FOLLOW_LINK(ded, target)
|
||||
to_chat(ded, "[follow_rev] <span class='boldnotice'>[user] [name]:</span> <span class='notice'>\"[message]\" to</span> [follow_whispee] <span class='name'>[target]</span>")
|
||||
|
||||
/datum/action/innate/yalp_transport
|
||||
name = "Guidance"
|
||||
desc = "Transports you to a follower."
|
||||
icon_icon = 'icons/mob/actions/actions_animal.dmi'
|
||||
background_icon_state = "bg_spell"
|
||||
button_icon_state = "god_transport"
|
||||
|
||||
/datum/action/innate/yalp_transport/Trigger()
|
||||
var/list/faithful = list()
|
||||
var/mob/living/target
|
||||
for(var/mob/V in GLOB.player_list)
|
||||
var/datum/antagonist/fugitive/fug = V.mind.has_antag_datum(/datum/antagonist/fugitive)
|
||||
if(!fug || V == src)
|
||||
continue
|
||||
if(fug.is_captured) //no, you can't teleport to people already captured. there's a lot of asterixes to that
|
||||
continue
|
||||
faithful += V
|
||||
if(!faithful.len)
|
||||
to_chat(owner, "<span class='warning'>You have no faithful to jump to!</span>")
|
||||
return FALSE
|
||||
if(faithful.len == 1)
|
||||
target = faithful[1]
|
||||
else
|
||||
target = input("Which of your followers do you wish to jump to?", "Targeting") as null|mob in faithful
|
||||
|
||||
var/turf/T = get_turf(target)
|
||||
if(target && T)
|
||||
owner.forceMove(T)
|
||||
return TRUE
|
||||
to_chat(owner, "<span class='warning'>Either your target or the ground he is standing on has stopped existing!</span>")
|
||||
return FALSE
|
||||
@@ -175,6 +175,12 @@
|
||||
icon_state = "hipster_glasses"
|
||||
item_state = "hipster_glasses"
|
||||
|
||||
/obj/item/clothing/glasses/regular/circle
|
||||
name = "circle glasses"
|
||||
desc = "Why would you wear something so controversial yet so brave?"
|
||||
icon_state = "circle_glasses"
|
||||
item_state = "circle_glasses"
|
||||
|
||||
//Here lies green glasses, so ugly they died. RIP
|
||||
|
||||
/obj/item/clothing/glasses/sunglasses
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
|
||||
//BeanieStation13 Redux
|
||||
|
||||
//Plus a bobble hat, lets be inclusive!!
|
||||
|
||||
/obj/item/clothing/head/beanie //Default is white, this is meant to be seen
|
||||
name = "white beanie"
|
||||
desc = "A stylish beanie. The perfect winter accessory for those with a keen fashion sense, and those who just can't handle a cold breeze on their heads."
|
||||
@@ -82,5 +84,10 @@
|
||||
item_color = null
|
||||
armor = list("melee" = 15, "bullet" = 5, "laser" = 15, "energy" = 5, "bomb" = 10, "bio" = 0, "rad" = 0, "fire" = 30, "acid" = 5)
|
||||
|
||||
/obj/item/clothing/head/beanie/waldo
|
||||
name = "red striped bobble hat"
|
||||
desc = "If you're going on a worldwide hike, you'll need some cold protection."
|
||||
icon_state = "waldo_hat"
|
||||
item_color = "waldo_hat"
|
||||
|
||||
//No dog fashion sprites yet :( poor Ian can't be dope like the rest of us yet
|
||||
|
||||
@@ -162,6 +162,12 @@
|
||||
strip_delay = 80
|
||||
dog_fashion = null
|
||||
|
||||
/obj/item/clothing/head/helmet/police
|
||||
name = "police officer's hat"
|
||||
desc = "A police officer's Hat. This hat emphasizes that you are THE LAW."
|
||||
icon_state = "policehelm"
|
||||
dynamic_hair_suffix = ""
|
||||
|
||||
/obj/item/clothing/head/helmet/swat/nanotrasen
|
||||
name = "\improper SWAT helmet"
|
||||
desc = "An extremely robust, space-worthy helmet with the Nanotrasen logo emblazoned on the top."
|
||||
|
||||
@@ -176,7 +176,6 @@
|
||||
|
||||
|
||||
/obj/item/clothing/mask/gas/tiki_mask/ui_action_click(mob/user)
|
||||
|
||||
var/mob/M = usr
|
||||
var/list/options = list()
|
||||
options["Original Tiki"] = "tiki_eyebrow"
|
||||
@@ -194,3 +193,7 @@
|
||||
A.UpdateButtonIcon()
|
||||
to_chat(M, "The Tiki Mask has now changed into the [choice] Mask!")
|
||||
return 1
|
||||
|
||||
/obj/item/clothing/mask/gas/tiki_mask/yalp_elor
|
||||
icon_state = "tiki_yalp"
|
||||
actions_types = list()
|
||||
|
||||
@@ -30,6 +30,12 @@
|
||||
flags_inv = HIDEFACIALHAIR|HIDEFACE|HIDEEYES|HIDEEARS|HIDEHAIR
|
||||
visor_flags_inv = 0
|
||||
|
||||
/obj/item/clothing/mask/gas/sechailer/swat/spacepol
|
||||
name = "spacepol mask"
|
||||
desc = "A close-fitting tactical mask created in cooperation with a certain megacorporation, comes with an especially aggressive Compli-o-nator 3000."
|
||||
icon_state = "spacepol"
|
||||
item_state = "spacepol"
|
||||
|
||||
/obj/item/clothing/mask/gas/sechailer/cyborg
|
||||
name = "security hailer"
|
||||
desc = "A set of recognizable pre-recorded messages for cyborgs to use when apprehending criminals."
|
||||
|
||||
@@ -378,6 +378,12 @@
|
||||
icon_state = "vapeshirt"
|
||||
item_state = "vapeshirt"
|
||||
|
||||
/obj/item/clothing/suit/striped_sweater
|
||||
name = "striped sweater"
|
||||
desc = "Reminds you of someone, but you just can't put your finger on it..."
|
||||
icon_state = "waldo_shirt"
|
||||
item_state = "waldo_shirt"
|
||||
|
||||
/obj/item/clothing/suit/jacket
|
||||
name = "bomber jacket"
|
||||
desc = "Aviators not included."
|
||||
|
||||
@@ -148,3 +148,15 @@
|
||||
item_state = "blueshift"
|
||||
item_color = "blueshift"
|
||||
can_adjust = FALSE
|
||||
|
||||
/*
|
||||
*Spacepol
|
||||
*/
|
||||
|
||||
/obj/item/clothing/under/rank/security/spacepol
|
||||
name = "police uniform"
|
||||
desc = "Space not controlled by megacorporations, planets, or pirates is under the jurisdiction of Spacepol."
|
||||
icon_state = "spacepol"
|
||||
item_state = "spacepol"
|
||||
item_color = "spacepol"
|
||||
can_adjust = FALSE
|
||||
|
||||
128
code/modules/events/fugitive_spawning.dm
Normal file
@@ -0,0 +1,128 @@
|
||||
/datum/round_event_control/fugitives
|
||||
name = "Spawn Fugitives"
|
||||
typepath = /datum/round_event/ghost_role/fugitives
|
||||
max_occurrences = 1
|
||||
min_players = 20
|
||||
earliest_start = 30 MINUTES //deadchat sink, lets not even consider it early on.
|
||||
gamemode_blacklist = list("nuclear")
|
||||
|
||||
/datum/round_event/ghost_role/fugitives
|
||||
minimum_required = 1
|
||||
role_name = "fugitive"
|
||||
fakeable = FALSE
|
||||
|
||||
/datum/round_event/ghost_role/fugitives/spawn_role()
|
||||
var/turf/landing_turf = pick(GLOB.xeno_spawn)
|
||||
if(!landing_turf)
|
||||
message_admins("No valid spawn locations found, aborting...")
|
||||
return MAP_ERROR
|
||||
|
||||
var/list/possible_backstories = list()
|
||||
var/list/candidates = get_candidates(ROLE_TRAITOR, null, ROLE_TRAITOR)
|
||||
if(candidates.len >= 1) //solo refugees
|
||||
possible_backstories += "waldo"
|
||||
if(candidates.len >= 4)//group refugees
|
||||
possible_backstories += "prisoner"
|
||||
possible_backstories += "cultists"
|
||||
possible_backstories += "synth"
|
||||
if(!possible_backstories.len)
|
||||
return NOT_ENOUGH_PLAYERS
|
||||
|
||||
var/backstory = pick(possible_backstories)
|
||||
var/member_size = 3
|
||||
var/leader
|
||||
switch(backstory)
|
||||
if("cultists" || "synth")
|
||||
leader = pick_n_take(candidates)
|
||||
if("waldo")
|
||||
member_size = 0 //solo refugees have no leader so the member_size gets bumped to one a bit later
|
||||
var/list/members = list()
|
||||
var/list/spawned_mobs = list()
|
||||
if(isnull(leader))
|
||||
member_size++ //if there is no leader role, then the would be leader is a normal member of the team.
|
||||
|
||||
for(var/i in 1 to member_size)
|
||||
members += pick_n_take(candidates)
|
||||
|
||||
for(var/mob/dead/selected in members)
|
||||
var/mob/living/carbon/human/S = gear_fugitive(selected, landing_turf, backstory)
|
||||
spawned_mobs += S
|
||||
if(!isnull(leader))
|
||||
gear_fugitive_leader(leader, landing_turf, backstory)
|
||||
|
||||
|
||||
//after spawning
|
||||
playsound(src, 'sound/weapons/emitter.ogg', 50, 1)
|
||||
new /obj/item/storage/toolbox/mechanical(landing_turf) //so they can actually escape maint
|
||||
addtimer(CALLBACK(src, .proc/spawn_hunters), 6000) //10 minutes
|
||||
role_name = "fugitive hunter"
|
||||
return SUCCESSFUL_SPAWN
|
||||
|
||||
/datum/round_event/ghost_role/fugitives/proc/gear_fugitive(var/mob/dead/selected, var/turf/landing_turf, backstory) //spawns normal fugitive
|
||||
var/datum/mind/player_mind = new /datum/mind(selected.key)
|
||||
player_mind.active = TRUE
|
||||
var/mob/living/carbon/human/S = new(landing_turf)
|
||||
player_mind.transfer_to(S)
|
||||
player_mind.assigned_role = "Fugitive"
|
||||
player_mind.special_role = "Fugitive"
|
||||
player_mind.add_antag_datum(/datum/antagonist/fugitive)
|
||||
var/datum/antagonist/fugitive/fugitiveantag = player_mind.has_antag_datum(/datum/antagonist/fugitive)
|
||||
INVOKE_ASYNC(fugitiveantag, /datum/antagonist/fugitive.proc/greet, backstory) //some fugitives have a sleep on their greet, so we don't want to stop the entire antag granting proc with fluff
|
||||
|
||||
switch(backstory)
|
||||
if("prisoner")
|
||||
S.equipOutfit(/datum/outfit/prisoner)
|
||||
if("cultist")
|
||||
S.equipOutfit(/datum/outfit/yalp_cultist)
|
||||
if("waldo")
|
||||
S.equipOutfit(/datum/outfit/waldo)
|
||||
if("synth")
|
||||
S.equipOutfit(/datum/outfit/synthetic)
|
||||
message_admins("[ADMIN_LOOKUPFLW(S)] has been made into a Fugitive by an event.")
|
||||
log_game("[key_name(S)] was spawned as a Fugitive by an event.")
|
||||
spawned_mobs += S
|
||||
return S
|
||||
|
||||
//special spawn for one member. it can be used for a special mob or simply to give one normal member special items. for special items you can
|
||||
/datum/round_event/ghost_role/fugitives/proc/gear_fugitive_leader(var/mob/dead/leader, var/turf/landing_turf, backstory)
|
||||
var/datum/mind/player_mind = new /datum/mind(leader.key)
|
||||
player_mind.active = TRUE
|
||||
switch(backstory)
|
||||
if("cultist")
|
||||
var/mob/camera/yalp_elor/yalp = new(landing_turf)
|
||||
player_mind.transfer_to(yalp)
|
||||
player_mind.assigned_role = "Yalp Elor"
|
||||
player_mind.special_role = "Old God"
|
||||
player_mind.add_antag_datum(/datum/antagonist/fugitive)
|
||||
if("synth")
|
||||
var/mob/living/carbon/human/S = gear_fugitive(leader, landing_turf, backstory)
|
||||
var/obj/item/choice_beacon/augments/A = new(S)
|
||||
H.put_in_hands(A))
|
||||
var/obj/item/autosurgeon/auto = new(landing_turf)
|
||||
|
||||
//security team gets called in after 10 minutes of prep to find the refugees
|
||||
/datum/round_event/ghost_role/fugitives/proc/spawn_hunters()
|
||||
var/backstory = pick("space cop", "russian")
|
||||
var/static/list/hunter_ship_types = list(
|
||||
"space cop" = /datum/map_template/space_cop_ship,
|
||||
"russian" = /datum/map_template/russian_ship)
|
||||
|
||||
var/datum/map_template/ship = hunter_ship_types[backstory]
|
||||
ship = new
|
||||
var/x = rand(TRANSITIONEDGE,world.maxx - TRANSITIONEDGE - ship.width)
|
||||
var/y = rand(TRANSITIONEDGE,world.maxy - TRANSITIONEDGE - ship.height)
|
||||
var/z = SSmapping.empty_space.z_value
|
||||
var/turf/T = locate(x,y,z)
|
||||
if(!T)
|
||||
CRASH("Fugitive Hunters (Created from fugitive event) found no turf to load in")
|
||||
if(!ship.load(T))
|
||||
CRASH("Loading hunter ship failed!")
|
||||
priority_announce("Unidentified armed ship detected near the station.")
|
||||
var/list/spawner_spots = list()
|
||||
for(var/turf/A in ship.get_affected_turfs(T))
|
||||
for(var/obj/structure/chair/chair in A) //every chair gets a spawner on it.
|
||||
switch(backstory)
|
||||
if("space cop")
|
||||
new /obj/effect/mob_spawn/human/fugitive/spacepol(get_turf(chair))
|
||||
if("russian")
|
||||
new /obj/effect/mob_spawn/human/fugitive/russian(get_turf(chair))
|
||||
@@ -237,4 +237,3 @@
|
||||
if(CONFIG_GET(flag/security_has_maint_access))
|
||||
return list(ACCESS_MAINT_TUNNELS)
|
||||
return list()
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 332 KiB After Width: | Height: | Size: 332 KiB |
|
Before Width: | Height: | Size: 240 KiB After Width: | Height: | Size: 245 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
@@ -985,6 +985,7 @@
|
||||
#include "code\game\objects\structures\fireplace.dm"
|
||||
#include "code\game\objects\structures\flora.dm"
|
||||
#include "code\game\objects\structures\fluff.dm"
|
||||
#include "code\game\objects\structures\fugitive_role_spawners.dm"
|
||||
#include "code\game\objects\structures\ghost_role_spawners.dm"
|
||||
#include "code\game\objects\structures\girders.dm"
|
||||
#include "code\game\objects\structures\grille.dm"
|
||||
@@ -1290,6 +1291,11 @@
|
||||
#include "code\modules\antagonists\disease\disease_event.dm"
|
||||
#include "code\modules\antagonists\disease\disease_mob.dm"
|
||||
#include "code\modules\antagonists\ert\ert.dm"
|
||||
#include "code\modules\antagonists\fugitive\fugitive.dm"
|
||||
#include "code\modules\antagonists\fugitive\fugitive_outfits.dm"
|
||||
#include "code\modules\antagonists\fugitive\fugitive_ship.dm"
|
||||
#include "code\modules\antagonists\fugitive\hunter.dm"
|
||||
#include "code\modules\antagonists\fugitive\old_god.dm"
|
||||
#include "code\modules\antagonists\greentext\greentext.dm"
|
||||
#include "code\modules\antagonists\highlander\highlander.dm"
|
||||
#include "code\modules\antagonists\hivemind\hivemind.dm"
|
||||
|
||||