Jump to content

I need a second opinion, please help.


Noisy Pants

Recommended Posts

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

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 :D

Link to comment
Share on other sites

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 :D

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 :)

Link to comment
Share on other sites

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 :D

 

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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...