Noisy Pants Posted November 21 Share Posted November 21 I hate Charred Meat, therefore I downloaded a mod that is suppose to replace all Charred Meat with Grilled Meat, yet there is a problem. It says that there is something wrong with this line: <set xpath="/lootcontainers/lootgroup[@name='groupFoodPileCommon']/item[@name='foodCharredMeat']/@name">foodGrilledMeat</set> I've verified that everything is spelled correctly and such, even so, it still doesn't want to work - please help. Link to comment Share on other sites More sharing options...
ThunderSn1per Posted November 21 Share Posted November 21 <setattribute xpath="/lootcontainers/lootgroup[@name='groupFoodPileCommon']/item[@name='foodCharredMeat']" value="name">foodGrilledMeat</setattribute> I would personally do this instead. But I've not tested it as I can't at the moment. 1 Link to comment Share on other sites More sharing options...
BFT2020 Posted November 22 Share Posted November 22 easiest thing to do is to: <set xpath="//item[@name='foodCharredMeat']/@name">foodGrilledMeat</set> That should change all instances of charred meat to grilled meat. Also, you didn't mention what your error message was 1 Link to comment Share on other sites More sharing options...
Gamida Posted November 23 Share Posted November 23 16 hours ago, BFT2020 said: easiest thing to do is to: <set xpath="//item[@name='foodCharredMeat']/@name">foodGrilledMeat</set> That should change all instances of charred meat to grilled meat. Also, you didn't mention what your error message was I am not very good with making mods but am wondering does that just rename the charred meat to grilled meat? If so will you also not have to remove the negative water buff from it? If I am not right just ignore my post 1 Link to comment Share on other sites More sharing options...
ThunderSn1per Posted November 23 Share Posted November 23 9 hours ago, Gamida said: I am not very good with making mods but am wondering does that just rename the charred meat to grilled meat? If so will you also not have to remove the negative water buff from it? If I am not right just ignore my post No this will change the name of the item it references in the XML file. Essentially it means any Charred Meat instead fully becomes Grilled Meat and Charred Meat almost doesn't exist in the game 2 Link to comment Share on other sites More sharing options...
BFT2020 Posted November 24 Share Posted November 24 11 hours ago, Gamida said: I am not very good with making mods but am wondering does that just rename the charred meat to grilled meat? If so will you also not have to remove the negative water buff from it? If I am not right just ignore my post You are not 100% wrong. If you put that line in an items.xml file, it would change the name of the item. However, since we are putting that line in a loot.xml file, then it just changes the loot item in those groups with charred meat. 1 Link to comment Share on other sites More sharing options...
Gamida Posted November 25 Share Posted November 25 Thanks for clearing that up for me. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now