mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-10 15:45:05 +01:00
21b4095dfd
Upstream 04/17/2026 fixes https://github.com/Bubberstation/Bubberstation/issues/5549 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com> Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: Rhials <28870487+Rhials@users.noreply.github.com> Co-authored-by: rageguy505 <54517726+rageguy505@users.noreply.github.com> Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Aliceee2ch <160794176+Aliceee2ch@users.noreply.github.com> Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com> Co-authored-by: Tsar-Salat <62388554+Tsar-Salat@users.noreply.github.com> Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Co-authored-by: Maxipat <108554989+Maxipat112@users.noreply.github.com> Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com> Co-authored-by: SimplyLogan <47579821+loganuk@users.noreply.github.com> Co-authored-by: loganuk <fakeemail123@aol.com> Co-authored-by: Leland Kemble <70413276+lelandkemble@users.noreply.github.com> Co-authored-by: FalloutFalcon <86381784+FalloutFalcon@users.noreply.github.com> Co-authored-by: Roxy <75404941+TealSeer@users.noreply.github.com> Co-authored-by: Lucy <lucy@absolucy.moe> Co-authored-by: siliconOpossum <138069572+siliconOpossum@users.noreply.github.com> Co-authored-by: Isratosh <Isratosh@hotmail.com> Co-authored-by: TheRyeGuyWhoWillNowDie <70169560+TheRyeGuyWhoWillNowDie@users.noreply.github.com> Co-authored-by: Neocloudy <88008002+Neocloudy@users.noreply.github.com> Co-authored-by: Alexander V. <volas@ya.ru> Co-authored-by: ElGitificador <168473461+ElGitificador@users.noreply.github.com> Co-authored-by: Twaticus <46540570+Twaticus@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Tim <timothymtorres@gmail.com> Co-authored-by: Iamgoofball <iamgoofball@gmail.com> Co-authored-by: Layzu666 <121319428+Layzu666@users.noreply.github.com> Co-authored-by: Arturlang <24881678+Arturlang@users.noreply.github.com> Co-authored-by: _0Steven <42909981+00-Steven@users.noreply.github.com> Co-authored-by: mrmanlikesbt <99309552+mrmanlikesbt@users.noreply.github.com> Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com> Co-authored-by: John F. Kennedy <54908920+MacaroniCritter@users.noreply.github.com> Co-authored-by: Cursor <102828457+theselfish@users.noreply.github.com> Co-authored-by: Josh <josh.adam.powell@gmail.com> Co-authored-by: Josh Powell <josh.powell@softwire.com> Co-authored-by: Yobrocharlie <Charliemiller5617@gmail.com> Co-authored-by: Hardly3D <66234359+Hardly3D@users.noreply.github.com> Co-authored-by: shayoki <96078776+shayoki@users.noreply.github.com> Co-authored-by: LT3 <83487515+lessthnthree@users.noreply.github.com>
106 lines
4.7 KiB
Plaintext
106 lines
4.7 KiB
Plaintext
/obj/effect/mob_spawn/ghost_role/human/virtual_domain
|
|
outfit = /datum/outfit/virtual_pirate
|
|
prompt_name = "a virtual domain debug entity"
|
|
flavour_text = "You probably shouldn't be seeing this, contact a coder!"
|
|
you_are_text = "You are NOT supposed to be here. How did you let this happen?"
|
|
important_text = "Bitrunning is a crime, and your primary threat."
|
|
temp_body = TRUE
|
|
///Does this bit-entity get an antag datum with the goal of hunting bitrunners? TRUE by default
|
|
var/antag = TRUE
|
|
|
|
|
|
/obj/effect/mob_spawn/ghost_role/human/virtual_domain/special(mob/living/spawned_mob, mob/mob_possessor, apply_prefs)
|
|
var/datum/mind/ghost_mind = mob_possessor.mind
|
|
if(ghost_mind) // Preserves any previous bodies before making the switch
|
|
spawned_mob.AddComponent(/datum/component/temporary_body, ghost_mind, return_on_death = TRUE)
|
|
|
|
..()
|
|
|
|
if(antag)
|
|
spawned_mob.mind.add_antag_datum(/datum/antagonist/domain_ghost_actor)
|
|
spawned_mob.mind.set_assigned_role(SSjob.get_job_type(/datum/job/bitrunning_glitch))
|
|
|
|
/// Simulates a ghost role spawn without calling special(), ie a bitrunner spawn instead of a ghost.
|
|
/obj/effect/mob_spawn/ghost_role/human/virtual_domain/proc/artificial_spawn(mob/living/runner)
|
|
SEND_SIGNAL(src, COMSIG_BITRUNNER_SPAWNED, runner)
|
|
|
|
//Beach Bums (Friendly)
|
|
/obj/effect/mob_spawn/ghost_role/human/virtual_domain/beach
|
|
prompt_name = "a virtual beach bum"
|
|
name = "virtual beach bum sleeper"
|
|
you_are_text = "You're, like, totally a virtual simulation of a dudebro, bruh."
|
|
flavour_text = "Ch'yea. You came here, like, on spring break, hopin' to pick up some bangin' hot e-chicks, y'knaw?"
|
|
important_text = "You have no qualms with Bitrunning: in fact, you aren't even aware you're in a simulation."
|
|
outfit = /datum/outfit/beachbum
|
|
spawner_job_path = /datum/job/beach_bum
|
|
antag = FALSE
|
|
allow_custom_character = GHOSTROLE_TAKE_PREFS_APPEARANCE
|
|
|
|
/obj/effect/mob_spawn/ghost_role/human/virtual_domain/beach/lifeguard
|
|
name = "virtual lifeguard sleeper"
|
|
you_are_text = "You are a spunky virtual lifeguard!"
|
|
flavour_text = "It's up to you to make sure nobody lags or gets eaten by malware and stuff."
|
|
outfit = /datum/outfit/beachbum/lifeguard
|
|
allow_custom_character = NONE
|
|
|
|
/obj/effect/mob_spawn/ghost_role/human/virtual_domain/beach/lifeguard/special(mob/living/carbon/human/lifeguard, mob/mob_possessor, apply_prefs)
|
|
. = ..()
|
|
lifeguard.gender = FEMALE
|
|
lifeguard.update_body()
|
|
|
|
/obj/effect/mob_spawn/ghost_role/human/virtual_domain/beach/bartender
|
|
name = "virtual bartender sleeper"
|
|
you_are_text = "You are a virtual beach bartender!"
|
|
flavour_text = "Your job is to keep the virtually rendered drinks coming, and help the dudebros engage drunkness simulations."
|
|
outfit = /datum/outfit/spacebartender
|
|
allow_custom_character = ALL
|
|
|
|
//Skeleton Pirates
|
|
/obj/effect/mob_spawn/ghost_role/human/virtual_domain/pirate
|
|
name = "Virtual Pirate Remains"
|
|
desc = "Some inanimate bones. They feel like they could spring to life at any moment!"
|
|
density = FALSE
|
|
icon = 'icons/effects/blood.dmi'
|
|
icon_state = "remains"
|
|
prompt_name = "a virtual skeleton pirate"
|
|
you_are_text = "You are a virtual pirate. Yarrr!"
|
|
flavour_text = " There's a LANDLUBBER after yer booty. Stop them!"
|
|
|
|
/datum/outfit/virtual_pirate
|
|
name = "Virtual Pirate"
|
|
id = /obj/item/card/id/advanced
|
|
id_trim = /datum/id_trim/pirate
|
|
uniform = /obj/item/clothing/under/costume/pirate
|
|
suit = /obj/item/clothing/suit/costume/pirate/armored
|
|
glasses = /obj/item/clothing/glasses/eyepatch
|
|
head = /obj/item/clothing/head/costume/pirate/bandana/armored
|
|
shoes = /obj/item/clothing/shoes/pirate/armored
|
|
|
|
/obj/effect/mob_spawn/ghost_role/human/virtual_domain/pirate/special(mob/living/spawned_mob, mob/mob_possessor, apply_prefs)
|
|
. = ..()
|
|
spawned_mob.fully_replace_character_name(spawned_mob.real_name, "[pick(strings(PIRATE_NAMES_FILE, "generic_beginnings"))][pick(strings(PIRATE_NAMES_FILE, "generic_endings"))]")
|
|
|
|
//Syndicate
|
|
/obj/effect/mob_spawn/ghost_role/human/virtual_domain/syndie
|
|
name = "Virtual Syndicate Sleeper"
|
|
icon = 'icons/obj/machines/sleeper.dmi'
|
|
icon_state = "sleeper_s"
|
|
prompt_name = "a virtual syndicate operative"
|
|
you_are_text = "You are a virtual syndicate operative."
|
|
flavour_text = "Alarms blare! We are being boarded!"
|
|
outfit = /datum/outfit/virtual_syndicate
|
|
spawner_job_path = /datum/job/space_syndicate
|
|
|
|
/datum/outfit/virtual_syndicate
|
|
name = "Virtual Syndie"
|
|
id = /obj/item/card/id/advanced/chameleon
|
|
id_trim = /datum/id_trim/chameleon/operative
|
|
uniform = /obj/item/clothing/under/syndicate
|
|
back = /obj/item/storage/backpack
|
|
gloves = /obj/item/clothing/gloves/tackler/combat/insulated
|
|
shoes = /obj/item/clothing/shoes/combat
|
|
implants = list(/obj/item/implant/weapons_auth)
|
|
|
|
/datum/outfit/virtual_syndicate/post_equip(mob/living/carbon/human/user, visuals_only)
|
|
user.add_faction(ROLE_SYNDICATE)
|