summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2023-08-04 11:25:45 -0500
committercheapie <no-email-for-you@example.com>2023-08-04 11:25:45 -0500
commitbbdf947d7c1bffb6d26d333c47c9b2a88109f058 (patch)
tree6a08aa878c06abdf75875d6abf6ddcf5f99011f7 /init.lua
downloadcelevator-bbdf947d7c1bffb6d26d333c47c9b2a88109f058.tar
celevator-bbdf947d7c1bffb6d26d333c47c9b2a88109f058.tar.gz
celevator-bbdf947d7c1bffb6d26d333c47c9b2a88109f058.tar.bz2
celevator-bbdf947d7c1bffb6d26d333c47c9b2a88109f058.tar.xz
celevator-bbdf947d7c1bffb6d26d333c47c9b2a88109f058.zip
Add bits that are done so far
This includes: * Controller (runs and responds to calls placed on the screen, parameter editing and switches work) * Null Drive (simulates motion so the controller can run, no actual movement yet) * Call Buttons (lights can be toggled with right-click, no communication yet)
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/init.lua b/init.lua
new file mode 100644
index 0000000..0c44a32
--- /dev/null
+++ b/init.lua
@@ -0,0 +1,10 @@
+local components = {
+ "framework",
+ "drive_null",
+ "controller",
+ "callbuttons",
+}
+
+for _,v in ipairs(components) do
+ dofile(string.format("%s%s%s.lua",minetest.get_modpath("celevator"),DIR_DELIM,v))
+end