mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
Not THAT Slow - Update Movespeed Modifiers for Smooth Movement (#22127)
The /tg/-style movespeed_modifier datums were not incorporated into the original smooth movement PR. While https://github.com/Aurorastation/Aurora.3/pull/22043 restores that functionality, the original values no longer feel good now that we're on smooth movement. This PR halves ALL movespeed_modifier/slowdown datums, with the exception of species-native, as a baseline before more individual adjustments are made.
This commit is contained in:
@@ -50,11 +50,11 @@
|
||||
if(0 to 0.3)
|
||||
owner.remove_movespeed_modifier(/datum/movespeed_modifier/endoskeleton)
|
||||
if(0.3 to 0.5)
|
||||
owner.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/endoskeleton, multiplicative_slowdown = 1)
|
||||
owner.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/endoskeleton, multiplicative_slowdown = 0.5)
|
||||
if(0.5 to 0.75)
|
||||
owner.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/endoskeleton, multiplicative_slowdown = 2)
|
||||
owner.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/endoskeleton, multiplicative_slowdown = 1)
|
||||
if(0.75 to 1)
|
||||
owner.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/endoskeleton, multiplicative_slowdown = 3)
|
||||
owner.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/endoskeleton, multiplicative_slowdown = 1.5)
|
||||
if(!damage)
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
|
||||
@@ -75,15 +75,15 @@
|
||||
switch(damage_ratio)
|
||||
if(0.3 to 0.5)
|
||||
notify_owner(owner, SPAN_WARNING("Your self-preservation warning system notifies you of moderate damage to your endoskeleton's supports!"))
|
||||
owner.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/endoskeleton, multiplicative_slowdown = 1)
|
||||
owner.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/endoskeleton, multiplicative_slowdown = 0.5)
|
||||
if(0.5 to 0.75)
|
||||
notify_owner(owner, SPAN_WARNING("Your self-preservation warning system notifies you of major damage to your endoskeleton!"))
|
||||
spark(owner, 2, GLOB.alldirs)
|
||||
owner.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/endoskeleton, multiplicative_slowdown = 2)
|
||||
owner.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/endoskeleton, multiplicative_slowdown = 1)
|
||||
if(0.75 to 0.99)
|
||||
notify_owner(owner, SPAN_DANGER("Your self-preservation routines are starting to kick in! Your endoskeleton is falling apart!"))
|
||||
spark(owner, 3, GLOB.alldirs)
|
||||
owner.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/endoskeleton, multiplicative_slowdown = 3)
|
||||
owner.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/endoskeleton, multiplicative_slowdown = 1.5)
|
||||
if(1 to INFINITY)
|
||||
SEND_SIGNAL(owner, COMSIG_SYNTH_SET_SELF_PRESERVATION, TRUE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user