mirror of
https://notabug.org/TenPlus1/lucky_block.git
synced 2024-08-20 22:44:07 +02:00
Fix instafarm and lavatrap blocks
This commit is contained in:
parent
3971ee647f
commit
d5392ec91a
@ -13,7 +13,7 @@ lucky_block:add_blocks({
|
|||||||
{name = "default:coal_lump", max = 3}}},
|
{name = "default:coal_lump", max = 3}}},
|
||||||
{"sch", "sandtrap", 1, true},
|
{"sch", "sandtrap", 1, true},
|
||||||
{"nod", "flowers:rose", 0},
|
{"nod", "flowers:rose", 0},
|
||||||
{"sch", "lava_trap", 1, true},
|
{"sch", "lavatrap", 1, true},
|
||||||
{"dro", {"default:mese_crystal_fragment", "default:mese_crystal"}, 10},
|
{"dro", {"default:mese_crystal_fragment", "default:mese_crystal"}, 10},
|
||||||
{"exp"},
|
{"exp"},
|
||||||
{"nod", "default:diamondblock", 0},
|
{"nod", "default:diamondblock", 0},
|
||||||
@ -39,7 +39,7 @@ lucky_block:add_blocks({
|
|||||||
if minetest.get_modpath("farming") then
|
if minetest.get_modpath("farming") then
|
||||||
lucky_block:add_blocks({
|
lucky_block:add_blocks({
|
||||||
{"dro", {"farming:bread"}, 5},
|
{"dro", {"farming:bread"}, 5},
|
||||||
{"sch", "insta_farm", 0, true},
|
{"sch", "instafarm", 0, true},
|
||||||
{"nod", "default:water_source", 1},
|
{"nod", "default:water_source", 1},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
4
init.lua
4
init.lua
@ -32,9 +32,9 @@ function lucky_block:add_schematics(list)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- import default blocks and schematics
|
-- import schematics and default blocks
|
||||||
dofile(minetest.get_modpath("lucky_block").."/blocks.lua")
|
|
||||||
dofile(minetest.get_modpath("lucky_block").."/schems.lua")
|
dofile(minetest.get_modpath("lucky_block").."/schems.lua")
|
||||||
|
dofile(minetest.get_modpath("lucky_block").."/blocks.lua")
|
||||||
|
|
||||||
-- for random colour selection
|
-- for random colour selection
|
||||||
local all_colours = {
|
local all_colours = {
|
||||||
|
Loading…
Reference in New Issue
Block a user