Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
[Ready] Policy config refactor for Forgottenship ruin. (tgstation#50597)
Browse files Browse the repository at this point in the history
* Update ghost_role_spawners.dm

* Update ghost_role_spawners.dm

* Update ghost_role_spawners.dm

* Update ghost_role_spawners.dm

* Removing all copy-pasta
  • Loading branch information
EgorDinamit authored May 2, 2020
1 parent 4a2cd3c commit 78bd1a7
Showing 1 changed file with 7 additions and 28 deletions.
35 changes: 7 additions & 28 deletions code/game/objects/structures/ghost_role_spawners.dm
Original file line number Diff line number Diff line change
Expand Up @@ -647,43 +647,31 @@
name = "Syndicate Ship Crew Member"
roundstart = FALSE
death = FALSE
show_flavour = FALSE
icon = 'icons/obj/machines/sleeper.dmi'
icon_state = "sleeper_s"
short_desc = "You are a syndicate operative on old ship, stuck in hostile space."
flavour_text = "Your ship docks after a long time somewhere in hostile space, reporting a malfunction. You are stuck here, with Nanotrasen station nearby. Fix the ship, find a way to power it and follow your captain's orders."
important_info = "Obey orders given by your captain. DO NOT let the ship fall into enemy hands."
outfit = /datum/outfit/syndicatespace/syndicrew
assignedrole = "Cybersun Crewmember"

/obj/effect/mob_spawn/human/syndicatespace/Initialize(mapload)
. = ..()
var/policy = get_policy(ROLE_SYNDICATE_CYBERSUN)
if(policy)
important_info = policy
assignedrole = ROLE_SYNDICATE_CYBERSUN

/datum/outfit/syndicatespace/syndicrew/post_equip(mob/living/carbon/human/H)
H.faction |= ROLE_SYNDICATE

/obj/effect/mob_spawn/human/syndicatespace/special(mob/living/new_spawn)
new_spawn.grant_language(/datum/language/codespeak, TRUE, TRUE, LANGUAGE_MIND)
var/policy = get_policy(assignedrole)
if(policy)
to_chat(new_spawn, "<span class='bold'>[policy]</span>")

/obj/effect/mob_spawn/human/syndicatespace/captain
name = "Syndicate Ship Captain"
roundstart = FALSE
death = FALSE
icon = 'icons/obj/machines/sleeper.dmi'
icon_state = "sleeper_s"
short_desc = "You are the captain of an old ship, stuck in hostile space."
flavour_text = "Your ship docks after a long time somewhere in hostile space, reporting a malfunction. You are stuck here, with Nanotrasen station nearby. Command your crew and turn your ship into the most protected fortress."
important_info = "Protect the ship and secret documents in your backpack with your own life. DO NOT let the ship fall into enemy hands."
important_info = "Protect the ship and secret documents in your backpack with your own life."
outfit = /datum/outfit/syndicatespace/syndicaptain
assignedrole = "Cybersun Captain"

/obj/effect/mob_spawn/human/syndicatespace/syndicaptain/Initialize(mapload)
. = ..()
var/policy = get_policy(ROLE_SYNDICATE_CYBERSUN_CAPTAIN)
if(policy)
important_info = policy
assignedrole = ROLE_SYNDICATE_CYBERSUN_CAPTAIN

/datum/outfit/syndicatespace/syndicaptain/post_equip(mob/living/carbon/human/H)
H.faction |= ROLE_SYNDICATE
Expand All @@ -709,18 +697,9 @@

/datum/outfit/syndicatespace/syndicaptain
name = "Syndicate Ship Captain"
uniform = /obj/item/clothing/under/syndicate/combat
suit = /obj/item/clothing/suit/armor/vest/capcarapace/syndicate
glasses = /obj/item/clothing/glasses/night
mask = /obj/item/clothing/mask/gas/syndicate
head = /obj/item/clothing/head/HoS/beret/syndicate
ears = /obj/item/radio/headset/syndicate/alt/leader
shoes = /obj/item/clothing/shoes/combat
gloves = /obj/item/clothing/gloves/combat
back = /obj/item/storage/backpack
l_pocket = /obj/item/gun/ballistic/automatic/pistol/APS
r_pocket = /obj/item/kitchen/knife/combat/survival
belt = /obj/item/storage/belt/military/assault
id = /obj/item/card/id/syndicate_command/captain_id
backpack_contents = list(/obj/item/documents/syndicate/red, /obj/item/paper/fluff/ruins/forgottenship/password)
implants = list(/obj/item/implant/weapons_auth)

0 comments on commit 78bd1a7

Please sign in to comment.