-Holo- Posted October 14, 2020 Share Posted October 14, 2020 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? Link to comment Share on other sites More sharing options...
meganoth Posted October 14, 2020 Share Posted October 14, 2020 1 hour ago, -Holo- said: 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? With your remove line you are also remving a recipe called gunHandgunT1PistolParts. I would suggest to re-add that line and check if this fixes the problem. If yes, you can try to find out why. If not, you have at least excluded one possibility Link to comment Share on other sites More sharing options...
-Holo- Posted October 14, 2020 Author Share Posted October 14, 2020 ...Dude. That fixed it! Been bashing my head on and off on that for a week now trying to figure out. Many thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.