From a1bf601c76125e579f60e856515fa92329804904 Mon Sep 17 00:00:00 2001 From: pyrolink Date: Thu, 19 Jul 2007 05:42:18 +0000 Subject: [PATCH] Vague documentation of trigger specs, hopefully enough to get started. This was SVN commit r5267. --- .../data/mods/official/scripts/Sample.xml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 binaries/data/mods/official/scripts/Sample.xml diff --git a/binaries/data/mods/official/scripts/Sample.xml b/binaries/data/mods/official/scripts/Sample.xml new file mode 100644 index 0000000000..3b937e41ac --- /dev/null +++ b/binaries/data/mods/official/scripts/Sample.xml @@ -0,0 +1,27 @@ +/ Condition temporary learnables +This defines the condition + + This creates a row in the Atlas GUI for input. + + + + + 1,2,3,4,5,6 - used for choice windows. These are listed in the drop down + + 0 - Specifies in what order this parameter is passed to the JS function + + 0 - Used to organize the parameter window in the UI. Added left to right, starting from least number + + + + + Food,Wood,Stone,Metal + "Food","Wood","Stone","Metal" - when choices in the choice box should be passed to javascript as a different string, use choice translation. These are matched by comma ordering + ...etc + + + + + + + int for integer, string for string, real for real numbers (floating point), bool for boolean true/false \ No newline at end of file