red elk now drop more meat when killed with a butchery knife, and also they drop bladders rarely (10%, same as deer) #2778

This commit is contained in:
Pyritie 2026-01-19 22:13:51 +00:00
parent bd1efd7d40
commit 766b2f1948

View file

@ -0,0 +1,12 @@
// priority: 0
"use strict";
function registerBeneathLoots(event) {
event.addEntityLootModifier('beneath:red_elk')
.addLoot(LootEntry.of('waterflasks:bladder').when(c => c.randomChance(0.1)))
event.addEntityLootModifier('beneath:red_elk')
.matchMainHand('#forge:tools/butchery_knives')
.addWeightedLoot([2, 4], ['tfc:food/venison'])
.addWeightedLoot([1, 2], ['tfc:blubber'])
}