Hi, this is my first post here, so apologies in advance if it's in the wrong place.
I'm currently making a SciFi Space game in RPG Maker MZ, and I want to have a rudimentary "fuel" system for the space ship. This is based on having a variable set up to equal 30% at the start of the game, and then to drop based on the number of steps the player takes. I've got the variables set up this way so far:
"Helium-3" set to 30
Then later,
"Helium-3 Loss" set to "Game Data" "steps"
"Helium-3 Loss" divided by 200
"Helium-3" subtract "Helium-3 Loss"
This does accomplish exactly what I want, and I have an event in a computer terminal where the player can check the fuel level. The problem I have is that every time the player checks the fuel level, the fuel level goes down. It's obvious to me why, but I can't figure out how to prevent it.
Has anyone tried to do something similar to this before? Is there a simpler or better way that anyone knows or can think of, including plugins?
I'm currently making a SciFi Space game in RPG Maker MZ, and I want to have a rudimentary "fuel" system for the space ship. This is based on having a variable set up to equal 30% at the start of the game, and then to drop based on the number of steps the player takes. I've got the variables set up this way so far:
"Helium-3" set to 30
Then later,
"Helium-3 Loss" set to "Game Data" "steps"
"Helium-3 Loss" divided by 200
"Helium-3" subtract "Helium-3 Loss"
This does accomplish exactly what I want, and I have an event in a computer terminal where the player can check the fuel level. The problem I have is that every time the player checks the fuel level, the fuel level goes down. It's obvious to me why, but I can't figure out how to prevent it.
Has anyone tried to do something similar to this before? Is there a simpler or better way that anyone knows or can think of, including plugins?