Версия: 1.1.3

Описание: Adds a calendar and event system.

Особенности:

  • Create holidays and events and view them in the calendar
  • When an event occurs, the specified switch is turned on
  • Ability to delete created events
  • Option to disable calendar via plugin command

Совместимость:

  • RPG Maker MV: 1.5+
  • RPG Maker MZ: 1.0+

Требования и зависимости:

  1. Наличие включенного плагина Время версии 2.3.0 или выше

Скриншоты:

спойлер

Вызовы скриптов:

спойлер
1. Enable calendar command in the menu: $gameSystem.setCalendarEnabled(true)
2. Disable calendar command in the menu: $gameSystem.setCalendarEnabled(false)
3. Check calendar command is enabled: $gameSystem.isCalendarEnabled()

$gameCalendar.addEvent(data) - Add an event to calendar. Returns a created event.
data should contain the following fields:
name - String - Event name
start - Game_Time object - Start date/time of the event
end - Game_Time object - End date/time of the event
Additional fields:
iconIndex - Number - Icon index
location - String - Event location
description - String - Event description
switch - Number - Switch that turns on when an event occurs
Example:
$gameCalendar.addEvent({
 name: "Take the quest",
 iconIndex: 193,
 start: $gameTime.clone(),
 end: $gameTime.clone().addDay(1),
 description: "You must take the quest from the character \\i[4]Headman",
 location: "\\i[191]Headman's house"
})

$gameCalendar.getById(id) - Returns event with a specific id (or null).
$gameCalendar.removeById(id) - Removes event with a specific id.
$gameCalendar.getEvents(gameTime) - Returns an array with events (includes holidays) on the specified date.
$gameCalendar.getHolidays(gameTime) - Returns an array with holidays on the specified date.
$gameCalendar.isHoliday() - Returns true if today is a holiday.

Список изменений:

спойлер

Версия 1.1.3:

  • Fixed bug with adding one-time holidays.

Версия 1.1.2:

  • Added the ability to hide holidays from the calendar.

Версия 1.1.1:

  • Fixed bug with monthly holidays.

Версия 1.1.0:

  • Added a button and sound setting for opening the calendar on the game map.
  • The add-on requires the latest version of the Game Time plugin 2.3.0.

Языки справки: Английский, Русский

Правила использования

Как получить коммерческую лицензию

Загрузки:

Плагин:

DK_Game_Time_Calendar.js (62,9 KB)
(Last update: 12 Август 2022 10:03)