Documentation
Quick InfoVersion: Alpha R4
Made for RPG Maker MZ 1.9.0
The BasicsThe text that shows up everywhere supports text codes. This includes areas such as available/collected/future text options and the reward's title.
The parameter Pre Item has special text codes available. If typing %icon, it will be replaced with the icon index belonging to the item.
IntegrationsThis plugin has special functionality available if also using:
[CGMZ] Toast Manager
Option to show toast window when receiving daily reward. If using toast window, you can use special text codes in the Text 2 parameter. Special text code "%rewards" will be replaced with the rewards collected.
Plugin CommandsThis plugin supports the following plugin commands:
Call Scene - Call the daily reward scene
Collect Reward - Attempt to collect the daily reward
Can Collect Reward? - Check if the player has a daily reward they can collect
Saved GamesThis plugin is fully compatible with saved games. This means you can:
✓ Add this plugin to a saved game and it will work as expected.
✓ Change any plugin params and changes will be reflected in saved games.
✓ Remove the plugin with no issue to save data.
Filename
The filename for this plugin MUST remain CGMZ_DailyRewards.js. This is what it comes as when downloaded. The filename is used to load parameters and execute plugin commands. If you change it, things will begin behaving incorrectly and your game will probably crash. Please do not rename the js file.
Known Issues
This plugin currently has no known issues that need to be fixed. If you believe you have encountered a bug, please report it to Casper Gaming.
Compatibility
This plugin currently has no known compatibility issues with other RMMZ plugins. If you believe you have encountered a conflict, please report it to Casper Gaming.
Version HistoryVersion AlphaR2
- Added option to change windowskin
- Added option to change window padding
- Added option to change window back opacity
- Added option to change window tone
- Added option to change reward box padding
- Scene Background image now supports any image folder
- Color params now use built in color select ui
- Standardized Toast parameter
- Warn instead of crash on detection of invalid json parameters
- Convert cgmzTemp function calls to CGMZ_Utils function calls
- Added option to set a specific reset time
- Added option to automatically attempt reward collection on load
- Added [CGMZ] Scene Background integration
- Added [CGMZ] Controls Window integration
- Added window with time to next reward countdown with supporting options
- Fix bug with window not changing if reward becomes available in scene