Skip to content

Commit

Permalink
Fixes formatting for derelict and syndicate drone job names (tgstatio…
Browse files Browse the repository at this point in the history
…n#77303)

## About The Pull Request
These were using the generic "ghost role" job names instead of the
defines that it's supposed to. This should fix it.

Note: This touches code I'm not intimately familiar with, but I did test
this and it works fine.

## Why It's Good For The Game
Fixes tgstation#76922

## Changelog
:cl: Vekter
fix: Fixes formatting for derelict and syndicate drone job names. They
should no longer tell you they're "the Ghost Role" when spawning as
them.
/:cl:
  • Loading branch information
TheVekter authored Aug 3, 2023
1 parent 82d17a4 commit 762da01
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions code/__DEFINES/role_preferences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
#define ROLE_SKELETON "Skeleton"
#define ROLE_ZOMBIE "Zombie"
#define ROLE_MAINTENANCE_DRONE "Maintenance Drone"
#define ROLE_DERELICT_DRONE "Derelict Drone"
#define ROLE_SYNDICATE_DRONE "Syndicate Drone"
#define ROLE_BATTLECRUISER_CREW "Battlecruiser Crew"
#define ROLE_BATTLECRUISER_CAPTAIN "Battlecruiser Captain"
#define ROLE_VENUSHUMANTRAP "Venus Human Trap"
Expand Down
2 changes: 2 additions & 0 deletions code/modules/jobs/jobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ GLOBAL_LIST_INIT(exp_specialmap, list(
ROLE_SPACE_BAR_PATRON,
ROLE_LAVALAND_SYNDICATE,
ROLE_MAINTENANCE_DRONE,
ROLE_DERELICT_DRONE,
ROLE_SYNDICATE_DRONE,
ROLE_VENUSHUMANTRAP,
ROLE_GHOST_ROLE,
), // Ghost roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@
you_are_text = "You are a Syndicate Maintenance Drone."
flavour_text = "In a prior life, you maintained a Nanotrasen Research Station. Abducted from your home, you were given some upgrades... and now serve an enemy of your former masters."
important_text = ""
spawner_job_path = /datum/job/ghost_role
spawner_job_path = /datum/job/syndrone

/datum/job/syndrone
title = ROLE_SYNDICATE_DRONE
policy_index = ROLE_SYNDICATE_DRONE

/obj/effect/mob_spawn/ghost_role/drone/syndrone/badass
name = "badass syndrone shell"
Expand Down Expand Up @@ -120,7 +124,11 @@
you_are_text = "You are a drone on Kosmicheskaya Stantsiya 13."
flavour_text = "Something has brought you out of hibernation, and the station is in gross disrepair."
important_text = "Build, repair, maintain and improve the station that housed you on activation."
spawner_job_path = /datum/job/ghost_role
spawner_job_path = /datum/job/derelict_drone

/datum/job/derelict_drone
title = ROLE_DERELICT_DRONE
policy_index = ROLE_DERELICT_DRONE

/mob/living/simple_animal/drone/derelict
name = "derelict drone"
Expand Down

0 comments on commit 762da01

Please sign in to comment.