I'm trying to create an item that heals the party for 50% of their HP and MP, and opens the save screen. The item needs to be restricted to only be allowed use on the overworld map. So, two questions.
1. How best to restrict the item use? I have tried using a Common Event, having the item call that event, and using a Conditional Branch restricted by a switch, but I would like the item to be greyed out in the menu unless the player is on a specific map (like the Overworld) or a specific switch is on (like a save point)
2. How do I make the item heal 50% of the parties HP & MP? If the item calls a Common Event, the Change MP or Change HP actions only allow changing via a constant number that doesn't allow decimals, and I don't know enough about RMMV code syntax to use the Script action and $game (A comprehensive code reference for RMMV would be REALLY nice...). I really would rather have a more elegant solution than 12+ Change Variable actions...
If the answer to #1 works, I can just use the Recover HP and Recover MP effects on the item itself to solve answer 2. I have a sneaking suspicion that the Yanfly engine will be the answer (it seems to be the answer to life, the universe, and everything 🙂 ), but I haven't figured out which plugin to use. I await with baited breath the wisdom of the RMMV community! Thanks!!
1. How best to restrict the item use? I have tried using a Common Event, having the item call that event, and using a Conditional Branch restricted by a switch, but I would like the item to be greyed out in the menu unless the player is on a specific map (like the Overworld) or a specific switch is on (like a save point)
2. How do I make the item heal 50% of the parties HP & MP? If the item calls a Common Event, the Change MP or Change HP actions only allow changing via a constant number that doesn't allow decimals, and I don't know enough about RMMV code syntax to use the Script action and $game (A comprehensive code reference for RMMV would be REALLY nice...). I really would rather have a more elegant solution than 12+ Change Variable actions...
If the answer to #1 works, I can just use the Recover HP and Recover MP effects on the item itself to solve answer 2. I have a sneaking suspicion that the Yanfly engine will be the answer (it seems to be the answer to life, the universe, and everything 🙂 ), but I haven't figured out which plugin to use. I await with baited breath the wisdom of the RMMV community! Thanks!!