mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +01:00
No Equip Slowdown Trait (#19964)
- rscadd: "Adds a new species trait, NO_EQUIP_SLOWDOWN. Ignores slowdown effects from equipment and dragging things. G2s, Vaurca Bulwarks, and Tajara Teslas." Note that ignoring slowdown effects also ignores negative slowdown (speed up), but it's so rare that it's probably negligible. May or may not horrendously break balance. Reasonably, these species are huge, slow, and strong to compensate. They *reasonably* shouldn't be slowed down by pushing lockers and carrying dufflebags. Vaurca Bulwarks especially are gated from wearing a lot of clothing from the get-go so the only change will be being able to not slowed down to all hell trying to push a locker somewhere. --------- Signed-off-by: Matt Atlas <mattiathebest2000@hotmail.it> Co-authored-by: Matt Atlas <mattiathebest2000@hotmail.it> Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>
This commit is contained in:
co-authored by
Matt Atlas
Fluffy
parent
ae9a3a0ea9
commit
3bfd1e6671
@@ -9,7 +9,8 @@
|
||||
if(lying) //Crawling, it's slower
|
||||
tally += (8 + ((weakened * 3) + (confused * 2)))
|
||||
|
||||
tally += get_pulling_movement_delay()
|
||||
if (!(species.flags & NO_EQUIP_SPEEDMODS))
|
||||
tally += get_pulling_movement_delay()
|
||||
|
||||
if (istype(loc, /turf/space) || isopenturf(loc))
|
||||
if(!(locate(/obj/structure/lattice, loc) || locate(/obj/structure/stairs, loc) || locate(/obj/structure/ladder, loc)))
|
||||
@@ -50,7 +51,7 @@
|
||||
if((mutations & mRun))
|
||||
tally = 0
|
||||
|
||||
if(isitem(pulling))
|
||||
if(isitem(pulling) && !(species.flags & NO_EQUIP_SPEEDMODS))
|
||||
var/obj/item/P = pulling
|
||||
tally += P.slowdown
|
||||
|
||||
|
||||
@@ -350,6 +350,8 @@
|
||||
BP_R_FOOT = list("path" = /obj/item/organ/external/foot/right/ipc/industrial/hephaestus)
|
||||
)
|
||||
|
||||
flags = IS_IPC | ACCEPTS_COOLER | NO_EQUIP_SPEEDMODS
|
||||
|
||||
|
||||
/datum/species/machine/industrial/hephaestus/get_light_color(mob/living/carbon/human/H)
|
||||
if (istype(H))
|
||||
|
||||
@@ -185,6 +185,8 @@
|
||||
BP_R_FOOT = list("path" = /obj/item/organ/external/foot/right/tesla_body)
|
||||
)
|
||||
|
||||
flags = NO_EQUIP_SPEEDMODS
|
||||
|
||||
bump_flag = HEAVY
|
||||
swap_flags = ~HEAVY
|
||||
push_flags = (~HEAVY) ^ ROBOT
|
||||
|
||||
@@ -385,6 +385,8 @@ Bulwarks are much larger and have significantly thicker carapaces than most Vaur
|
||||
possible_external_organs_modifications = list("Normal", "Amputated") //We don't have any limb modfications for this species, yet
|
||||
valid_prosthetics = null
|
||||
|
||||
flags = NO_SLIP | NO_CHUBBY | NO_ARTERIES | PHORON_IMMUNE | NO_COLD_SLOWDOWN | NO_EQUIP_SPEEDMODS
|
||||
|
||||
character_color_presets = list(
|
||||
"Zo'ra: Unbound Vaur" = "#3D000F", "Zo'ra: Bound Vaur" = "#37000F",
|
||||
"Zo'ra: Unbound Zoleth" = "#730015", "Zo'ra: Bound Zoleth" = "#610015",
|
||||
|
||||
@@ -1531,6 +1531,14 @@
|
||||
else
|
||||
remove_movespeed_modifier(/datum/movespeed_modifier/equipment_speedmod)
|
||||
|
||||
/mob/living/carbon/human/update_equipment_speed_mods()
|
||||
//Do not apply the equipment mods if the specie is not affected by them
|
||||
if(species?.flags & NO_EQUIP_SPEEDMODS)
|
||||
return
|
||||
|
||||
. = ..()
|
||||
|
||||
|
||||
///Get all items in our possession that should affect our movespeed
|
||||
/mob/proc/get_equipped_speed_mod_items()
|
||||
. = list()
|
||||
|
||||
Reference in New Issue
Block a user