neuralgia/kubejs/server_scripts/tfc/loot.js
Pyritie b9f3c51407
Pushing recent 0.9 alpha feedback (#877)
Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>
Co-authored-by: Redeix <59435925+Redeix@users.noreply.github.com>
2025-04-18 00:40:58 +01:00

61 lines
No EOL
1.9 KiB
JavaScript

// priority: 0
function registerTFCLoots(event)
{
event.addEntityLootModifier('tfc:black_bear')
.addWeightedLoot([8,12], ['tfc:food/bear'])
event.addEntityLootModifier('tfc:grizzly_bear')
.addWeightedLoot([10,16], ['tfc:food/bear'])
event.addEntityLootModifier('tfc:polar_bear')
.addWeightedLoot([14,20], ['tfc:food/bear'])
.addWeightedLoot([2,5], ['tfc:blubber'])
event.addEntityLootModifier('tfc:cougar')
.addWeightedLoot([6,10], ['tfc:food/gran_feline'])
event.addEntityLootModifier('tfc:panther')
.addWeightedLoot([6,10], ['tfc:food/gran_feline'])
event.addEntityLootModifier('tfc:sabertooth')
.addWeightedLoot([9,14], ['tfc:food/gran_feline'])
event.addEntityLootModifier('tfc:lion')
.addWeightedLoot([9,14], ['tfc:food/gran_feline'])
event.addEntityLootModifier('tfc:tiger')
.addWeightedLoot([9,14], ['tfc:food/gran_feline'])
event.addEntityLootModifier('tfc:ocelot')
.addWeightedLoot([2,5], ['tfc:food/gran_feline'])
event.addEntityLootModifier('tfc:cat')
.addWeightedLoot([2,5], ['tfc:food/gran_feline'])
event.addEntityLootModifier('tfc:sabertooth')
.addWeightedLoot([9,14], ['tfc:food/gran_feline'])
event.addEntityLootModifier('tfc:dog')
.addWeightedLoot([5,9], ['tfc:food/wolf'])
event.addEntityLootModifier('tfc:wolf')
.addWeightedLoot([5,9], ['tfc:food/wolf'])
event.addEntityLootModifier('tfc:direwolf')
.addWeightedLoot([10,15], ['tfc:food/wolf'])
event.addEntityLootModifier('tfc:wolf')
.addWeightedLoot([5,9], ['tfc:food/wolf'])
event.addEntityLootModifier('tfc:hyena')
.addWeightedLoot([5,9], ['tfc:food/hyena'])
event.addEntityLootModifier('tfc:fox')
.addWeightedLoot([5,9], ['tfc:food/fox'])
event.addEntityLootModifier('tfc:crocodile')
.addWeightedLoot([5,10], ['tfc:food/bluegill', 'tfc:food/crappie', 'tfc:food/lake_trout', 'tfc:food/rainbow_trout', 'tfc:food/frog_legs'])
.addSequenceLoot(LootEntry.of('tfc:metal/fish_hook/copper').when(c => c.randomChance(0.2)))
}