wolfpackmars2 Posted April 4, 2020 Share Posted April 4, 2020 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 More sharing options...
alphaniner Posted April 5, 2020 Share Posted April 5, 2020 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.