[s] Fixes Ashwalker/cling exploits and a issue with ashwalkers not getting traits (#22871)

* Fixes Ashwalker/cling exploits

* ash walkers no longer can fire guns

* Contrabang suggestion -Removed duplicate action

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

* Speedylegs is now called on species gain and loss

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
ppi13
2023-10-18 10:31:53 -05:00
committed by GitHub
co-authored by Contrabang
parent c35a0b73d5
commit 5ef03e450b
@@ -128,15 +128,20 @@
)
/datum/species/unathi/ashwalker/on_species_gain(mob/living/carbon/human/H)
..()
for(var/datum/action/innate/ignite/fire in H.actions)
fire.Remove(H)
var/datum/action/innate/ignite/ash_walker/fire = new()
fire.Grant(H)
RegisterSignal(H, COMSIG_MOVABLE_Z_CHANGED, PROC_REF(speedylegs))
speedylegs(H)
/datum/species/unathi/ashwalker/on_species_loss(mob/living/carbon/human/H)
..()
for(var/datum/action/innate/ignite/ash_walker/fire in H.actions)
fire.Remove(H)
UnregisterSignal(H, COMSIG_MOVABLE_Z_CHANGED)
speedylegs(H)
/datum/action/innate/ignite/ash_walker
desc = "You form a fire in your mouth, fierce enough to... light a cigarette."