VENOM2019 Posted January 3, 2020 Share Posted January 3, 2020 Hello everyone! I tried to add my modded items to the lootlist like this: <condigs> <append xpath="loot"> <lootcontainers> <lootcontainer id="17" count="1,2"... > <item name="Desert Eagle" prob="0.08"> </lootcontainer> </lootcontainers> </append> </configs> This didn't work at all, I tried everything, and nothing works. But when I wrote the desert eagle to the original loot file the gun acually appeared in the toiled with the count of 2. Please help with this! Link to comment Share on other sites More sharing options...
convergent Posted January 4, 2020 Share Posted January 4, 2020 A couple of issues, if you copied directly there is a typo "condigs" Also if you append like this, you are adding a new loot container with id 17, which already exits. I am on my phone so I cant copy code, but you need to either append the entry directly, or setattribute to change a value. Someone at their pc might be able to paste code... Link to comment Share on other sites More sharing options...
bdubyah Posted January 4, 2020 Share Posted January 4, 2020 You could try something like: <append xpath="/lootcontainers/lootcontainer[@id='65']"> <item name="Desert Eagle" count="1" prob="0.015"/> </append> if you just wanna add it to the toilet loot. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.