If this fits your needs, then yes, why not? For example ,create just two spots to place things, one should be a weapon ,second one a material for upgrade and voila?
Eventing a Place-able Crafting System
RMMV TutorialsAlright, sounds simple enough. I'll try toying around with two different components to upgrade a weapon and see how that works by using spots 2 and 3 as the materials to enhance. Thank you for giving a wonderful and entertaining tutorial on this.
Hello! So first of all, this is a really great tutorial! I can finally have a crafting system that is not recipe-based like most plugins and more about testing which combo works.
But that's also the problem. I'm making a cooking system where a recipe might have multiple combinations (can go more than 8 combos) based on the ingredients used.
I set each combo into a conditional branch without 'else' so it looks neater and more manageable. But it would mean if the array is not part of a legitimate combo, then it wouldn't get detected. To make the game detect that would mean I have to put all the conditional branches into the 'Else' part of each branch. Which can work, but I feel like there has to be an easier way >_>
So here's what I thought:
Is there any way I can have a conditional branch that checks what arrays are part of a recipe based on a list? Maybe the conditional branch can refer to this list, like a JSON file containing the array list? So if the game doesn't detect any viable combos/arrays from the array list, the crafting will be a fail, otherwise proceed to check among all the conditional branches which combo the player made.
I don't know how to work with JSON though, so I don't know how to hook it up, or even to know if my suggestion might work
But that's also the problem. I'm making a cooking system where a recipe might have multiple combinations (can go more than 8 combos) based on the ingredients used.
I set each combo into a conditional branch without 'else' so it looks neater and more manageable. But it would mean if the array is not part of a legitimate combo, then it wouldn't get detected. To make the game detect that would mean I have to put all the conditional branches into the 'Else' part of each branch. Which can work, but I feel like there has to be an easier way >_>
So here's what I thought:
Is there any way I can have a conditional branch that checks what arrays are part of a recipe based on a list? Maybe the conditional branch can refer to this list, like a JSON file containing the array list? So if the game doesn't detect any viable combos/arrays from the array list, the crafting will be a fail, otherwise proceed to check among all the conditional branches which combo the player made.
I don't know how to work with JSON though, so I don't know how to hook it up, or even to know if my suggestion might work
Original thread: https://forums.rpgmakerweb.com/threads/eventing-a-place-able-crafting-system.83283/