[MIRROR] intent cleanup (#9778)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-03 13:57:25 -07:00
committed by GitHub
parent 667c3c4c13
commit 16d5b45148
53 changed files with 115 additions and 111 deletions

View File

@@ -101,7 +101,7 @@
if(CHECK_MOVE_LOOP_FLAGS(owner, MOVEMENT_LOOP_OUTSIDE_CONTROL))
return
*/
if(running == "walk")
if(running == I_WALK)
running = 0.25
else
running = 1

View File

@@ -81,7 +81,7 @@
var/mob/living/carbon/carbon_source = source
if(!carbon_source.get_organ(BP_L_LEG) && !carbon_source.get_organ(BP_R_LEG))
return
if(carbon_source.m_intent == "walk")
if(carbon_source.m_intent == I_WALK)
return// stealth
steps_for_living[source] += 1
var/steps = steps_for_living[source]

View File

@@ -26,9 +26,9 @@
if(ishuman(source))
var/mob/living/carbon/human/source_human = source
if(source_human.m_intent == "walk" && step_count++ % 20 == 0)
if(source_human.m_intent == I_WALK && step_count++ % 20 == 0)
return
if(source_human.m_intent == "run" && step_count++ % 2 != 0)
if(source_human.m_intent == I_RUN && step_count++ % 2 != 0)
return
choose_vorefootstep(source)
if(issilicon(source))
@@ -75,7 +75,7 @@
if(ishuman(source))
var/mob/living/carbon/human/human_source = source
if(!human_source.shoes || human_source.m_intent == "walk")
if(!human_source.shoes || human_source.m_intent == I_WALK)
volume = CONFIG_GET(number/vorefootstep_volume) * (vore_footstep_volume/100) * 0.75
else if(human_source.shoes)
var/obj/item/clothing/shoes/feet = human_source.shoes