summaryrefslogtreecommitdiff
path: root/mesecons
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-03-29 11:53:11 +0200
committerJeija <norrepli@gmail.com>2012-03-29 11:53:11 +0200
commitd54d1485959655d67b11cade64f95a1e31d5e963 (patch)
tree84f2796954efb362d84899816372a6c0a125cce3 /mesecons
parente50639291c4089267a3da8e4ec4c55c051780592 (diff)
downloadmesecons-d54d1485959655d67b11cade64f95a1e31d5e963.tar
mesecons-d54d1485959655d67b11cade64f95a1e31d5e963.tar.gz
mesecons-d54d1485959655d67b11cade64f95a1e31d5e963.tar.bz2
mesecons-d54d1485959655d67b11cade64f95a1e31d5e963.tar.xz
mesecons-d54d1485959655d67b11cade64f95a1e31d5e963.zip
Add reference for new rules system
Diffstat (limited to 'mesecons')
-rw-r--r--mesecons/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/mesecons/init.lua b/mesecons/init.lua
index 2d7e3a7..fe8e950 100644
--- a/mesecons/init.lua
+++ b/mesecons/init.lua
@@ -35,6 +35,11 @@
-- mesecon:receptor_off(pos, rules) } as their parameter.
--
--You can specify the rules using the rules parameter. If you don't want special rules, just leave it out
+--e.g. if you want to use the "pressureplate" rules, you use this command:
+--mesecon:receptor_on (pos, mesecon:get_rules("pressureplate"))
+--The rules can be manipulated by several rotate functions:
+--rules=mesecon:rotate_rules_right/left/up/down(rules)
+--
--
--!! If a receptor node is removed, the circuit should be recalculated. This means you have to
--send an mesecon:receptor_off signal to the api when the function in minetest.register_on_dignode