summaryrefslogtreecommitdiffstats
path: root/cwd/assets
diff options
context:
space:
mode:
Diffstat (limited to 'cwd/assets')
-rw-r--r--cwd/assets/altcraft/scripts/blocks.lua2
-rw-r--r--cwd/assets/altcraft/scripts/init.lua3
2 files changed, 5 insertions, 0 deletions
diff --git a/cwd/assets/altcraft/scripts/blocks.lua b/cwd/assets/altcraft/scripts/blocks.lua
new file mode 100644
index 0000000..ad00742
--- /dev/null
+++ b/cwd/assets/altcraft/scripts/blocks.lua
@@ -0,0 +1,2 @@
+print("Hello from altcraft/blocks!")
+return "CONTENT OF ac/blocks" \ No newline at end of file
diff --git a/cwd/assets/altcraft/scripts/init.lua b/cwd/assets/altcraft/scripts/init.lua
index de58b90..f001017 100644
--- a/cwd/assets/altcraft/scripts/init.lua
+++ b/cwd/assets/altcraft/scripts/init.lua
@@ -32,5 +32,8 @@ function plugin.onTick (deltaTime)
end
end
+blocks = require("altcraft/blocks")
+print("From init: "..blocks)
+
AC.RegisterPlugin(plugin)
plugin = nil \ No newline at end of file