File: lucky_block.lua

package info (click to toggle)
minetest-mod-protector 20181016-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 292 kB
  • sloc: makefile: 10
file content (18 lines) | stat: -rw-r--r-- 437 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

-- 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},
		{"exp", 5, true},
		{"dro", {"protector:trapdoor"}, 1},
		{"dro", {"protector:trapdoor_steel"}, 1},
		{"dro", {"protector:tool"}, 1},
		{"dro", {"protector:chest"}, 1},
		{"exp"},
	})
end