Real Time System (Irina)

From Yanfly.moe Wiki
Jump to navigation Jump to search

Welcome to the wiki! This is where you can find resources from Yanfly.moe, Ækashics.moe,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.



Download

System

This is a plugin created for RPG Maker MV.

For help on how to install plugins, click here.

For help on how to update plugins, click here.

Got errors with your RPG Maker MV plugin? Click here.


Masterarbeit Writer

Atelier Irina

IrinaAvatar.png

This is a plugin created by Atelier Irina.

You can also follow Atelier Irina on itch.io.

RPG Maker Version

This plugin is made for and tested on RPG Maker MV with version 1.6.2. I cannot guarantee if it works on lower versions. Some of the plugin parameters require the later updates of RPG Maker MV for you to be able to use their entries so please update RPG Maker MV to the latest version if you want the best experience in using this plugin.

Terms of Use

You are only allowed to use the plugins made by Atelier Irina if you agree to all of the following:

  1. These plugins may be used in free or commercial games.
  2. 'RPG Maker Irina' must be given credit in your games.
  3. You are allowed to edit the code.
  4. Do NOT change the filename, parameters, and information of the plugin.
  5. You are NOT allowed to redistribute these Plugins.
  6. You may NOT take code for your own released Plugins.

Introduction =

This plugin adds a real time system to your game. Assigned variables will automatically update based on values detected from the game client's NodeJS Date function. This effectively gives you the ability to create events that trigger off real time changes as long as you set up the variables and switches to do so.


Setup Instructions


  1. Open up the Plugin Parameters.
  2. Assign all the Switch and Variable parameters to switches and variables.
  3. Set up the tint values for each hour.
  4. For maps you want there to be tinting on, insert <Real Time Tint> in the map's notebox.
  5. Setup vocabulary settings to meet your game's standards.


Usage Instructions

These plugin-assigned variables will be automatically updated each second as long as the "Time Freeze Switch" is not on.

Year variable will return the exact year number.

Month variable will return the number represented as the current month.

  1. January
  2. February
  3. March
  4. April
  5. May
  6. June
  7. July
  8. August
  9. September
  10. October
  11. November
  12. December

Date variable will return the exact date number.

Week Day variable will return the day of the week starting with Monday.

  1. Monday
  2. Tuesday
  3. Wednesday
  4. Thursday
  5. Friday
  6. Saturday
  7. Sunday

Hours will be based on a 24 hour timer. This means:

  • 0:00 will be 12 am.
  • 8:00 will be 8 am.
  • 12:00 will be 12 pm.
  • 13:00 will be 1 pm.
  • 18:00 will be 6 pm.
  • 23:00 will be 11 pm.

Minutes will be based on the 60 minute timer from 0 to 59.

Seconds will be based on the 60 second timer from 0 to 59.


Text Codes

ShowTextWindow.png

Text Codes are used in the Show Text event command. They are used to display things that text normally can't produce on its own, such as colors, get the name of a specific actor, change icons, and more.


These text codes can be used inside messages:

\Year
- Returns the current year.

\YearA
- Returns the current year's last two digits.

\Month
- Returns the current month's name.

\MonthID
- Returns the current month's numeric value.

\Date
- Returns the current date number.

\WeekDay
- Returns the current week day's name.

\Hour
\Hour24
- Returns the current hour (24 hour).

\Hour12
- Returns the current hour (12 hour).

\Minute
- Returns the current minute. This number will be padded if under 10.

\Second
- Returns the current second. This number will be padded if under 10.

\Meridiem
- Returns 'AM' or 'PM' depending on the current time.


Plugin Parameters

Switches:

Time Freeze Switch:
- If this switch is on, time is frozen and will not automatically update.

Anti-Tint Switch:
- If this switch is on, ignore any day tints even on maps with
<Real Time Tint> notetag.

Variables:

Year Variable:
Month Variable:
Date Variable:
Week Day Variable:
Hour Variable:
Minute Variable:
Second Variable:
- Which variable will be designated to be automatically updated with these
respective values? Leave as 0 to not use it.

Tones:
12 AM through 11 PM
- Tone used during these hours.
- Format: [red, green, blue, gray]
- Only applies to maps with <Real Time Tint> notetag.

Vocabulary:

Months:
- Set the text used for the month names.
- These are used for the text codes.

Week Days:
- Set the text used for the week day names.
- These are used for the text codes.

Time:
- Set the text used for AM and PM.
- These are used for the text codes.


Warnings

    While this plugin is based on "real time", it's actually based on

whatever time the computer is using upon opening the game client. Changing the computer's time while the game is active will not change the time, until the game client has been closed down and restarted.


Changelog

  • Version 1.00
    • Plugin released!

Help File