Hi everyone, I love ItemSynthesis and I use it to craft my gathering materials and recently I've added XP rewards for synthesizing items, I want there to be a Requirement based on a variable which is my skills level (can be any variable) and as long that its less than or equal to the variable.. How can I achieve this?
MV YEP_ItemSynthesis: Variable Requirements
Javascript/Plugin Supportsomeone had asked it before how to sync with skill, so it may be
close what you look for, only I can't find that thread really or who
asked it.
close what you look for, only I can't find that thread really or who
asked it.
The plugin doesn't really have such thing. What you could do is add a fake item to the recipe.
(With this method, you'll likely have issues since the fake item would be consumed)
Make an item called "Harvesting Level 3" to the recipe. Then make an event that checks if the player has this skill level. If so, add this item to the inventory. If you're using the item category plugin, it's possible to have an item category that doesn't actually show up in the inventory. (Hidden item exists too tho)
That way it'll show up as a "material".
A second alternative would be to split up your recipes into tiers so the player will only have access to "Level 3 Harvesting" recipes when you give it through the aforementioned "Does player have level 3 Harvesting".
(With this method, you'll likely have issues since the fake item would be consumed)
Make an item called "Harvesting Level 3" to the recipe. Then make an event that checks if the player has this skill level. If so, add this item to the inventory. If you're using the item category plugin, it's possible to have an item category that doesn't actually show up in the inventory. (Hidden item exists too tho)
That way it'll show up as a "material".
A second alternative would be to split up your recipes into tiers so the player will only have access to "Level 3 Harvesting" recipes when you give it through the aforementioned "Does player have level 3 Harvesting".
Original thread: https://forums.rpgmakerweb.com/threads/yep_itemsynthesis-variable-requirements.181412/