2016-11-12 14:06:13 +03:00
|
|
|
|
|
|
|
-- add lucky blocks
|
|
|
|
|
|
|
|
if minetest.get_modpath("lucky_block") then
|
|
|
|
|
|
|
|
local epath = minetest.get_modpath("ethereal") .. "/schematics/"
|
|
|
|
|
|
|
|
lucky_block:add_schematics({
|
2018-09-30 20:31:36 +03:00
|
|
|
{"pinetree", ethereal.pinetree, {x = 3, y = 0, z = 3}},
|
|
|
|
{"palmtree", ethereal.palmtree, {x = 4, y = 0, z = 4}},
|
2016-11-12 14:06:13 +03:00
|
|
|
{"bananatree", ethereal.bananatree, {x = 3, y = 0, z = 3}},
|
|
|
|
{"orangetree", ethereal.orangetree, {x = 1, y = 0, z = 1}},
|
|
|
|
{"birchtree", ethereal.birchtree, {x = 2, y = 0, z = 2}},
|
|
|
|
})
|
|
|
|
|
|
|
|
lucky_block:add_blocks({
|
2018-09-03 22:43:00 +03:00
|
|
|
{"dro", {"ethereal:firethorn"}, 3},
|
|
|
|
{"dro", {"ethereal:firethorn_jelly"}, 3},
|
2016-11-12 14:06:13 +03:00
|
|
|
{"nod", "ethereal:crystal_spike", 1},
|
|
|
|
{"sch", "pinetree", 0, false},
|
|
|
|
{"dro", {"ethereal:orange"}, 10},
|
|
|
|
{"sch", "appletree", 0, false},
|
|
|
|
{"dro", {"ethereal:strawberry"}, 10},
|
|
|
|
{"sch", "bananatree", 0, false},
|
|
|
|
{"sch", "orangetree", 0, false},
|
|
|
|
{"dro", {"ethereal:banana"}, 10},
|
|
|
|
{"sch", "acaciatree", 0, false},
|
|
|
|
{"dro", {"ethereal:golden_apple"}, 3},
|
|
|
|
{"sch", "palmtree", 0, false},
|
2017-10-12 14:10:30 +03:00
|
|
|
{"dro", {"ethereal:tree_sapling"}, 5},
|
|
|
|
{"dro", {"ethereal:orange_tree_sapling"}, 5},
|
|
|
|
{"dro", {"ethereal:banana_tree_sapling"}, 5},
|
|
|
|
{"dro", {"ethereal:willow_sapling"} ,5},
|
|
|
|
{"dro", {"ethereal:mushroom_sapling"} ,5},
|
|
|
|
{"dro", {"ethereal:palm_sapling"} ,5},
|
2021-02-10 16:31:45 +03:00
|
|
|
{"dro", {"ethereal:flight_potion"}, 1},
|
2017-10-12 14:10:30 +03:00
|
|
|
{"dro", {"ethereal:birch_sapling"} ,5},
|
|
|
|
{"dro", {"ethereal:redwood_sapling"} ,1},
|
|
|
|
{"dro", {"ethereal:prairie_dirt"}, 10},
|
|
|
|
{"dro", {"ethereal:grove_dirt"}, 10},
|
2018-09-03 22:43:00 +03:00
|
|
|
{"fal", {"default:lava_source", "default:lava_source", "default:lava_source",
|
|
|
|
"default:lava_source", "default:lava_source"}, 1, true, 4},
|
2017-10-12 14:10:30 +03:00
|
|
|
{"dro", {"ethereal:cold_dirt"}, 10},
|
|
|
|
{"dro", {"ethereal:mushroom_dirt"}, 10},
|
|
|
|
{"dro", {"ethereal:fiery_dirt"}, 10},
|
|
|
|
{"dro", {"ethereal:axe_crystal"}},
|
2016-11-12 14:06:13 +03:00
|
|
|
{"nod", "ethereal:fire_flower", 1},
|
2017-10-12 14:10:30 +03:00
|
|
|
{"dro", {"ethereal:sword_crystal"}},
|
|
|
|
{"dro", {"ethereal:pick_crystal"}},
|
2016-11-12 14:06:13 +03:00
|
|
|
{"sch", "birchtree", 0, false},
|
2017-10-12 14:10:30 +03:00
|
|
|
{"dro", {"ethereal:fish_raw"}},
|
|
|
|
{"dro", {"ethereal:shovel_crystal"}},
|
|
|
|
{"dro", {"ethereal:fishing_rod_baited"}},
|
2016-11-12 14:06:13 +03:00
|
|
|
{"exp"},
|
|
|
|
{"dro", {"ethereal:fire_dust"}, 2},
|
2017-10-12 14:10:30 +03:00
|
|
|
{"exp", 4},
|
|
|
|
{"dro", {"ethereal:crystal_gilly_staff"}},
|
|
|
|
{"dro", {"ethereal:light_staff"}},
|
2020-08-25 17:02:43 +03:00
|
|
|
{"nod", "default:chest", 0, {
|
2019-02-16 15:23:14 +03:00
|
|
|
{name = "ethereal:birch_sapling", max = 10},
|
|
|
|
{name = "ethereal:palm_sapling", max = 10},
|
|
|
|
{name = "ethereal:orange_tree_sapling", max = 10},
|
|
|
|
{name = "ethereal:redwood_sapling", max = 10},
|
|
|
|
{name = "ethereal:bamboo_sprout", max = 10},
|
|
|
|
{name = "ethereal:banana_tree_sapling", max = 10},
|
|
|
|
{name = "ethereal:mushroom_sapling", max = 10},
|
2020-08-25 17:02:43 +03:00
|
|
|
{name = "ethereal:frost_tree_sapling", max = 10},
|
|
|
|
{name = "ethereal:sakura_sapling", max = 10},
|
|
|
|
{name = "ethereal:willow_sapling", max = 10},
|
2020-12-12 23:04:59 +03:00
|
|
|
{name = "ethereal:lemon_tree_sapling", max = 10},
|
|
|
|
{name = "ethereal:olive_tree_sapling", max = 10},
|
2019-02-16 15:23:14 +03:00
|
|
|
}},
|
2020-12-02 15:27:00 +03:00
|
|
|
{"flo", 5, {"ethereal:blue_marble_tile"}, 2},
|
|
|
|
{"dro", {"ethereal:blue_marble", "ethereal:blue_marble_tile"}, 8},
|
|
|
|
{"dro", {"ethereal:etherium_ore"}, 5},
|
2021-03-15 11:57:05 +03:00
|
|
|
{"nod", "default:chest", 0, {
|
|
|
|
{name = "ethereal:fish_bluefin", max = 7},
|
|
|
|
{name = "ethereal:fish_blueram", max = 7},
|
|
|
|
{name = "ethereal:fish_catfish", max = 7},
|
|
|
|
{name = "ethereal:fish_clownfish", max = 7},
|
|
|
|
{name = "ethereal:fish_pike", max = 7},
|
|
|
|
{name = "ethereal:fish_flathead", max = 7},
|
|
|
|
{name = "ethereal:fish_plaice", max = 7},
|
|
|
|
{name = "ethereal:fish_pufferfish", max = 5},
|
|
|
|
{name = "ethereal:fish_redsnapper", max = 7},
|
|
|
|
{name = "ethereal:fish_salmon", max = 7},
|
|
|
|
{name = "ethereal:fish_chichlid", max = 7},
|
|
|
|
{name = "ethereal:fishing_rod", max = 1},
|
|
|
|
{name = "ethereal:worm", max = 10},
|
|
|
|
}},
|
2016-11-12 14:06:13 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
if minetest.get_modpath("3d_armor") then
|
|
|
|
lucky_block:add_blocks({
|
2017-10-12 14:10:30 +03:00
|
|
|
{"dro", {"3d_armor:helmet_crystal"}},
|
|
|
|
{"dro", {"3d_armor:chestplate_crystal"}},
|
|
|
|
{"dro", {"3d_armor:leggings_crystal"}},
|
|
|
|
{"dro", {"3d_armor:boots_crystal"}},
|
2016-11-12 14:06:13 +03:00
|
|
|
{"lig"},
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
if minetest.get_modpath("shields") then
|
|
|
|
lucky_block:add_blocks({
|
2017-10-12 14:10:30 +03:00
|
|
|
{"dro", {"shields:shield_crystal"}},
|
2016-11-12 14:06:13 +03:00
|
|
|
{"exp"},
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
end -- END IF
|