Files
Mosley 24c0a1314f some fixes
I have no idea if these works, this just allows the server to compile
2025-04-24 17:18:02 -05:00

163 lines
8.3 KiB
Plaintext

/obj/effect/mob_spawn/human/ash_walker
var/gender_bias
/obj/effect/mob_spawn/human/ash_walker/equip(mob/living/carbon/human/H)
if(!isnull(gender_bias) && prob(90))
H.gender = gender_bias
return ..()
/obj/effect/mob_spawn/human/ash_walker/western
job_description = "Western Ashwalker"
short_desc = "You are a Farlander. Your tribe worships the home tendril."
flavour_text = "Your original home and tribe razed by Calamity, whoever remained set off to find a new place to live - \
these ashen grounds making for a good staying place, filled with flora and huntmeat alike. You're not alone here however, these grounds' natives \
restless about your tribe's arrival. Though surely they can be reasoned with.. right?\n\n\
Ensure the safety of your tribe. The elders didn't sacrifice themselves for it to perish here."
mob_species = /datum/species/lizard/ashwalker/western
gender_bias = FEMALE
/obj/effect/mob_spawn/human/ash_walker/eastern
job_description = "Eastern Ashwalker"
flavour_text = "You've shelter in the Necropolis, it's sacred walls housing your nest, bringing in new kin for your tribe and breathing new life \
into your fallen bretheren. Recently however, a foreign tribe came to these grounds, their foul hands threatening your hunt - furthermore, the sky's angels \
descend onto these lands, demise of this world as their goal.\n\n\
Ensure the safety of your nest, let no abomination even graze your home."
mob_species = /datum/species/lizard/ashwalker/eastern
gender_bias = MALE
//Portable dangerous-environment sleepers: Spawns in exposed to ash storms shelter.
//Characters in this role could have been conscious for a long time, surviving on the planet. They may also know Draconic language by contacting with ashwalkers.
/obj/effect/mob_spawn/human/wandering_hermit
name = "portable dangerous-environment sleeper"
desc = "The glass is slightly cracked, but there is still air inside. You can see somebody inside. They seems to be sleeping deeply."
job_description = "Wandering Hermit"
icon = 'icons/obj/lavaland/spawners.dmi'
icon_state = "cryostasis_sleeper"
roundstart = FALSE
death = FALSE
random = TRUE
mob_species = /datum/species/human
mob_name = "a wandering hermit"
short_desc = "You are a hermit abandoned by fate."
flavour_text = "You've survived weeks in this hellish place. Maybe you want to live here with ash tribe or return to civilisation. \
Only you know how you got to this planetoid, whether this place in which you woke up was one of your shelters, or you just stumbled upon it."
can_load_appearance = TRUE
/obj/effect/mob_spawn/human/wandering_hermit/Destroy()
var/obj/structure/fluff/empty_sleeper/S = new(drop_location())
S.setDir(dir)
return ..()
/obj/effect/mob_spawn/human/wandering_hermit/special(mob/living/carbon/human/new_spawn)
ADD_TRAIT(new_spawn,TRAIT_EXEMPT_HEALTH_EVENTS,GHOSTROLE_TRAIT)
new_spawn.grant_language(/datum/language/draconic)
//Splurt-Specific Space Hotel Staff
/obj/effect/mob_spawn/human/hotel_staff/splurt //not free antag u little shits
name = "staff sleeper"
desc = "A sleeper designed for long-term stasis between guest visits."
mob_name = "hotel staff member"
job_description = "Hotel Staff"
icon = 'icons/obj/machines/sleeper.dmi'
icon_state = "sleeper_s"
objectives = "Cater to visiting guests with your fellow staff. Don't abandon the hotel - you can advertise and link up with potential guests, but always remember who signs your cheques! The customer is always right!"
short_desc = "You are a staff member of a top-of-the-line space hotel!"
flavour_text = "You are a staff member of a top-of-the-line space hotel! Cater to guests and make sure the manager doesn't fire you."
important_info = "Don't abandon the hotel! Brief excursions to pick up guests or set up transit links are permitted, but remember where you work!"
assignedrole = "Hotel Staff"
death = FALSE
roundstart = FALSE
random = TRUE
can_load_appearance = TRUE
id_job = "Hotel Staff"
id = /obj/item/card/id/away/hotel/splurt
uniform = /obj/item/clothing/under/suit/red
shoes = /obj/item/clothing/shoes/laceup
head = /obj/item/clothing/head/hotel
r_pocket = /obj/item/pda
back = /obj/item/storage/backpack/satchel
ears = /obj/item/radio/headset/headset_srv/hotel
/obj/effect/mob_spawn/human/hotel_staff/splurt/security
name = "hotel security sleeper"
mob_name = "hotel security member"
job_description = "Hotel Security"
short_desc = "You are a peacekeeper."
flavour_text = "You have been assigned to this hotel to protect the interests of the company while keeping the peace between \
guests and the staff."
important_info = "Don't abandon the hotel! Brief excursions to pick up guests or set up transit links are permitted, but remember where you work!"
objectives = "Do not abandon your assigned hotel. Try and keep the peace between staff and guests, non-lethal force heavily advised if possible."
id_job = "Hotel Security"
uniform = /obj/item/clothing/under/rank/security/officer/blueshirt
shoes = /obj/item/clothing/shoes/jackboots
suit = /obj/item/clothing/suit/armor/vest/blueshirt
head = /obj/item/clothing/head/helmet/blueshirt
back = /obj/item/storage/backpack/satchel/sec
belt = /obj/item/storage/belt/security/full
id = /obj/item/card/id/away/hotel/splurt/security
/obj/effect/mob_spawn/human/hotel_staff/splurt/manager
name = "hotel manager sleeper"
mob_name = "hotel manager"
job_description = "Hotel Manager"
short_desc = "You are the manager of a space hotel."
flavour_text = "You manage one site of a successful chain of space hotels. Your parent company has recently been bought out by Nanotrasen and tasked with servicing some of their stations; you have recieved a selection of fancy tech as a result! Protect the interests of your parent company, ensure your staff are performing to standard and make sure to keep your guests happy!"
important_info = "Don't abandon the hotel! Brief excursions to pick up guests or set up transit links are permitted, but remember where you work!"
objectives = "Don't abandon your assigned hotel. Cater to visiting guests. Maintain good corporate relations and remember: The customer is always right!"
id_job = "Hotel Manager"
uniform = /obj/item/clothing/under/suit/black
suit = /obj/item/clothing/suit/toggle/lawyer/black
head = /obj/item/clothing/head/beret/black
id = /obj/item/card/id/away/hotel/splurt/manager
ears = /obj/item/radio/headset/headset_srv/hotel/manager
// Ghost Cafe Spawner (VR Version)
/obj/effect/mob_spawn/human/ghostcafeVR
name = "Ghost Cafe VR Sleeper"
uses = -1
icon = 'icons/obj/machines/sleeper.dmi'
icon_state = "sleeper"
mob_name = "a ghost cafe VR visitor"
roundstart = FALSE
anchored = TRUE
density = FALSE
death = FALSE
assignedrole = "Ghost Cafe VR Visitor"
short_desc = "You are a Ghost Cafe VR Visitor!"
flavour_text = "You know one thing for sure. You arent actually alive. Are you in a simulation?"
skip_reentry_check = TRUE
banType = ROLE_GHOSTCAFE
can_load_appearance = 2 //(Forces player to load character appearance)
/obj/effect/mob_spawn/human/ghostcafeVR/special(mob/living/carbon/human/new_spawn)
if(new_spawn.client)
new_spawn.client.prefs.copy_to(new_spawn)
var/datum/outfit/O = new /datum/outfit/ghostcafeVR()
O.equip(new_spawn, FALSE, new_spawn.client)
SSjob.equip_loadout(null, new_spawn)
SSjob.post_equip_loadout(null, new_spawn)
SSquirks.AssignQuirks(new_spawn, new_spawn.client, TRUE, TRUE, null, FALSE, new_spawn)
ADD_TRAIT(new_spawn, TRAIT_SIXTHSENSE, GHOSTROLE_TRAIT)
ADD_TRAIT(new_spawn, TRAIT_EXEMPT_HEALTH_EVENTS, GHOSTROLE_TRAIT)
ADD_TRAIT(new_spawn, TRAIT_NO_MIDROUND_ANTAG, GHOSTROLE_TRAIT) //The mob can't be made into a random antag, they are still eligible for ghost roles popups.
/datum/outfit/ghostcafeVR
name = "ID, jumpsuit and shoes"
uniform = /obj/item/clothing/under/color/random
shoes = /obj/item/clothing/shoes/sneakers/black
/datum/outfit/ghostcafeVR/pre_equip(mob/living/carbon/human/H, visualsOnly = FALSE, client/preference_source)
..()
if(isplasmaman(H))
head = /obj/item/clothing/head/helmet/space/plasmaman
uniform = /obj/item/clothing/under/plasmaman
l_hand= /obj/item/tank/internals/plasmaman/belt/full
mask = /obj/item/clothing/mask/breath
return
/datum/outfit/ghostcafeVR/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE, client/preference_source)
H.internal = H.get_item_for_held_index(1)
H.update_action_buttons_icon(1)