//============================================================================= // NRP_WeatherEX.js //============================================================================= /*: * @target MV MZ * @plugindesc v1.02 Extend the weather function. * @author Takeshi Sunagawa (http://newrpg.seesaa.net/) * @url http://newrpg.seesaa.net/article/481701865.html * * @help Extend the weather function. * You can specify powers that would normally be impossible, * or create your original weather. * * ------------------------------------------------------------------- * [Features] * ------------------------------------------------------------------- * - Change weather power, direction, speed, color, etc. freely. * - Causes the specified image to fall. * - Enable weather even in battle. * * ------------------------------------------------------------------- * [Usage] * ------------------------------------------------------------------- * You can adjust the behavior of the existing weather * by adjusting the plugin parameters. * * Using the plugin command, it is possible * to call up existing weather (rain, storm, snow) * with different settings than usual. * * You can also create your original weather * by making detailed settings in the "TemplateList". * The created weather can be called up with plugin commands. * * ------------------------------------------------------------------- * [Plugin Commando (MZ)] * ------------------------------------------------------------------- * > ChangeWeather * Change the weather. * The settings can be recalled by specifying the "TemplateId". * * Initially, the following TemplateId is available. * ・colorful: Colorful snowflakes are falling. * ・sandstorm: Sandstorm-like lines flowing horizontally. * ・earthlight: A ball of light rises upward from the ground. * * Various other settings are also available. * See the description in the plugin command for details. * It is also possible to change only some of the settings for a template. * * If you want to exit, just specify the type as "none". * You can also use the regular event command. * * ------------------------------------------------------------------- * [Plugin Commando (MV)] * ------------------------------------------------------------------- * > NRP.WeatherEX.Id [TemplateId] * The process is the same as the MZ version. * ※It is not case sensitive. Do not include > or []. * * Before specifying this command, options (see below) can be specified. * For example, the following is possible. * * NRP.WeatherEX.Power 20 * NRP.WeatherEX.Time 60 * NRP.WeatherEX.Wait true * NRP.WeatherEX.Id colorful * * ※Unlike the MZ version, * detailed settings cannot be made with plugin commands. *  The author gave up because it became too much trouble. *  So, please set it in the template. * * Also, if you don't want to call it from a template, * just specify the type ("rain", "storm", or "snow"). * * NRP.WeatherEX.Power 20 * NRP.WeatherEX.Time 60 * NRP.WeatherEX.Wait true * NRP.WeatherEX.Type rain * * ------------------------------------------------------------------- * [Terms] * ------------------------------------------------------------------- * There are no restrictions. * Modification, redistribution freedom, commercial availability, * and rights indication are also optional. * The author is not responsible, * but will deal with defects to the extent possible. * * @------------------------------------------------------------------ * @ Plugin Command * @------------------------------------------------------------------ * * @command ChangeWeather * @desc Create and run your original weather. * By specifying the TemplateId, you can call the template. * * @arg TemplateId * @desc The ID to call the template. * @type string * * @arg Type * @desc The type of weather. For snow, it is a circle; for other weather, it is a line. * @type select * @option none * @option rain * @option storm * @option snow * * @arg Power * @desc The power of the weather. * @type number * * @arg Duration * @desc The time it takes to change the weather. * 60 equals 1 second. * @type number * @min 1 * * @arg Wait * @desc Wait until the end of the weather change. * @type boolean * * @arg Option * @type struct