summaryrefslogtreecommitdiff
path: root/lucky_block.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lucky_block.lua')
-rw-r--r--lucky_block.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/lucky_block.lua b/lucky_block.lua
new file mode 100644
index 0000000..9484e35
--- /dev/null
+++ b/lucky_block.lua
@@ -0,0 +1,14 @@
+
+-- add lucky blocks
+
+if minetest.get_modpath("lucky_block") then
+
+ lucky_block:add_blocks({
+ {"dro", {"protector:protect"}, 3},
+ {"dro", {"protector:protect2"}, 3},
+ {"dro", {"protector:door_wood"}, 1},
+ {"dro", {"protector:door_steel"}, 1},
+ {"dro", {"protector:chest"}, 1},
+ {"exp"},
+ })
+end