Crafting v1.3 is out... Including Dismantle now!
AMAZING WORK!!
At the risk of sounding ungrateful... Are there intentions to add the option of flagging a recipe as NO DISMANTLE? 😀
Or did I miss that feature?
Edit:
Preferably I am thinking that the flag should be for the entire recipe as well as possibly for individual ingredients. Its like having that one ingredient that you have to collect normally... Everything else can be gotten from dismantle. Etc... But I'll be grateful for just flagging a recipe as non-dismantle to prevent it. 😉
i have yet to take a look at the updated crafting, not sure what else was added
to set up a recipe to breakdown you have to make a copy of a recipe that makes something then you add reverse:true to make it break things down
so vlue said that reverse:false is thier so you dont have to make 2 recipies 🙂
When dismantled, this recipe ignores both the material rate as well as the return rate...
It uses the base return 75%
It totally ignores material rate... If return succeeds, rate is 100% for both materials.
<recipe9> known: false result:{type:"item", id:1, amount:1} <materials> {type:"item", id:1, amount:1, cons:true, rate:0, bonus:false} {type:"item", id:2, amount:3, cons:true, rate:100, bonus:true} <materials> goldCost:0 success:100 successGain:0 level:1 category😀estiny xp:25 xpDeprac:0 craftLevel:1 pxp:0 craftMultiple:true reverse:true returnRate:0<recipe9>In case you wonder why the recipe makes itself... Its the only way I could think of making a dismantle ONLY recipe. The player needs the item to make the item or dismantle it for other items. 🙂
I'd much rather have dismantle only flags though... That way there is no need to define a result and the in-game recipe book doesn't get cluttered with meaningless recipes.
I was wondering if someone can give me a detailed guide on how to setup up the dismantling system. I got the crafting to work but I cannot seem to get it to dismantle into materials. Not sure if I am missing something in my text file or what. An apology ahead of time if it is a stupid mistake.
<recipe2> result:{type:"weapon", id:5, amount:1} <materials> {type:"item", id:8, amount:1, cons:false, rate:100} {type:"item", id:9, amount:1, cons:false, rate:100} <materials> category:Blacksmith reverse:true returnRate:100<recipe2>Thanks to anyone willing to help.
modified the last version of the crafting for the following features
1) changed the way breakdown is shown (now it uses different categories to show recipies)
2) made it work with saves that where before you added the script
3) breakdown no longer only shows when you have the item to breakdown
4) updated the icons so they show on crafting and breakdown commands
todo
1) make sure that when you add new recipe it is updated in game with old saves
2) make it so if you remove recipe it is removed from old saves
EDIT: realized the todo list wasnt needed
The quest plugin has a small flaw...
If you have more than three categories of quest... (Such as All, cat1, cat2, cat3, Complete) Then the complete will be folded down into a bottom category (below the top displayed list of 4 categories) and then you'll be unable to scroll DOWN when in the ALL category. Instead, it will drop down into the Complete category.
It sounds odd... Until you try it. Then its pretty obvious.
Just set up more than 4 defined categories in the plugin parameters and have more than 1 assigned quests. 😉
Thanks for all the help on the crafting system. I got it working.