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.
NUUN Enemy Book Encounter Check - NUUN_EnemyBookEncounterCheck.js
Plugin desc : Monster Encyclopedia Map Encounter Check
License : MIT License
Author : NUUN
Website : https://github.com/nuun888/MZ/blob/master/NUUN_EnemyBookEncounterCheck.js
Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/NUUN_EnemyBookEncounterCheck.js
File name : NUUN_EnemyBookEncounterCheck.js
Help of plugin :
* @target MZ * @plugindesc Monster Encyclopedia Map Encounter Check * @author NUUN * @base NUUN_Base * @base NUUN_EnemyBook * @orderAfter NUUN_Base * @version 1.0.2 * * @help * Get the number of monsters that are not registered in the monster encyclopedia or whose information is not registered on the current map. * Returns -1 if there are no encounters on the map. * This plug-in is an expansion plug-in for the Monster Encyclopedia (NUUN_EnemyBook). * * It is automatically determined from the enemy group of the current map. * In addition, if you want to encounter from the event command, you need to set it manually. * Enemy group designation can be set with the following tags. * * Event notes * <EncTroop:[id],[id]...> Enter the Enemy Group ID. * Multiple entries are allowed. * It is used when processing battles with event commands and encountering other than the same as random encounters. If it is the same as a random encounter, it will be automatically determined. * [id]:Troop ID * * If there is a tag "EncountEnemiesList" in the map enemy encounter list of the Monster Encyclopedia (NUUN_EnemyBook) or in the memo column of the map, that setting will be applied. * Priority is "EncountEnemiesList" > "Map Enemies Encounter List" > "Default" * * Get variable * NuunManager.getNotEncounterEnemies([mode], [commonEventID]); * [mode]: * 'Enc' Never encountered * 'Status' Nformation not registered * [commonEventID]:Common event ID. 0 if not specified * * Terms of Use * This plugin is distributed under the MIT license. * * Log * 6/2/2023 Ver.1.0.2 * Fixed some processing. * 6/2/2023 Ver.1.0.1 * Fixed application of map enemy encounter list settings for "NUUN_EnemyBook". * Fixed an issue where the second and subsequent monsters in the enemy group were not being applied. * 4/3/2023 Ver.1.0.0 * First edition. * * @command EncounterCheck * @desc Gets the total number of unencountered monsters in the current map. * @text Total number of unencountered monsters * * @arg EncounterCheckVariable * @desc Variable * @text Variable * @type variable * @default 0 * * @arg EncounterCheckCommonEvent * @desc Common event * @text Common event * @type common_event * @default 0 * * @command EncounterStatusCheck * @desc Get the total number of unregistered monsters on the current map. * @text Total number of unregistered monsters * * @arg EncounterCheckVariable * @desc Variable * @text Variable * @type variable * @default 0 * * @arg EncounterCheckCommonEvent * @desc Common event * @text Common event * @type common_event * @default 0 * *