- Joined
- Oct 28, 2017
- Messages
- 17
- Reaction score
- 5
- First Language
- Indonesia
- Primarily Uses
- RMMV
As the title said, I have not figured a way to increase a variable value by 1 and only 1 in a specific in-game hour.
What I Want:
The concept is a farming game where the player can choose to not sleep and doing all-nighters as many as they want... until the debuff/passive state makes them a zombie farmer or some sort. While doing all-nighter the player will accumulate fatigue points. If they accumulate enough, at 6 AM in-game time morning a variable will be increased by one. A state then will be applied based on the value of that variable.
The Problem I Got:
The Variable's value increased too many, the player straight up become zombie farmer after one nighter.
What I Did:
I made three parallel Common Events:
1. Counting fatigue points if the player does an all-nighter.
2. Enabling a switch for 6 AM check at 5 AM.
3. Increase a variable and determine which state/passive will be applied to the player at 6 AM,
then disable the check switch. Screen capture included.
Adding and removing the plugin command still didn't give me the desired result. Moving switch-off below the "enable_time" didn't work too.
Plugins Used in This Project:
- Yanfly Core
- DKTools
- DKTools Localization
- Yanfly Auto Passive States
- Yanfly Passive Cases
- MOG Actor HUD
- MOG Time System
- MOG Time System HUD
- Ventiqu Single Actor
What I Want:
The concept is a farming game where the player can choose to not sleep and doing all-nighters as many as they want... until the debuff/passive state makes them a zombie farmer or some sort. While doing all-nighter the player will accumulate fatigue points. If they accumulate enough, at 6 AM in-game time morning a variable will be increased by one. A state then will be applied based on the value of that variable.
The Problem I Got:
The Variable's value increased too many, the player straight up become zombie farmer after one nighter.
What I Did:
I made three parallel Common Events:
1. Counting fatigue points if the player does an all-nighter.
2. Enabling a switch for 6 AM check at 5 AM.
3. Increase a variable and determine which state/passive will be applied to the player at 6 AM,
then disable the check switch. Screen capture included.
Adding and removing the plugin command still didn't give me the desired result. Moving switch-off below the "enable_time" didn't work too.
Plugins Used in This Project:
- Yanfly Core
- DKTools
- DKTools Localization
- Yanfly Auto Passive States
- Yanfly Passive Cases
- MOG Actor HUD
- MOG Time System
- MOG Time System HUD
- Ventiqu Single Actor



