summary refs log tree commit diff stats
path: root/res/scripts
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2021-07-06 11:38:05 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2021-07-06 11:38:05 -0400
commitcb1421b91b2f8ffa71f7ee009dad4e237ed36e2c (patch)
tree9530d017f4230fabf29baf547533a2c8173aface /res/scripts
parentc77c50df34b598014e29f889523bbf067a0998f0 (diff)
downloadtanetane-cb1421b91b2f8ffa71f7ee009dad4e237ed36e2c.tar.gz
tanetane-cb1421b91b2f8ffa71f7ee009dad4e237ed36e2c.tar.bz2
tanetane-cb1421b91b2f8ffa71f7ee009dad4e237ed36e2c.zip
Added moonwalking to pathfinding behaviour
This flag will make the sprite appear to be walking backwards.
Diffstat (limited to 'res/scripts')
-rw-r--r--res/scripts/common.lua3
1 files changed, 2 insertions, 1 deletions
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 = {
48} 48}
49 49
50PathfindingOptions = { 50PathfindingOptions = {
51 CARDINAL_DIRECTIONS_ONLY = 1 51 CARDINAL_DIRECTIONS_ONLY = 1,
52 MOONWALKING = 2 -- Causes the sprite to walk backwards
52} 53}
53 54
54gamestate = {} 55gamestate = {}