No longer drop pearls, they're useless atm

This commit is contained in:
Wuzzy 2019-09-04 17:21:49 +02:00
parent 45ff78cce7
commit df549c378d

View File

@ -1116,14 +1116,16 @@ minetest.register_node(
}, },
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
drop = { -- TODO: Enable the drop code below, when the pearl is useful.
-- The pearl is currently useless.
--[[drop = {
max_items = 3, max_items = 3,
items = { items = {
{items = {"default:clam"}, rarity = 1}, {items = {"default:clam"}, rarity = 1},
{items = {"default:pearl"}, rarity = 60}, {items = {"default:pearl"}, rarity = 60},
{items = {"default:pearl"}, rarity = 20}, {items = {"default:pearl"}, rarity = 20},
} }
}, },]]
groups = {fleshy = 3, oddly_breakable_by_hand = 2, choppy = 3, attached_node = 1, food = 2}, groups = {fleshy = 3, oddly_breakable_by_hand = 2, choppy = 3, attached_node = 1, food = 2},
on_use = minetest.item_eat({hp = 4, sat = 40}), on_use = minetest.item_eat({hp = 4, sat = 40}),
sounds = default.node_sound_defaults(), sounds = default.node_sound_defaults(),