Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
NRP Terrain Info - NRP_TerrainInfo.js
Plugin desc : v1.04 Set detailed settings for battleback and encounter rates.
License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation
Author : Takeshi Sunagawa (http://newrpg.seesaa.net/)
Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_TerrainInfo.js
Desc page : http://newrpg.seesaa.net/article/481820874.html
Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_TerrainInfo.js
File name : NRP_TerrainInfo.js
Help of plugin :
Set detailed settings for battleback and encounter rates.
*
* You can change the battleback and encounter rate by using terrain tags,
* region IDs, tile IDs, and auto tile types as conditions.
* Since terrain tags are limited in number and regions
* are hard to set, auto tile type is useful.
*
* ※Please use the included NRP_DebugTile.js to check the auto tile type.
* ※Changing the battleback only available when the tileset is world type.
*
* In addition, RPG Maker MV to MZ includes
* the following hidden specifications by default.
*
* - The encounter rate in the bushes is doubled.
* - The encounter rate is halved while on a ship.
*
* In some cases, this may be a nuisance.
* It is possible to change these specifications.
*
* -------------------------------------------------------------------
* [Usage]
* -------------------------------------------------------------------
* Enter the condition, encounter rate, and battlebacks
* in the plugin parameter SettingList.
* You can set the registered Id in the note field of the tileset.
*
* <TerrainSetting:?>
*
* The ? is the Id registered in the setting list.
* You can also specify multiple settings
* by separating them with commas.
* <TerrainSetting:A,B,C>
*
* The sample is registered in the setting list from the beginning.
* The content is tailored to Maker's default fields,
* so please refer to it.
*
* -------------------------------------------------------------------
* [Detailed specifications]
* -------------------------------------------------------------------
* Tile IDs and auto tile types are determined in order from the top layer.
* Tiles on layers with no settings will be ignored.
*
* For example, if you set up the following.
*
* - Layer 1 Plains: Encounter rate is 100%.
* - Layer 2 forest: Encounter rate is 200%.
* - Layer 3 town: No setting
*
* The layer 2 forest encounter rate (200%) will be enabled.
*
* -------------------------------------------------------------------
* [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 Parameters
* @-----------------------------------------------------
*
* @param BushEncounterRate
* @type number
* @default 200
* @desc The encounter rate on the bushes, and should be set to 100. The initial value is 200.
*
* @param ShipEncounterRate
* @type number
* @default 50
* @desc The encounter rate on the ship, and should be set to 100. The initial value is 50.
*
* @param SettingList
* @type struct<Setting>[]
* @default ["{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Plain¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"16¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"100¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Forest¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"20,21¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"200¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Mountain¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"22¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"200¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Beach¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"32¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"150¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Desert¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"33¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"150¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Snow Field¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"40¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"150¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Snow Forest¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"44¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"200¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Snow Mountain¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"47¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"200¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Wasteland¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"24,25¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"150¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Wasteland Forest¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"28¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"200¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Plain Road¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"17¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"100¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Sandy Road¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"29¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"100¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Road¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"37¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"100¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Shallow Sea¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"0¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"100¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Deep Sea¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"1¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"100¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Poison Swamp¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"4¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"200¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Lava¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"35¥",¥"TileId¥":¥"¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"200¥",¥"Battleback1¥":¥"¥",¥"Battleback2¥":¥"¥"}","{¥"Id¥":¥"sample¥",¥"Memo¥":¥"Stone Bridge¥",¥"ValidAllTilesets¥":¥"false¥",¥"<Condition>¥":¥"¥",¥"TerrainTag¥":¥"¥",¥"RegionId¥":¥"¥",¥"AutotileType¥":¥"¥",¥"TileId¥":¥"24¥",¥"<Contents>¥":¥"¥",¥"EncounterRate¥":¥"¥",¥"Battleback1¥":¥"Cobblestones4¥",¥"Battleback2¥":¥"Bridge¥"}"]
* @desc This is a list of settings for the encounter rate.