Further changeling engoodening: chameleon skin buff. (#23233)

* engoodening

* oops

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

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

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

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* fingy print

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

Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com>

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

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

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

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

* contra review.

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com>
This commit is contained in:
Marm
2023-11-15 19:15:28 +00:00
committed by GitHub
co-authored by Contrabang Luc GDN
parent fef021690e
commit 91ef8186a2
@@ -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
@@ -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
@@ -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)
..()