Skip to content

Commit

Permalink
New hugger strain: Watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Hopekz committed Jun 26, 2023
1 parent 5ecf3e6 commit 3a262fe
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/__DEFINES/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,10 @@
// Queen strain flags
#define QUEEN_NORMAL "Normal"

// Queen strain flags
#define FACEHUGGER_NORMAL "Normal"
#define FACEHUGGER_WATCHER "Watcher"

// Drone strain flags
#define DRONE_NORMAL "Normal"
#define DRONE_HEALER "Healer"
Expand Down
28 changes: 28 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/castes/Facehugger.dm
Original file line number Diff line number Diff line change
Expand Up @@ -240,3 +240,31 @@
. += "Lifetime Hugs: [total_facehugs] / [next_facehug_goal]"
else
. += "Lifetime Hugs: [total_facehugs]"


/datum/xeno_mutator/watcher
name = "STRAIN: Facehugger - Watcher"
description = "You lose your ability to hide in exchange to see further!"
flavor_description = "No need to hide when you can see the danger."
individual_only = TRUE
caste_whitelist = list(XENO_CASTE_FACEHUGGER)
mutator_actions_to_remove = list(
/datum/action/xeno_action/onclick/xenohide,
)
cost = 1

keystone = TRUE

/datum/xeno_mutator/watcher/apply_mutator(datum/mutator_set/individual_mutators/mutator_set)
. = ..()
if(!.)
return

var/mob/living/carbon/xenomorph/facehugger/facehugger = mutator_set.xeno

facehugger.client.change_view(9, src)
facehugger.color = "#FFAD33" // This is here to make them look distinct until a coder decides to replace my coder solution with a unique sprite.

facehugger.mutation_type = FACEHUGGER_WATCHER
mutator_update_actions(facehugger)
mutator_set.recalculate_actions(description, flavor_description)
Binary file modified icons/mob/xenos/facehugger.dmi
Binary file not shown.

0 comments on commit 3a262fe

Please sign in to comment.