LuaOverview: LuaRules
authorWuzzy
Mon, 12 Oct 2020 02:12:20 +0200
changeset 2193 d916af89912e
parent 2192 edf132b3d2b8
child 2194 bdbc1db67287
LuaOverview: LuaRules
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].