Moghunter Time System Help

mrdankles

Veteran
Veteran
Joined
Jun 15, 2016
Messages
56
Reaction score
4
First Language
English
Primarily Uses
I really dont know much on JS and kinda having an issue this one plugin giving me trouble and would think it would be simple. Im using Moghunter Time for my day/night/month/year/season...ect cycle. I cant seem to find out how to change this cycle. The sunset in the script is set to 3pm, I want to change that and all the other times when the screen auto tints to reflect it. If anyone could tell me WHERE to look in this script to actually edit it would be awesome and greatly appreciated. I have included a copy of the script. Thanks

View attachment MOG_TimeSystem.js
 

mrcopra

Veteran
Veteran
Joined
Jul 21, 2015
Messages
452
Reaction score
158
First Language
Not English
Primarily Uses
N/A
in line 1209 to 1216


//==============================
// * Set Day Phase
//==============================
Game_System.prototype.set_day_phase = function() {
    if (this.hour() >= 21 || this.hour() < 3) {this._time_data[1] = 3} // Night
    else if (this.hour() >= 18) {this._time_data[1] = 2} //Dusk
    else if (this.hour() >= 15) {this._time_data[1] = 0} // Sunset
    else if (this.hour() >= 9) {this._time_data[1] = 1} // Normal
    else if (this.hour() >= 6) {this._time_data[1] = 5} // Sunrise
    else if (this.hour() >= 3) {this._time_data[1] = 4} // Dawn
};
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,868
Messages
1,017,066
Members
137,576
Latest member
SadaSoda
Top