thatloopydude
New member
My issue has been solved! Thank you to all that helped!!!!
I am adding new bullets to the game and wanting them to be unlocked via the sniper skill book tree, however the items won't unlock when the book is learned. The base ammo 50cal is unlocked by default and I can craft it. The 50capHP and 50calAP are locked. I can spawn the items in question via cm and use them in the gun. Just cant craft em. the Bundled version of all the versions are locked as well and are uncraftable.
Please help me out here... I've been at this for over 8 hours and I'm going to be bald before my genetics take part :miserable: :miserable: :miserable: :miserable: Link to paste.org
item.xml http://bit.ly/2ScMOKl
recipes.xml
progression.xml
Edit; Updating code to main post
I am adding new bullets to the game and wanting them to be unlocked via the sniper skill book tree, however the items won't unlock when the book is learned. The base ammo 50cal is unlocked by default and I can craft it. The 50capHP and 50calAP are locked. I can spawn the items in question via cm and use them in the gun. Just cant craft em. the Bundled version of all the versions are locked as well and are uncraftable.
Please help me out here... I've been at this for over 8 hours and I'm going to be bald before my genetics take part :miserable: :miserable: :miserable: :miserable: Link to paste.org
item.xml http://bit.ly/2ScMOKl
recipes.xml
Code:
<LoopyBarrett>
<append xpath="recipes">
<recipe name="Barrett M82" count="1" craft_area="workbench" tags="learnable,workbenchCrafting,perkDeadEye">
<ingredient name="gunHuntingRifleParts" count="8"/>
<ingredient name="resourceForgedSteel" count="26"/>
<ingredient name="resourceDuctTape" count="14"/>
<ingredient name="resourceScrapPolymers" count="32"/>
<ingredient name="resourceSpring" count="12"/>
<effect_group>
<passive_effect name="CraftingIngredientCount" level="1,6" operation="perc_add" value="0,5" tags="gunHuntingRifleParts,resourceForgedSteel,resourceDuctTape,resourceScrapPolymers,resourceSpring"/>
</effect_group>
</recipe>
<recipe name="50cal" count="1" craft_area="workbench" tags="workbenchCrafting">
<ingredient name="resourceBulletTip" count="1"/>
<ingredient name="resourceGunPowder" count="5"/>
<ingredient name="resourceBulletCasing" count="1"/>
</recipe>
<recipe name="Bundle50cal" count="1" craft_time="240" craft_area="workbench" tags="learnable,workbenchCrafting">
<ingredient name="resourceBulletTip" count="80"/>
<ingredient name="resourceGunPowder" count="400"/>
<ingredient name="resourceBulletCasing" count="80"/>
</recipe>
<recipe name="50calHP" count="1" craft_area="workbench" tags="learnable,workbenchCrafting">
<ingredient name="resourceBulletTip" count="1"/>
<ingredient name="resourceGunPowder" count="7"/>
<ingredient name="resourceBulletCasing" count="1"/>
</recipe>
<recipe name="Bundle50calHP" count="1" craft_time="240" craft_area="workbench" tags="learnable,workbenchCrafting">
<ingredient name="resourceBulletTip" count="80"/>
<ingredient name="resourceGunPowder" count="560"/>
<ingredient name="resourceBulletCasing" count="80"/>
</recipe>
<recipe name="50calAP" count="1" craft_area="workbench" tags="learnable,workbenchCrafting">
<ingredient name="resourceBulletTip" count="1"/>
<ingredient name="resourceGunPowder" count="9"/>
<ingredient name="resourceBulletCasing" count="1"/>
</recipe>
<recipe name="Bundle50calAP" count="1" craft_time="240" craft_area="workbench" tags="learnable,workbenchCrafting">
<ingredient name="resourceBulletTip" count="80"/>
<ingredient name="resourceGunPowder" count="720"/>
<ingredient name="resourceBulletCasing" count="80"/>
</recipe>
</append>
</LoopyBarrett>
Code:
<LoopyBarrett>
<append
xpath="/progression/perks/perk[@name='perkSniperAPAmmo']/effect_group">
<passive_effect name="RecipeTagUnlocked" operation="perc_add" level="1" value="1" tags="50calAP"/>
</append>
<append
xpath="/progression/perks/perk[@name='perkSniperHPAmmo']/effect_group">
<passive_effect name="RecipeTagUnlocked" operation="perc_add" level="1" value="1" tags="50calHP"/>
</append>
<append
xpath="/progression/perks/perk[@name='perkSniperComplete']/effect_group">
<passive_effect name="RecipeTagUnlocked" operation="perc_add" level="1" value="1" tags="Bundle50cal,Bundle50calHP,Bundle50calAP"/>
</append>
</LoopyBarrett>
Last edited by a moderator: