This commit is contained in:
Lunovox 2024-02-22 03:57:27 +00:00
parent 13db3e6593
commit de244c1aeb

View file

@ -33,13 +33,13 @@ end
-- Dig 'components:bioresin' in 'default:jungletree' -- Dig 'components:bioresin' in 'default:jungletree'
modComponents.addDrops("default:jungletree", 1, 'default:jungletree') -- rarity:1 = 1/1 = 100% modComponents.addDrops("default:jungletree", 1, 'default:jungletree') -- rarity:1 = 1/1 = 100%
modComponents.addDrops("components:bioresin", 5, 'default:jungletree') -- rarity:5 = 1/5 = 20% modComponents.addDrops("components:bioresin", 5, 'default:jungletree') -- rarity:5 = 1/5 = 20%
if type(unified_inventory)~="nil" and unified_inventory.add_category_items then if type(unified_inventory)=="table" and type(unified_inventory.add_category_items)=="function" then
unified_inventory.add_category_items('plants', {"components:bioresin"}) unified_inventory.add_category_items('plants', {"components:bioresin"})
end end
--######################################################################################################################## --########################################################################################################################
-- Dig 'components:quartzo_crystal_pink' in 'default:gravel' -- Dig 'components:quartzo_crystal_pink' in 'default:gravel'
modComponents.addDrops("components:quartzo_crystal_pink", 20, 'default:gravel') -- rarity:20 = 1/20 = 05% modComponents.addDrops("components:quartzo_crystal_pink", 20, 'default:gravel') -- rarity:20 = 1/20 = 05%
if type(unified_inventory)~="nil" and unified_inventory.add_category_items then if type(unified_inventory)=="table" and type(unified_inventory.add_category_items)=="function" then
unified_inventory.add_category_items('minerals', {"components:quartzo_crystal_pink"}) unified_inventory.add_category_items('minerals', {"components:quartzo_crystal_pink"})
end end
--######################################################################################################################## --########################################################################################################################