ecksfiftyone
New member
I wanted to give new players a pretty decent starter kit that includes 2 decent quality tools, Food, A quality weapon, ammo , and some clothes. This is based off my previous config file mods in A16. This time I'm using modlets.
Everything works fine, except the loot is doubled, and I cant see where that is happening.
User should get:
1 Weapon + ammo
2 Tools (selected from Axe, Shovel, Pickaxe)
1 Tool (Selected from Hammer, Wrench, Nailgun)
4 Canned Food Items + 4-8 Water + 1-3 First Aid kits
1 Shirt + 1 pants + 1 Tshirt
1 Keystone Block + 3 Torches + Chance for flashlight and chance for repair kits.
Instead it's like this runs twice, the kit if filled with 2X as much stuff.
Anyone know what I missed?

Everything works fine, except the loot is doubled, and I cant see where that is happening.
User should get:
1 Weapon + ammo
2 Tools (selected from Axe, Shovel, Pickaxe)
1 Tool (Selected from Hammer, Wrench, Nailgun)
4 Canned Food Items + 4-8 Water + 1-3 First Aid kits
1 Shirt + 1 pants + 1 Tshirt
1 Keystone Block + 3 Torches + Chance for flashlight and chance for repair kits.
Instead it's like this runs twice, the kit if filled with 2X as much stuff.
Anyone know what I missed?
Code:
<configs>
<append xpath="/lootcontainers/lootqualitytemplates">
<lootqualitytemplate name="x51_Starter_Template_High">
<qualitytemplate level="1,999999" default_quality="3,4">
<loot quality="5,6" prob="0.33"/>
<loot quality="3,4" prob="1"/>
<loot quality="1,2" prob="0.005"/>
</qualitytemplate>
</lootqualitytemplate>
<lootqualitytemplate name="x51_Starter_Template_Low">
<qualitytemplate level="1,999999" default_quality="1,2">
<loot quality="5,6" prob="0.05"/>
<loot quality="3,4" prob="0.33"/>
<loot quality="1,2" prob="1"/>
</qualitytemplate>
</lootqualitytemplate>
</append>
<append xpath="/lootcontainers">
<lootgroup name="x51_StarterKit_CrossBow" count="all">
<item name="gunCrossbow" count="1"/>
<item name="ammoCrossbowBoltSteelAP" count="100,200"/>
<item name="ammoCrossbowBoltExploding" count="10,20"/>
</lootgroup>
<lootgroup name="x51_StarterKit_CompoundBow" count="all">
<item name="gunCompoundBow" count="1"/>
<item name="ammoArrowSteelAP" count="200,250"/>
</lootgroup>
<lootgroup name="x51_StarterKit_Shotgun" count="all">
<item name="gunPumpShotgun" count="1"/>
<item name="ammoShotgunShell" count="150,300"/>
</lootgroup>
<lootgroup name="x51_StarterKit_Tools" count="2">
<item name="meleeToolPickaxeIron"/>
<item name="meleeToolShovelIron"/>
<item name="meleeToolFireaxeIron"/>
</lootgroup>
<lootgroup name="x51_StarterKit_Tools2" count="1">
<item name="meleeToolClawHammer"/>
<item name="meleeToolWrench"/>
<item name="gunToolNailgun" prob="0.05"/>
</lootgroup>
<lootgroup name="x51_StarterKit_Health" count="all">
<item name="drinkJarBoiledWater" count="4,8"/>
<item group="cannedfood" count="4"/>
<item name="medicalFirstAidKit" count="1,3"/>
</lootgroup>
<lootgroup name="x51_StarterKit_Clothes" count="all">
<item group="shirtLongAll" count="1"/>
<item group="pantsAll" count="1"/>
<item group="tshirtAll" count="1"/>
<item name="wornBoots"/>
</lootgroup>
<lootgroup name="x51_StarterKit_Misc" count="all">
<item name="resourceRepairKit" count="1,4" prob="0.05"/>
<item name="meleeToolFlashlight02" prob="0.2"/>
<item name="meleeToolTorch" count="3"/>
<item name="keystoneBlock"/>
</lootgroup>
<lootgroup name="x51_StarterKit_Weapon" count="1">
<item group="x51_StarterKit_CrossBow"/>
<item group="x51_StarterKit_CompoundBow"/>
<item group="x51_StarterKit_Shotgun"/>
</lootgroup>
<lootgroup name="x51_StarterKit" count="all">
<item group="x51_StarterKit_Weapon"/>
<item group="x51_StarterKit_Tools"/>
<item group="x51_StarterKit_Tools2"/>
<item group="x51_StarterKit_Health"/>
<item group="x51_StarterKit_Clothes"/>
<item group="x51_StarterKit_Misc"/>
</lootgroup>
<lootcontainer id="225" count="1" size="10,10" sound_open="UseActions/open_cardboard" sound_close="UseActions/close_cardboard" loot_quality_template="x51_Starter_Template_High" destroy_on_close="true">
<item group="x51_StarterKit"/>
</lootcontainer>
</append>
</configs>
