Yanfly overwrote a method that normally wouldn't have been called with something like 'bread' as the formula. My plugin opened that door however and his plugin didn't have a fail-safe. It straight-up wiped out the actor's HP and placed an illegal value in it's place which caused the crash. I put in a work-around for it so it should work properly now. Thanks for letting me know of the issue.
Question: How would I go about using the Health plugin with SumRndmDde's HUD Maker plugin? (I'm not using an RPG Maker default battle system, and as such I need an on-screen HUD to show some of the immediately important pieces of the player's status, ie the things that will affect their HP or their battling performance).
Basically, what I'm trying to do is find out what the script for the current value and the maximum value (for example, with default HP it's $gameParty.leader().hp and $gameParty.leader().mhp respectively). What would they be if I were trying to reference one of the Health types set up in the plugin parameters?
There we go, now it's working!
EDIT: However, just thought of something. In my game, I'm planning on having multiple different actors. They won't all be in the party at the same time, as it's more of a "this person's campaign then this person's then this person's". But if I have the gauge set to just that one actor's ID, then once gameplay switches over to another actor, it wouldn't work because it'd only be showing data for that one actor.
Alright, it's working, thanks!
EDIT: How would I go about making the rest/sleep decrease by a larger amount/at a faster rate during nighttime?
I'm using LTN's time system, which uses a variable to track what time of day it is. From that plugin's help file: 'morning' = 0,
'day' = 1
'noon' = 2
'evening' = 3
'night' = 4
Look in the docs for Conditions in the Health plugin. These are how you change the behavior of Health attributes. Define the ones you need in the plugin parameters, then see if you can set the corresponding Condition when your time system plugin changes values. Hopefully, they built in an option to call a Common Event or something similar when the time of day change from one category to the next.
Cool. That should give you an easy way to call a plugin command to set a Condition in my plugin that will adjust the rate of decline for Rest during the night. I do something similar to this in the demo project as you get farther in the volcano. I make the effects of the heat more severe. Check that out if you need to.
Was going to say that I'd tried to download the demo from the github, but it gave me an error: 502: Failure
Luckily I still had a copy to look at.
So, for the common event, how should I set that up? (Ie, its contents, would it go in "set common event" or "remove common event" or both, etc.)
For the Common Event itself, you'll need to use the plugin command SETCONDITION #. I think that's the command but you'll want to check the docs to be sure. You should also do a REMCONDITION # as well to clear the previous Condition. If you're only doing a Condition for night time, just call the SET when it turns night and remove the Condition when it turns day time. Unless I misunderstood your question.
It's always a good idea to refresh yourself on what your plugins do. I'm working on a map with opening walls, and I was about to tear my hair out over how much image editing and hand-constructing of autotiles I'd have to do, when I looked again and saw @Shaz 's Tile Changer could copy areas from another map.