mirror of
https://gitlab.com/lunovox/components.git
synced 2025-03-15 08:01:22 +00:00
This commit is contained in:
parent
75d79987f5
commit
433f88ed55
1 changed files with 1 additions and 3 deletions
|
@ -36,9 +36,7 @@ modComponents.addDrops("components:bioresin", 5, 'default:jungletree') -- rarity
|
|||
-- Dig 'components:quartzo_crystal_pink' in 'default:gravel'
|
||||
modComponents.addDrops("components:quartzo_crystal_pink", 20, 'default:gravel') -- rarity:20 = 1/20 = 05%
|
||||
|
||||
if minetest.global_exists(unified_inventory)
|
||||
and minetest.global_exists(unified_inventory.add_category_items)
|
||||
then
|
||||
if minetest.global_exists("unified_inventory") then
|
||||
unified_inventory.add_category_items('plants', {"components:bioresin"})
|
||||
unified_inventory.add_category_items('minerals', {"components:quartzo_crystal_pink"})
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue