From cb1421b91b2f8ffa71f7ee009dad4e237ed36e2c Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 6 Jul 2021 11:38:05 -0400 Subject: Added moonwalking to pathfinding behaviour This flag will make the sprite appear to be walking backwards. --- res/scripts/common.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'res') diff --git a/res/scripts/common.lua b/res/scripts/common.lua index 46f2275..559d8bd 100644 --- a/res/scripts/common.lua +++ b/res/scripts/common.lua @@ -48,7 +48,8 @@ ChangeMapOptions = { } PathfindingOptions = { - CARDINAL_DIRECTIONS_ONLY = 1 + CARDINAL_DIRECTIONS_ONLY = 1, + MOONWALKING = 2 -- Causes the sprite to walk backwards } gamestate = {} -- cgit 1.4.1