Версия: 1.2.0
Описание: 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+
Требования и зависимости:
- Наличие включенного плагина Время версии 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.2.0:
- Added the ability to select the first day of the week (Monday or Sunday).
- Added an indicator showing if there are any events on that day. The color of the indicator is configured in the plugin settings.
- Fixed a bug with the non-filling of the calendar for the entire window.
- Breaking changes. The ability to hide holidays from the calendar has been temporarily removed.
- Breaking changes. The principle of the getEvents function has been changed – now only events are returned (without holidays).
- Added getAllEvents function to get all events (including holidays).
Версия 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.
Языки справки: Английский, Русский
Правила использования
Как получить коммерческую лицензию
Играть в демо онлайн
Загрузки:
Demo (MZ):
Game_Time_Demo.rar (19,0 Мб)
(Last update: 07 Апрель 2023 14:05)
Плагин:
DK_Game_Time_Calendar.js (66,6 Кб)
(Last update: 29 Апрель 2023 09:32)
Связанные Посты
Для отправки комментария необходимо войти на сайт.