Hey folks,
I'm implementing a system for item quality in my game (much like Stardew Valley). I've achieved this by having a copy of each item in the database for each quality of item with their own different sell prices, and everything in-game that checks for say, wheat, will check for any of the 4 quality versions. This includes crafting recipes using CGMZ Crafting, which allows for "generic" material groups to be set up, so I have one for each crop, fish, etc.
As you can imagine, this is pretty time consuming to set up, and every new item I add means a lot of work (not to mention, it fills up the item database pretty fast).
The next system I am adding will be a "preserving" system, again like Stardew Valley. Players put an item into the preserving device, wait X days, and then get some preserves out, which will have a sell value which is double the sell price of whatever they put into it.
With each item having 4 different quality levels, that means that if there are, say, 20 items that can be preserved, I need to set up 80 "Preserves" items to account for every item type and quality level.
This is do-able, but obviously not ideal (especially if I need to check for the "preserves" item, which would mean checking 80 different possible items.
This got me thinking.... item metadata? Is it even possible in RPG Maker?
I'd love some ability to say, use a "give item" command but with a modifier, so the item given has some kind of metadata that makes it unique (such as +100% sell price). Only items with the same metadata could stack, and all that. I know this is a standard feature of most modern games, so I was wondering if there was some way to do it in RPG Maker (either with a plugin or not).
I am also open to any better approaches for setting something like this up!
(Also, I know that VisuStella has an item inheritance plugin, but it really doesn't do anything helpful. I would still have to do the same amount of work to use that plugin (set up 80 items, configure them all, check for them all).)
I'm implementing a system for item quality in my game (much like Stardew Valley). I've achieved this by having a copy of each item in the database for each quality of item with their own different sell prices, and everything in-game that checks for say, wheat, will check for any of the 4 quality versions. This includes crafting recipes using CGMZ Crafting, which allows for "generic" material groups to be set up, so I have one for each crop, fish, etc.
As you can imagine, this is pretty time consuming to set up, and every new item I add means a lot of work (not to mention, it fills up the item database pretty fast).
The next system I am adding will be a "preserving" system, again like Stardew Valley. Players put an item into the preserving device, wait X days, and then get some preserves out, which will have a sell value which is double the sell price of whatever they put into it.
With each item having 4 different quality levels, that means that if there are, say, 20 items that can be preserved, I need to set up 80 "Preserves" items to account for every item type and quality level.
This is do-able, but obviously not ideal (especially if I need to check for the "preserves" item, which would mean checking 80 different possible items.
This got me thinking.... item metadata? Is it even possible in RPG Maker?
I'd love some ability to say, use a "give item" command but with a modifier, so the item given has some kind of metadata that makes it unique (such as +100% sell price). Only items with the same metadata could stack, and all that. I know this is a standard feature of most modern games, so I was wondering if there was some way to do it in RPG Maker (either with a plugin or not).
I am also open to any better approaches for setting something like this up!
(Also, I know that VisuStella has an item inheritance plugin, but it really doesn't do anything helpful. I would still have to do the same amount of work to use that plugin (set up 80 items, configure them all, check for them all).)