mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
Adds movement intents
This commit is contained in:
@@ -305,8 +305,8 @@ var/static/regex/multispin_words = regex("like a record baby")
|
||||
else if((findtext(message, walk_words)))
|
||||
for(var/V in listeners)
|
||||
var/mob/living/L = V
|
||||
if(L.m_intent != "walk")
|
||||
L.m_intent = "walk"
|
||||
if(L.m_intent != MOVE_INTENT_WALK)
|
||||
L.m_intent = MOVE_INTENT_WALK
|
||||
if(L.hud_used)
|
||||
L.hud_used.move_intent.icon_state = "walking"
|
||||
next_command = world.time + cooldown_meme
|
||||
@@ -315,8 +315,8 @@ var/static/regex/multispin_words = regex("like a record baby")
|
||||
else if((findtext(message, run_words)))
|
||||
for(var/V in listeners)
|
||||
var/mob/living/L = V
|
||||
if(L.m_intent != "run")
|
||||
L.m_intent = "run"
|
||||
if(L.m_intent != MOVE_INTENT_RUN)
|
||||
L.m_intent = MOVE_INTENT_RUN
|
||||
if(L.hud_used)
|
||||
L.hud_used.move_intent.icon_state = "running"
|
||||
next_command = world.time + cooldown_meme
|
||||
@@ -452,4 +452,4 @@ var/static/regex/multispin_words = regex("like a record baby")
|
||||
next_command = world.time + cooldown_none
|
||||
|
||||
message_admins("[key_name_admin(owner)] has said '[log_message]' with a Voice of God, affecting [english_list(listeners)], with a power multiplier of [power_multiplier].")
|
||||
log_game("[key_name(owner)] has said '[log_message]' with a Voice of God, affecting [english_list(listeners)], with a power multiplier of [power_multiplier].")
|
||||
log_game("[key_name(owner)] has said '[log_message]' with a Voice of God, affecting [english_list(listeners)], with a power multiplier of [power_multiplier].")
|
||||
|
||||
Reference in New Issue
Block a user