Custom Ghost Role Appearance

This commit is contained in:
Dip
2020-09-16 01:02:36 -03:00
parent 456f1f4482
commit 7fb89c0a54
6 changed files with 38 additions and 1 deletions
+3
View File
@@ -162,6 +162,7 @@
var/hair_style
var/facial_hair_style
var/skin_tone
var/mirrorcanloadappearance = FALSE
/obj/effect/mob_spawn/human/Initialize()
if(ispath(outfit))
@@ -228,6 +229,8 @@
W.assignment = id_job
W.registered_name = H.real_name
W.update_label()
if (mirrorcanloadappearance)
H.mirrorcanloadappearance = TRUE
//Instant version - use when spawning corpses during runtime
/obj/effect/mob_spawn/human/corpse
@@ -9,6 +9,7 @@
verbs += /mob/living/proc/mob_sleep
verbs += /mob/living/proc/lay_down
verbs += /mob/living/carbon/human/proc/underwear_toggle //fwee
time_initialized = world.time
//initialize limbs first
create_bodyparts()
+4
View File
@@ -119,3 +119,7 @@
var/registered_z
var/mob/audiovisual_redirect //Mob to redirect messages, speech, and sounds to
var/time_initialized = null
var/mirrorcanloadappearance = FALSE
+2
View File
@@ -117,6 +117,7 @@
flavour_text = "<span class='big bold'>You are a syndicate agent,</span><b> employed in a top secret research facility developing biological weapons. Unfortunately, your hated enemy, Nanotrasen, has begun mining in this sector. <b>Continue your research as best you can, and try to keep a low profile. <font size=6>DON'T</font> abandon the base without good cause.</b> The base is rigged with explosives should the worst happen, do not let the base fall into enemy hands!</b>"
outfit = /datum/outfit/lavaland_syndicate
assignedrole = "Lavaland Syndicate"
mirrorcanloadappearance = TRUE
/obj/effect/mob_spawn/human/lavaland_syndicate/special(mob/living/new_spawn)
new_spawn.grant_language(/datum/language/codespeak)
@@ -143,6 +144,7 @@
job_description = "Off-station Syndicate Comms Agent"
flavour_text = "<span class='big bold'>You are a syndicate agent,</span><b> employed in a top secret research facility developing biological weapons. Unfortunately, your hated enemy, Nanotrasen, has begun mining in this sector. <b>Monitor enemy activity as best you can, and try to keep a low profile. <font size=6>DON'T</font> abandon the base without good cause.</b> Use the communication equipment to provide support to any field agents, and sow disinformation to throw Nanotrasen off your trail. Do not let the base fall into enemy hands!</b>"
outfit = /datum/outfit/lavaland_syndicate/comms
mirrorcanloadappearance = TRUE
/obj/effect/mob_spawn/human/lavaland_syndicate/comms/space/Initialize()
. = ..()