diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2021-07-06 11:38:05 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2021-07-06 11:38:05 -0400 |
| commit | cb1421b91b2f8ffa71f7ee009dad4e237ed36e2c (patch) | |
| tree | 9530d017f4230fabf29baf547533a2c8173aface /res | |
| parent | c77c50df34b598014e29f889523bbf067a0998f0 (diff) | |
| download | tanetane-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')
| -rw-r--r-- | res/scripts/common.lua | 3 |
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 | ||
| 50 | PathfindingOptions = { | 50 | PathfindingOptions = { |
| 51 | CARDINAL_DIRECTIONS_ONLY = 1 | 51 | CARDINAL_DIRECTIONS_ONLY = 1, |
| 52 | MOONWALKING = 2 -- Causes the sprite to walk backwards | ||
| 52 | } | 53 | } |
| 53 | 54 | ||
| 54 | gamestate = {} | 55 | gamestate = {} |
