Talk:Stone Slab/@comment-37502818-20181219191537

If anyone knows how to properly make a drop table, here's the drops and chance from the Lua file:

if tile == GROUND.PLAINS then inst.components.lootdropper:AddRandomLoot("jellybug", 5.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("rocks", 20.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("flint", 20.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("cutgrass", 20.0) -- Weighted average

elseif tile == GROUND.RAINFOREST then inst.components.lootdropper:AddRandomLoot("jellybug", 10.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("slugbug", 10.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("rocks", 15.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("flint", 15.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("cutgrass", 10.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("rabid_beetle", 0.1) -- Weighted average

elseif tile == GROUND.DEEPRAINFOREST then inst.components.lootdropper:AddRandomLoot("jellybug", 15.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("slugbug", 15.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("rocks", 5.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("flint", 5.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("cutgrass", 5.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("rabid_beetle", 10) -- Weighted average inst.components.lootdropper:AddRandomLoot("snake_amphibious", 10) -- Weighted average inst.components.lootdropper:AddRandomLoot("relic_1", 1) -- Weighted average inst.components.lootdropper:AddRandomLoot("relic_2", 1) -- Weighted average inst.components.lootdropper:AddRandomLoot("relic_3", 1) -- Weighted average

else inst.components.lootdropper:AddRandomLoot("rocks", 20.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("flint", 20.0) -- Weighted average inst.components.lootdropper:AddRandomLoot("cutgrass", 20.0) -- Weighted average end