I’m trying to create a recipe where you can craft a higher quality version of my tool, but I can’t seem to think of any good ways to do so. One would be that if you have for example a Ramshackle Axe you can use it to craft a Ramshackle version of my tool.
Another way would be to make a box which would create a certain quality version of my tool whenever you insert a corresponding vanilla tool in it. Any idea how I should start something like that?
No idea as to the practicality, and I don’t think an ARK-way exists to do it, but in regards to your first point… a - theoretical - way of going about it would be to have a “consumable” that on “used” essentially does what the crafting process does without some of its features and benefits.
So, you’d be able to check the inventory for “x”, check it’s rating - I think, if blah blah blah do blah blah blah and consume all durability - with destroy on broken set to true - with the opposite being nothing getting done or “crafted”… this will prevent the crafting timer, or XP bonus(unless done in a player inventory where you then have the “owner inventory” to provide a link to).
Again, that’s all theoretical, and not the cleanest way of doing it… but it is at least one possible way of going about it.
-WM
Thanks for the reply. That sounds a bit too messy for such a simple thing, but I can see what I can do. It’s not mandatory for my mod, but would be a nice addition.
Okay I got the consumable to work. It adds the new item and removes the old one. The problem is that how do I get the qualities to match? I can only get “Item rating” or “Item quality index” out of the item and the “Add item” asks for “item quality” directly.