Jolly Posted December 11, 2018 Share Posted December 11, 2018 Ok I've made the chilidog have the ringoffire buff - its a hoot - <append xpath="/items/item[@name=foodChiliDog]/effect_group[1]"> <triggered_effect trigger="onSelfPrimaryActionEnd" action="AddBuff" target="self" buff="buffRingOfFire"/> </append> but I'd like to make the dog harder to make. I've got this to start with <append xpath="/recipes/recipe[@name=foodChiliDog]"> <ingredient name="drugRecog" count="1"/> </append> but it don't work. Can anyone out there help make this work ? thx. Link to comment Share on other sites More sharing options...
DukeW74 Posted December 11, 2018 Share Posted December 11, 2018 Looks to me like it should work. You have it in a recipes.xml right, not items.xml Link to comment Share on other sites More sharing options...
Jolly Posted December 11, 2018 Author Share Posted December 11, 2018 yeah its in recipes - i dont get a red error but there is no chnage to the ingredients window Link to comment Share on other sites More sharing options...
DukeW74 Posted December 11, 2018 Share Posted December 11, 2018 I have no idea, I got it to insert into the recipe but in game it never shows as an ingredient. <insertAfter xpath="/recipes/recipe[@name='foodChiliDog']/ingredient[@name='foodRawMeat']" > <ingredient name="drugRecog" count="1" /> </insertAfter> EDIT: Might be because it is has the tags="learnable" although I have never had a problem with the tag before. Link to comment Share on other sites More sharing options...
Deceptive Pastry Posted December 11, 2018 Share Posted December 11, 2018 I only recently started messing with recipes but I'm not sure they update properly on previous saves. You might have to start a new game when changing recipes. Not sure yet how to force them to update. Link to comment Share on other sites More sharing options...
Guppycur Posted December 11, 2018 Share Posted December 11, 2018 No need for a new game. https://7daystodie.com/forums/showthread.php?99279-XPath-Error-CheckingCheck the configs after you exported them to see what's happening with the xml's. Link to comment Share on other sites More sharing options...
Deceptive Pastry Posted December 11, 2018 Share Posted December 11, 2018 Yea, the first time I changed a recipe it didn't update but I must have done something wrong that time even though I didn't get an error. My latest changes seem to update properly. Link to comment Share on other sites More sharing options...
Jolly Posted December 12, 2018 Author Share Posted December 12, 2018 So now its working I have no idea why it just decided to work, the recipe now includes a bottle of recog. I did manually change the description in localization but i can't see why that would cause it to work. Now to make an xpath to change the localization entry. Link to comment Share on other sites More sharing options...
Jolly Posted December 12, 2018 Author Share Posted December 12, 2018 Recipe and buff both working in single player. Only recipe works in multiplayer, the buff icon appears but there is no damage being dealt by the ring of fire buff. Sheese. Link to comment Share on other sites More sharing options...
Jolly Posted January 3, 2019 Author Share Posted January 3, 2019 UPDATE: I have this working on my server now - by eating a chilidog you receive the RingofFire buff which sets on fire and kills everything within a 10 metre radius for 60 seconds , or if you die it debuffs. I also removed the chilidog from the trader, so you have to either find one or make one. Works a treat. Happy to explain the steps to anyone who PM's me. I wasn't able to do it all as xpath edits I'm afraid. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.