Skip to content

Commit

Permalink
Further changeling engoodening: chameleon skin buff. (ParadiseSS13#23233
Browse files Browse the repository at this point in the history
)

* engoodening

* oops

* Update code/modules/antagonists/changeling/powers/chameleon_skin.dm

Co-authored-by: Contrabang <[email protected]>

* Update code/modules/antagonists/changeling/powers/chameleon_skin.dm

Co-authored-by: Luc <[email protected]>

* fingy print

* Update code/modules/antagonists/changeling/powers/chameleon_skin.dm

Co-authored-by: GDN <[email protected]>

* Update code/modules/antagonists/changeling/powers/chameleon_skin.dm

Co-authored-by: Contrabang <[email protected]>

* Update code/modules/antagonists/changeling/powers/chameleon_skin.dm

Co-authored-by: Contrabang <[email protected]>

* contra review.

---------

Co-authored-by: Contrabang <[email protected]>
Co-authored-by: Luc <[email protected]>
Co-authored-by: GDN <[email protected]>
  • Loading branch information
4 people committed Nov 15, 2023
1 parent fef0216 commit 91ef818
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/modules/antagonists/changeling/powers/chameleon_skin.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/datum/action/changeling/chameleon_skin
name = "Chameleon Skin"
desc = "Our skin pigmentation rapidly changes to suit our current environment. Costs 25 chemicals."
helptext = "Allows us to become invisible after a few seconds of standing still. Can be toggled on and off."
helptext = "Allows us to become invisible after a few seconds of standing still. While active, it silences our footsteps. Can be toggled on and off."
button_icon_state = "chameleon_skin"
dna_cost = 4
chemical_cost = 25
Expand All @@ -14,9 +14,11 @@
if(H.dna.GetSEState(GLOB.chameleonblock))
H.dna.SetSEState(GLOB.chameleonblock, 0)
singlemutcheck(H, GLOB.chameleonblock, MUTCHK_FORCED)
REMOVE_TRAIT(user, TRAIT_SILENT_FOOTSTEPS, CHANGELING_TRAIT)
else
H.dna.SetSEState(GLOB.chameleonblock, 1)
singlemutcheck(H, GLOB.chameleonblock, MUTCHK_FORCED)
ADD_TRAIT(user, TRAIT_SILENT_FOOTSTEPS, CHANGELING_TRAIT)

SSblackbox.record_feedback("nested tally", "changeling_powers", 1, list("[name]"))
return TRUE
Expand All @@ -26,4 +28,5 @@
if(C.dna.GetSEState(GLOB.chameleonblock))
C.dna.SetSEState(GLOB.chameleonblock, 0)
singlemutcheck(C, GLOB.chameleonblock, MUTCHK_FORCED)
REMOVE_TRAIT(user, TRAIT_SILENT_FOOTSTEPS, CHANGELING_TRAIT)
..()

0 comments on commit 91ef818

Please sign in to comment.