Its called Quality Joints. I made it mostly because I was annoyed that my constructor would make joints instead of stone blocks, so I wanted to give the allowed crafting skill to the make joints work order. Yes I just made a copy of the smokeleaf xml to not include <recipeMaker>. It worked on its own, but when I tried to include it with the new recipe, it didnt work. I'll look into the xpath patch and see what it does. I'm completely new so I'm just learning the tools I can use. The reason I asked about xml names is cause it doesn't work when I have the new recipe in a file named QualityJoints.xml, just it worked when it was called smokeleaf.xml.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages1
#2
Help / Re: [A17] Experience gain
October 31, 2017, 06:26:42 PM
That worked when I make a new RecipeDef, however the old recipe is still there like you said. Im now trying to get rid of that. Also I need help understanding what to name the xml file. Its named Smokeleaf.xml right now and thats working because its overriding the old one (I think). What do I have to do to make it its own name? That might help in taking the old recipe off of the crafting spot. I'm trying to just get rid of the <recipeMaker> and see if that will take it off the crafting spot.
Edit: That did remove the old recipe from the crafting spot.
Edit: That did remove the old recipe from the crafting spot.
#3
Help / Re: [A17] Experience gain
October 31, 2017, 12:06:38 PM
I tried adding it, but unfortunately that tag doesn't correspond to any field in type RecipeMakerProperties. Im starting to think that the drugs are made differently than other craftable objects, and that I might just need to find the C# file that does experience, or builds the drugs, and modify things there.
#4
Help / [A17] Experience gain
October 30, 2017, 03:36:19 PM
I am making a mod that brings a the allowed crafting skill to rolling smokeleaf joints. I brought it back by adding "Crafting" to the <workSkill> in the defs, but this also makes rolling joints give crafting xp. I want to either reduce it or bring it all the way to zero. Where is experience gain handled? I have looked at a lot of different defs but I can't seem to find anything regarding xp gain. I also can't find anything in the jobs or bill parts of the C# code. Any help is appreciated.
#5
Unfinished / [A17] Experience gain
October 29, 2017, 01:14:31 AM
I am making a mod that brings a the allowed crafting skill to rolling smokeleaf joints. I brought it back by adding "Crafting" to the <workSkill> in the defs, but this also makes rolling joints give crafting xp. I want to either reduce it or bring it all the way to zero. Where is experience gain handled? I have looked at a lot of different defs but I can't seem to find anything regarding xp gain. I also can't find anything in the jobs or bill parts of the C# code. Any help is appreciated.
Edit: I realize I posted this in the wrong area. Moving it.
Edit: I realize I posted this in the wrong area. Moving it.
Pages1