diff --git a/code/game/atoms_movable.dm b/code/game/atoms_movable.dm index c365263cf45..90d8d2ae548 100644 --- a/code/game/atoms_movable.dm +++ b/code/game/atoms_movable.dm @@ -312,6 +312,7 @@ for(var/item in src) // Notify contents of Z-transition. This can be overridden if we know the items contents do not care. var/atom/movable/AM = item AM.onTransitZ(old_z,new_z) + SEND_SIGNAL(src, COMSIG_MOVABLE_Z_CHANGED) /mob/living/forceMove(atom/destination) if(buckled) diff --git a/code/modules/mob/living/carbon/human/species/unathi.dm b/code/modules/mob/living/carbon/human/species/unathi.dm index b2740ef26d3..1e02f0faea6 100644 --- a/code/modules/mob/living/carbon/human/species/unathi.dm +++ b/code/modules/mob/living/carbon/human/species/unathi.dm @@ -129,13 +129,21 @@ /datum/species/unathi/ashwalker/on_species_gain(mob/living/carbon/human/H) var/datum/action/innate/ignite/ash_walker/fire = new() fire.Grant(H) + RegisterSignal(H, COMSIG_MOVABLE_Z_CHANGED, PROC_REF(speedylegs)) /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) /datum/action/innate/ignite/ash_walker desc = "You form a fire in your mouth, fierce enough to... light a cigarette." cooldown_duration = 3 MINUTES welding_fuel_used = 0 // Ash walkers dont need welding fuel to use ignite + +/datum/species/unathi/ashwalker/proc/speedylegs(mob/living/carbon/human/H) + if(is_mining_level(H.z)) + speed_mod = initial(speed_mod) + else + speed_mod = 0 diff --git a/code/modules/ruins/lavalandruin_code/ash_walker_den.dm b/code/modules/ruins/lavalandruin_code/ash_walker_den.dm index 38c22cef2cd..12dff99ed68 100644 --- a/code/modules/ruins/lavalandruin_code/ash_walker_den.dm +++ b/code/modules/ruins/lavalandruin_code/ash_walker_den.dm @@ -71,7 +71,8 @@ important_info = "Do not leave Lavaland without admin permission. Do not attack the mining outpost without being provoked." description = "You are an ashwalker, a native inhabitant of Lavaland. Try to survive with nothing but spears and other tribal technology. Bring dead bodies back to your tendril to create more of your kind. You are free to attack miners and other outsiders." flavour_text = "Your tribe worships the Necropolis. The wastes are sacred ground, its monsters a blessed bounty. \ - You have seen lights in the distance... they foreshadow the arrival of outsiders that seek to tear apart the Necropolis and its domain. Fresh sacrifices for your nest." + You have seen lights in the distance... they foreshadow the arrival of outsiders that seek to tear apart the Necropolis and its domain. Fresh sacrifices for your nest. \ + Keep in mind - your speed is given to you by the power of the Necropolis, leaving the planet will make your body more lethargic!" assignedrole = "Ash Walker" /obj/effect/mob_spawn/human/alive/ash_walker/special(mob/living/carbon/human/new_spawn)