Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Venus Human Traps have an orbit menu category, recieve antag datum on spawn #1954

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions code/modules/mob_spawn/ghost_roles/venus_human_trap.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
flavour_text = "You are a venus human trap! Protect the kudzu at all costs, and feast on those who oppose you!"
faction = list(FACTION_HOSTILE,FACTION_VINES,FACTION_PLANTS)
spawner_job_path = /datum/job/venus_human_trap
invisibility = INVISIBILITY_ABSTRACT //The flower bud structure is our visible component, we just handle logic.
/// Physical structure housing the spawner
var/obj/structure/alien/resin/flower_bud/flower_bud
/// Used to determine when to notify ghosts
Expand All @@ -30,6 +31,10 @@
if(flower_bud.trait_flags & SPACEVINE_COLD_RESISTANT)
spawned_human_trap.unsuitable_cold_damage = 0

/obj/effect/mob_spawn/ghost_role/venus_human_trap/special(mob/living/spawned_mob, mob/mob_possessor)
. = ..()
spawned_mob.mind.add_antag_datum(/datum/antagonist/venus_human_trap)

/// Called when the attached flower bud has borne fruit (ie. is ready)
/obj/effect/mob_spawn/ghost_role/venus_human_trap/proc/bear_fruit()
ready = TRUE
Expand Down
1 change: 1 addition & 0 deletions tgui/packages/tgui/interfaces/Orbit/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const ANTAG2COLOR = {
'Xenomorph Infestation': 'violet',
'Spacetime Aberrations': 'white',
'Deviant Crew': 'white',
'Invasive Overgrowth': 'green',
} as const;

export const THREAT = {
Expand Down
Loading