forked from mtcontrib/mobs_monster
add webtrap lucky block
This commit is contained in:
parent
876d544c1c
commit
84dc34acad
@ -1,7 +1,30 @@
|
|||||||
|
|
||||||
if minetest.get_modpath("lucky_block") then
|
if minetest.get_modpath("lucky_block") then
|
||||||
|
|
||||||
|
local web = {name = "mobs:cobweb"}
|
||||||
|
local web_trap = {
|
||||||
|
size = {x = 3, y = 3, z = 3},
|
||||||
|
data = {
|
||||||
|
web, web, web,
|
||||||
|
web, web, web,
|
||||||
|
web, web, web,
|
||||||
|
|
||||||
|
web, web, web,
|
||||||
|
web, web, web,
|
||||||
|
web, web, web,
|
||||||
|
|
||||||
|
web, web, web,
|
||||||
|
web, web, web,
|
||||||
|
web, web, web,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
lucky_block:add_schematics({
|
||||||
|
{"webtrap", web_trap, {x = 1, y = 0, z = 1}},
|
||||||
|
})
|
||||||
|
|
||||||
lucky_block:add_blocks({
|
lucky_block:add_blocks({
|
||||||
|
{"sch", "webtrap", 1, true},
|
||||||
{"spw", "mobs:dungeon_master", 1, nil, nil, 3, "Billy"},
|
{"spw", "mobs:dungeon_master", 1, nil, nil, 3, "Billy"},
|
||||||
{"spw", "mobs:sand_monster", 3},
|
{"spw", "mobs:sand_monster", 3},
|
||||||
{"spw", "mobs:stone_monster", 3, nil, nil, 3, "Bob"},
|
{"spw", "mobs:stone_monster", 3, nil, nil, 3, "Bob"},
|
||||||
|
Loading…
Reference in New Issue
Block a user