Fix nether and blackstone gold ore drops

it needs a "fallback" drop with rarity = 1 otherwise there is a
fair chance it will drop nothing
This commit is contained in:
cora 2022-09-24 06:12:25 +02:00
parent edb41538dc
commit 11f9e84622
1 changed files with 10 additions and 9 deletions

View File

@ -25,11 +25,12 @@ minetest.register_node("mcl_blackstone:blackstone_gilded", {
drop = {
max_items = 1,
items = {
{items = {"mcl_core:gold_nugget 2"},rarity = 5},
{items = {"mcl_core:gold_nugget 3"},rarity = 5},
{items = {"mcl_core:gold_nugget 4"},rarity = 5},
{items = {"mcl_core:gold_nugget 5"},rarity = 5},
{items = {"mcl_blackstone:blackstone_gilded"}, rarity = 8},
{items = {"mcl_core:gold_nugget 2"},rarity = 40},
{items = {"mcl_core:gold_nugget 3"},rarity = 40},
{items = {"mcl_core:gold_nugget 4"},rarity = 40},
{items = {"mcl_core:gold_nugget 5"},rarity = 40},
-- 4x 1 in 40 chance adds up to a 10% chance
{items = {"mcl_blackstone:blackstone_gilded"}, rarity = 1},
}
},
_mcl_blast_resistance = 2,
@ -46,11 +47,11 @@ minetest.register_node("mcl_blackstone:nether_gold", {
drop = {
max_items = 1,
items = {
{items = {"mcl_core:gold_nugget 2"},rarity = 5},
{items = {"mcl_core:gold_nugget 3"},rarity = 5},
{items = {"mcl_core:gold_nugget 4"},rarity = 5},
{items = {"mcl_core:gold_nugget 6"},rarity = 5},
{items = {"mcl_core:gold_nugget 5"},rarity = 5},
{items = {"mcl_blackstone:nether_gold"}, rarity = 8},
{items = {"mcl_core:gold_nugget 4"},rarity = 5},
{items = {"mcl_core:gold_nugget 3"},rarity = 5},
{items = {"mcl_core:gold_nugget 2"},rarity = 1},
}
},
_mcl_blast_resistance = 3,