I'm a whimsical girl.
Apr 26, 2014
Reaction score
First Language
Primarily Uses
There's this script I found in an old request thread for items that "go bad" over time; the way it works is, you add a notetag to certain items that indicate that the item will turn into a different item after x amount of steps. It also comes with a progress bar visible in the items menu and is compatible with instance items, so all items of the same id rot at their own pace rather than all at once. I'm using tsukihime's version for compatibility with other scripts that I'm using, and it works perfectly.

However, the idea of anything happening based on step count not only stresses me out (like I need to be super careful about WALKING, of all things, just so my items don't spoil) but it doesn't fit in with the way time progresses in my game, which is based on frames (used in common events to update variables for hunger, thirst, etc), a timer (it counts 10 minutes, then updates the time of day, ex. morning -> noon, then resets), and variables (for time of day, day of year, hunger, thirst, energy, etc etc). If this sounds confusing I'll elaborate further, I mean. If it's necessary?

So I'd prefer that all items "spoil" based on frames (or individual timers, if that's better). I'm using a limited inventory system, so the player should only have a maximum of 15 items at any one time, and anything in storage either doesn't update (if that's what it needs to be to prevent horrible lag) or updates at a slower pace based on where it's stored, so food stored in a fridge decays at half the normal rate or something like that. At the moment, all items in storage decay at the same rate (your steps still count for stored items, I mean).

The variable aspect would be to advance all item progress bars at the same time, for when the player does something that advances time without the use of the timer (mentioned above), ex. by sleeping. Maybe there could be multiple variables, like. Items in inventory, items stored in a fridge, items stored in a freezer; that way I can advance the variables separately so items in proper storage decay differently. I'd probably need to make notetags for which items can be stored where, and figure out how to get the script to tell whether an item is stored in a specific location... bleh. This just gets more and more complicated huh :p

I'm not super script savvy, most of what I can do is purely aesthetic, and I can't figure out how to do the frame+variable thing AT ALL, even when referencing from scripts that already have a feature like that. I can MAYBE figure out how to get the storage thing to work by myself (I haven't tried, considering it would probably be a waste of time while the script still uses step counts) so if it sounds like I'm asking for way too much all at once then uh. Ignore all that storage nonsense, and just focus on the frame/timer/variable request.

Latest Threads

Latest Posts

Latest Profile Posts

Been playing through Skies of Arcadia again, and it really makes me wanna see someone try to implement how ship battles were done in the game into RPG Maker (or really just in general).
split view of both versions of the pocket city you traverse through. there's differences like areas only being accessible in one version of Autumn Bay. or events that only happen in one or the other.
theortically if there were a developer who spied on people's game playthroughs and changed things in real time to make it harder for them, what might be said game developer's motivation?
Hi everyone! Enjoying this nice long weekend. How are you all doing? :)
I just successfully tested having events check if specific actors are in a particular party slot and then changing image to match. This will let me make scenes take into account who is in the party at the time and arrange them accordingly - this is important since I'll have extra actors beyond current party. The script used is the same from MV and is compatible with my current core plugin setup in MZ. Thank goodness.

Forum statistics

Latest member