Add constants for the 8 main facing values to Lua. Fixes #4490
This commit is contained in:
@@ -181,3 +181,4 @@ LuaScripts:
|
||||
mods/common/lua/supportpowers.lua
|
||||
mods/common/lua/rules.lua
|
||||
mods/common/lua/production.lua
|
||||
mods/common/lua/facing.lua
|
||||
|
||||
10
mods/common/lua/facing.lua
Normal file
10
mods/common/lua/facing.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
Facing = { }
|
||||
|
||||
Facing.North = { 0, "Int32" }
|
||||
Facing.NorthWest = { 32, "Int32" }
|
||||
Facing.West = { 64, "Int32" }
|
||||
Facing.SouthWest = { 96, "Int32" }
|
||||
Facing.South = { 128, "Int32" }
|
||||
Facing.SouthEast = { 160, "Int32" }
|
||||
Facing.East = { 192, "Int32" }
|
||||
Facing.NorthEast = { 224, "Int32" }
|
||||
@@ -162,3 +162,4 @@ LuaScripts:
|
||||
mods/common/lua/supportpowers.lua
|
||||
mods/common/lua/rules.lua
|
||||
mods/common/lua/production.lua
|
||||
mods/common/lua/facing.lua
|
||||
|
||||
@@ -178,3 +178,4 @@ LuaScripts:
|
||||
mods/common/lua/supportpowers.lua
|
||||
mods/common/lua/rules.lua
|
||||
mods/common/lua/production.lua
|
||||
mods/common/lua/facing.lua
|
||||
|
||||
@@ -200,3 +200,4 @@ LuaScripts:
|
||||
mods/common/lua/supportpowers.lua
|
||||
mods/common/lua/rules.lua
|
||||
mods/common/lua/production.lua
|
||||
mods/common/lua/facing.lua
|
||||
|
||||
Reference in New Issue
Block a user