# HG changeset patch # User Wuzzy # Date 1602461540 -7200 # Node ID d916af89912e697cbdfe9d265b4a922afeae08c5 # Parent edf132b3d2b8fda6db3d6f4597c4b811f923415d LuaOverview: LuaRules diff -r edf132b3d2b8 -r d916af89912e LuaOverview.wiki --- a/LuaOverview.wiki Mon Oct 12 02:10:00 2020 +0200 +++ b/LuaOverview.wiki Mon Oct 12 02:12:20 2020 +0200 @@ -25,6 +25,9 @@ Another thing to note is the current status of our scripting implementation. Similar to the whole game, this is still work in progress and we can’t guarantee that scripts working in this version will run in future revisions of the game as we might extend, change or rename parts of the scripting engine. +== Scripting rules == +To make sure your script is functional on multiple systems and for online play, some simple but important development rules need to be followed. See [LuaRules]. + == Global variables/constants == Global variables are used by the game to interact with the scripts by passing and retrieving their values. While some of the variables are never read by the engine some allow you to modify the engine’s behaviour, e.g. the theme to be used for the current map. @@ -67,4 +70,4 @@ X and Y can be negative when you go above or left of the map boundaries. -Some global variables contain important coordinates, see [LuaGlobals]. \ No newline at end of file +Some global variables contain important coordinates, see [LuaGlobals].