My first mod attempt is to police one's brass after firing a weapon. I'm starting with only the pistol and so far I've tried the modlet approach with:
<append xpath="/items/item[@name=gunPistol]/property[@class=Action0]">
<property name="Create_item" value="resourceBulletCasing"/>
</append>
As well as brute force just seeing if I can get things to work by adding to the game's items.xml the following line in the "gunPistol" item, "Action0" property.
<property name="Create_item" value="resourceBulletCasing"/>
When in game, neither of these approaches seems to do anything. Eventually, once this is working, I'd like to find a way to only collect X% of the spent casings. Maybe with "Create_item_count" (not sure). If anyone could point me in the direction of what I might be missing, or could just break the news to me that this isn't possible I would be grateful!!
Thanks for the time and help!!
<append xpath="/items/item[@name=gunPistol]/property[@class=Action0]">
<property name="Create_item" value="resourceBulletCasing"/>
</append>
As well as brute force just seeing if I can get things to work by adding to the game's items.xml the following line in the "gunPistol" item, "Action0" property.
<property name="Create_item" value="resourceBulletCasing"/>
When in game, neither of these approaches seems to do anything. Eventually, once this is working, I'd like to find a way to only collect X% of the spent casings. Maybe with "Create_item_count" (not sure). If anyone could point me in the direction of what I might be missing, or could just break the news to me that this isn't possible I would be grateful!!
Thanks for the time and help!!