Jump to content

[MODLET] Recipe Balancing


wolfpackmars2

Recommended Posts

https://github.com/wolfpackmars2/7DTD-Rebalanced-Recipes

 

This modlet changes slightly some recipes. Currently changes the Awesome Sauce recipe to use 1 honey instead of 5 and replaces resourceAnimalFat with resourceOil for Flaming Arrows and Bolts.

 

Perhaps an engine xpath bug? Attempting to use 'ends-with' conditional to select Flaming Arrows and Bolts, the game engine threw errors and didn't modify the recipes. When 'ends-with' was replaced with 'contains' the modlet worked fine.

 

Related? https://stackoverflow.com/questions/...-does-not-work

Link to comment
Share on other sites

Perhaps an engine xpath bug? Attempting to use 'ends-with' conditional to select Flaming Arrows and Bolts, the game engine threw errors and didn't modify the recipes. When 'ends-with' was replaced with 'contains' the modlet worked fine.

 

I've never used ends-with in my modlets, but I doubt it would be mentioned in the XPath tutorial thread if it straight-up doesn't work. In any case, if you want helpful input you should probably post the code and resulting errors.

 

The SO question seems completely unrelated based on the accepted answer.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...