-Holo-
New member
So, I'm trying to make guns a bit more complex like it was in the past with more parts to find, but as soon as I touch the recipe the scrap option disappears on guns.
The Recipes xml looks like this for a testing purpose
<remove xpath="/recipes/recipe[starts-with(@name, 'gunHandgunT1')]"/>
<append xpath="/recipes">
<recipe name="gunHandgunT1Pistol" count="1" craft_area="workbench" tags="learnable,perkGunslinger">
<ingredient name="gunHandgunT1PistolParts" count="1"/>
<ingredient name="partsPistol_frame" count="1"/>
<ingredient name="partsPistol_grip" count="1"/>
<ingredient name="resourceDuctTape" count="5"/>
<ingredient name="resourceSpring" count="4"/>
<effect_group>
<passive_effect name="CraftingIngredientCount" level="2,6" operation="perc_add" value=".5,2.5" tags="resourceDuctTape,resourceSpring"/>
</effect_group>
</recipe>
</append>
With this mod active, all handguns and smg looses their ability to be scrapped for some reason.
The items looks like this
<append xpath="/items">
<item name="partsPistol_frame">
<property name="Extends" value="gunMGT1AK47Parts"/>
<property name="CustomIcon" value="partsPistol_frame"/>
</item>
<item name="partsPistol_grip">
<property name="Extends" value="gunMGT1AK47Parts"/>
<property name="CustomIcon" value="partsPistol_grip"/>
</item>
</append>
The weird thing is on the larger mod I made to change all guns to need parts, Everything gets unscappable except all kinds of shotguns. Is this some gamebug or am I missing something?
The Recipes xml looks like this for a testing purpose
<remove xpath="/recipes/recipe[starts-with(@name, 'gunHandgunT1')]"/>
<append xpath="/recipes">
<recipe name="gunHandgunT1Pistol" count="1" craft_area="workbench" tags="learnable,perkGunslinger">
<ingredient name="gunHandgunT1PistolParts" count="1"/>
<ingredient name="partsPistol_frame" count="1"/>
<ingredient name="partsPistol_grip" count="1"/>
<ingredient name="resourceDuctTape" count="5"/>
<ingredient name="resourceSpring" count="4"/>
<effect_group>
<passive_effect name="CraftingIngredientCount" level="2,6" operation="perc_add" value=".5,2.5" tags="resourceDuctTape,resourceSpring"/>
</effect_group>
</recipe>
</append>
With this mod active, all handguns and smg looses their ability to be scrapped for some reason.
The items looks like this
<append xpath="/items">
<item name="partsPistol_frame">
<property name="Extends" value="gunMGT1AK47Parts"/>
<property name="CustomIcon" value="partsPistol_frame"/>
</item>
<item name="partsPistol_grip">
<property name="Extends" value="gunMGT1AK47Parts"/>
<property name="CustomIcon" value="partsPistol_grip"/>
</item>
</append>
The weird thing is on the larger mod I made to change all guns to need parts, Everything gets unscappable except all kinds of shotguns. Is this some gamebug or am I missing something?