Skip to content

Commit

Permalink
implements main code to every ghost roles
Browse files Browse the repository at this point in the history
  • Loading branch information
Singul0 committed Jan 7, 2025
1 parent 7ebaca6 commit 175719f
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/antagonists/pirate/pirate_roles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
you_are_text = "You are a space pirate."
flavour_text = "The station refused to pay for your protection, protect the ship, siphon the credits from the station and raid it for even more loot."
spawner_job_path = /datum/job/space_pirate
random_appearance = TRUE
///Rank of the pirate on the ship, it's used in generating pirate names!
var/rank = "Deserter"
///Path of the structure we spawn after creating a pirate.
Expand Down
6 changes: 6 additions & 0 deletions code/modules/mob_spawn/ghost_roles/away_roles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
you_are_text = "By unknown powers, your skeletal remains have been reanimated!"
flavour_text = "Walk this mortal plane and terrorize all living adventurers who dare cross your path."
spawner_job_path = /datum/job/skeleton
restricted_species = list(/datum/species/skeleton) //if you have a skelly species, on a halloween and this disabled gateway map spawns, I applaud you
loadout_enabled = FALSE
quirks_enabled = TRUE

/obj/effect/mob_spawn/ghost_role/human/skeleton/special(mob/living/new_spawn)
. = ..()
Expand All @@ -29,6 +32,9 @@
spawner_job_path = /datum/job/zombie
you_are_text = "By unknown powers, your rotting remains have been resurrected!"
flavour_text = "Walk this mortal plane and terrorize all living adventurers who dare cross your path."
restricted_species = list(/datum/species/zombie) //if you have a high-functioning zombie, on a halloween and this disabled gateway map spawns, I applaud you
loadout_enabled = FALSE
quirks_enabled = TRUE

/obj/effect/mob_spawn/ghost_role/human/zombie/special(mob/living/new_spawn)
. = ..()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
flavour_text = "Write me some god damn flavor text!" //the flavor text will be the backstory argument called on the antagonist's greet, see hunter.dm for details
show_flavor = FALSE
var/back_story = "error"
loadout_enabled = FALSE

/obj/effect/mob_spawn/ghost_role/human/fugitive/Initialize(mapload)
. = ..()
Expand Down
1 change: 1 addition & 0 deletions code/modules/mob_spawn/ghost_roles/golem_roles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
var/can_transfer = TRUE
/// Weakref to the creator of this golem shell.
var/datum/weakref/owner_ref
random_appearance = TRUE

/obj/effect/mob_spawn/ghost_role/human/golem/Initialize(mapload, datum/species/golem/species, mob/creator)
if(creator)
Expand Down
3 changes: 3 additions & 0 deletions code/modules/mob_spawn/ghost_roles/mining_roles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
the hostile creatures, and the ash drakes swooping down from the cloudless skies, all you can wish for is the feel of soft grass between your toes and \
the fresh air of Earth. These thoughts are dispelled by yet another recollection of how you got here... "
spawner_job_path = /datum/job/hermit
loadout_enabled = FALSE

/obj/effect/mob_spawn/ghost_role/human/hermit/Initialize(mapload)
. = ..()
Expand Down Expand Up @@ -153,6 +154,7 @@
and eventually bring life to this desolate planet while waiting for contact from your creators. \
Estimated time of last contact: Deployment, 5000 millennia ago."
spawner_job_path = /datum/job/lifebringer
random_appearance = TRUE

/obj/effect/mob_spawn/ghost_role/human/seed_vault/Initialize(mapload)
. = ..()
Expand Down Expand Up @@ -220,6 +222,7 @@
spawner_job_path = /datum/job/ash_walker
var/datum/team/ashwalkers/team
var/obj/structure/ash_walker_eggshell/eggshell
random_appearance = TRUE

/obj/effect/mob_spawn/ghost_role/human/ash_walker/Destroy()
eggshell = null
Expand Down
3 changes: 3 additions & 0 deletions code/modules/mob_spawn/ghost_roles/space_roles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
important_text = "Work as a team with your fellow survivors and do not abandon them."
outfit = /datum/outfit/oldsec
spawner_job_path = /datum/job/ancient_crew
loadout_enabled = FALSE

/obj/effect/mob_spawn/ghost_role/human/oldsec/Destroy()
new/obj/structure/showcase/machinery/oldpod/used(drop_location())
Expand Down Expand Up @@ -41,6 +42,7 @@
important_text = "Work as a team with your fellow survivors and do not abandon them."
outfit = /datum/outfit/oldeng
spawner_job_path = /datum/job/ancient_crew
loadout_enabled = FALSE

/obj/effect/mob_spawn/ghost_role/human/oldeng/Destroy()
new/obj/structure/showcase/machinery/oldpod/used(drop_location())
Expand Down Expand Up @@ -75,6 +77,7 @@
important_text = "Work as a team with your fellow survivors and do not abandon them."
outfit = /datum/outfit/oldsci
spawner_job_path = /datum/job/ancient_crew
loadout_enabled = FALSE

/obj/effect/mob_spawn/ghost_role/human/oldsci/Destroy()
new/obj/structure/showcase/machinery/oldpod/used(drop_location())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
important_text = "Work as a team with your fellow survivors and do not abandon them."
outfit = /datum/outfit/oldchef
spawner_job_path = /datum/job/ancient_crew
loadout_enabled = FALSE

/obj/effect/mob_spawn/ghost_role/human/oldchef/Destroy()
new/obj/structure/showcase/machinery/oldpod/used(drop_location())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
important_text = "Work as a team with your fellow survivors and do not abandon them. You are expected to be familiar with Old station for this role."
outfit = /datum/outfit/oldcmo
spawner_job_path = /datum/job/ancient_crew
loadout_enabled = FALSE

/obj/effect/mob_spawn/ghost_role/human/oldcmo/Destroy()
new/obj/structure/showcase/machinery/oldpod/used(drop_location())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
important_text = "Work as a team with your fellow survivors and do not abandon them."
outfit = /datum/outfit/oldexplorer
spawner_job_path = /datum/job/ancient_crew
loadout_enabled = FALSE

/obj/effect/mob_spawn/ghost_role/human/oldexplorer/Destroy()
new/obj/structure/showcase/machinery/oldpod/used(drop_location())
Expand Down

0 comments on commit 175719f

Please sign in to comment.