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.
State Overlay For Character - StateOverlayForCharacter.js
Plugin desc : Allows side view state overlays to be displayed on map characters as well.
License : MIT License
Author : あわやまたな (Awaya_Matana)
Website : https://awaya3ji.seesaa.net/
Desc page : https://awaya3ji.seesaa.net/article/512016106.html
File name : StateOverlayForCharacter.js
Help of plugin :
* @target MZ
* @plugindesc Allows side view state overlays to be displayed on map characters as well.
* @author あわやまたな (Awaya_Matana)
* @url https://awaya3ji.seesaa.net/article/512016106.html
* @help Ver.1.0.0
* [Comment]
* Place a comment on the first line of the event contents and enter it in the following format:
* <stateOverlay:n> //Show overlay with index n
* <stateOverlay:8> //Show paralysis overlay
* <stateOverlay:paralysis> //Show paralysis overlay
*
* [Scripts (Movement Route)]
* this.setStateOverlay(n) //Show overlay with index n
* this.setStateOverlay(0) //Erase overlay
* this.setStateOverlay(-1) //Shows party member state overlays (player only)
* this.setStateOverlay(8) //Show paralysis overlay
* this.setStateOverlay("paralysis") //Show paralysis overlay
*
* @param useComments
* @text Use Comments
* @desc Reflects the input contents in the comment to the event.
* @default true
* @type boolean
*
* @param automate
* @text Automate
* @desc Displays an overlay that matches the state of each party member from the start.
* @default false
* @type boolean
*
* @param baseOffsetY
* @text Base Offset Y
* @desc How far to offset the overlay from the character's feet.
* @default 0
*
* @param offsetY
* @text Offset Y
* @desc How far each overlay should be offset from the character's feet.
* @default ["0","0","0","0","0","0","0","12","0","0"]
* @type string[]
*
* @param sizeRatio
* @text Size Ratio
* @desc The ratio of the overlay size to the character.
* The initial value is the ratio of SV actor to overlay.
* @default 1.5
*
* @param minScale
* @text Minimum Scale
* @desc Do not make the overlay any smaller.
* Disabled: 0
* @default 0
*
* @param nameList
* @text Name List
* @desc Set the name for each overlay.
* It can be used as an index in notes and scripts.
* @type string[]
* @default ["Poison","Blind","Silence","Rage","Confusion","Charm","Sleep","Paralysis","Curse","Fear"]
*
* @command setStateOverlay
* @text Set State Overlay
* @desc Shows the state overlay.
* @arg characterId
* @text Character ID
* @desc Player: -1 This Event: 0
* @default -1
* @arg overlay
* @text Overlay
* @desc The parameter [Name List] settings will not be reflected here, so please rewrite this plugin yourself.
* @default 0
* @type select
* @option Current State (Player Only)
* @value -1
* @option None
* @value 0
* @option Poison
* @option Blind
* @option Silence
* @option Rage
* @option Confusion
* @option Charm
* @option Sleep
* @option Paralysis
* @option Curse
* @option Fear
*