An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

NUUN Skill Tree - NUUN_SkillTree.js

Plugin desc : Skill Tree

License : MIT License

Author : NUUN

Website : https://github.com/nuun888/MZ/blob/master/NUUN_SkillTree.js

Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/NUUN_SkillTree.js

File name : NUUN_SkillTree.js

Help of plugin :

* @target MZ
 * @plugindesc Skill Tree
 * @author NUUN
 * @base NUUN_Base
 * @orderAfter NUUN_Base
 * @version 1.2.6
 * 
 * @help
 * Implement a tree-type skill learning system.
 * 
 * This plugin requires the following plugins.
 * NUUN_Base
 * https://github.com/nuun888/MZ/blob/master/README/Base.md
 * 
 * Setting
 * Set the skill list in the plugin parameters "Skill tree settings". Be sure to fill in "Skill type identifier".
 * 
 * "Actor and class skill tree settings" specifies the skill types displayed by actor and class.
 * "Skill tree id dettings" specifies the list ID or "Skill type identifier" of "Skill tree settings" to set the skill tree type to be displayed.
 * You can add skill tree types using the plugin command "Added skill tree type".
 * 
 * Skill tree list settings
 * Specify skills in the skill settings of "Skill tree settings".
 * If the skill you set is not selected as a derived skill, it will automatically become the base skill.
 * The position of the skill you set will be calculated in order from the left side of the window based on the derived skills. If you set the same coordinates as an already displayed skill, 
 * it will be displayed shifted to the right.
 * 
 * (code): You can enter the color code in the text tab.
 * 
 * 
 * Actor's notes
 * <LevelupSkillPoint:[sp]> When you level up, you will gain a specified number of skill points. If nothing is entered, the settings in the plugin parameters will be applied.
 * [sp]:Skill point
 * 
 * <InitSkillPoint:[sp]> Specifies the initial skill points. If nothing is entered, the settings in the plugin parameters will be applied.
 * [sp]:Skill point
 * 
 * Item and skill notes
 * <GainSkillPoint:[sp]> Increases or decreases the specified skill points.
 * [sp]:Skill point
 * 
 * <SkillTreeReset> Resets all skill points.
 * 
 * Skill notes
 * <SKillPointCost:[cost]> Specify the skill points to be consumed. If nothing is entered, the settings in the plugin parameters will be applied.
 * [cost]:Skill point
 * 
 * <SkillTreeItemCost:[Id],[num]> Specifies the item to be consumed. If nothing is entered, the settings in the plugin parameters will be applied.
 * [id]:Item id
 * [num]:Consumption number
 * 
 * <SkillTreeItemWeapon:[Id],[num]> Specifies the weapon to be consumed. If nothing is entered, the settings in the plugin parameters will be applied.
 * [id]:Weapon id
 * [num]:Consumption number
 * 
 * <SkillTreeArmorCost:[Id],[num]> Specify the armor to be consumed. If nothing is entered, the settings in the plugin parameters will be applied.
 * [id]:Armor id
 * [num]:Consumption number
 * 
 * <SkillTreeGoldCost:[cost]> Specify the amount of gold to be consumed. If nothing is entered, the settings in the plugin parameters will be applied.
 * [cost]:Gold Consumption
 * 
 * <SkillTreeVariablesCost:[Id],[num]> Specify the game variables to be consumed. If nothing is entered, the settings in the plugin parameters will be applied.
 * [id]:Game Variable ID
 * [num]:Consumption number
 * 
 * <SKillTreeImageImdex:[index]> Specify the index number of the sprite sheet. If nothing is entered, the settings in the plugin parameters will be applied.
 * [index]:Index id
 * 
 * Item, Weapon, and Armor Notes
 * <SkillTreeCostNoReturn> Items will not be refunded upon reset.
 * 
 * Enemy Notes
 * <DropSkillPoint:[sp], [rate]> Drop skill points.
 * [sp]:Skill point
 * [rate]:Probability
 * 
 * Terms of Use
 * This plugin is distributed under the MIT license.
 * 
 * Log
 * 9/10/2025 Ver.1.2.6
 * Fixed an issue where the cost display of weapons and armor was not displaying the correct number of items.
 * 9/8/2025 Ver.1.2.5
 * Fixed an issue where an error would occur when deleting a skill if cost refunds were enabled.
 * Fixed an issue where costs for items, weapons, and armor were not being paid.
 * 9/7/2025 Ver.1.2.4
 * Fixed an issue where the skill name in the skill cost window would display the name of a secret skill.
 * Fixed to prevent numerical text from displaying for items set to Secret.
 * Fixed an issue where an error would occur when opening the Skill Tree when the confirmation window was set to show.
 * 9/6/2025 Ver.1.2.3
 * Fixed an issue where the frame border would still appear even when disabled.
 * 9/6/2025 Ver.1.2.2
 * Fixed an issue whereby "learned" is displayed if a skill has already been learned.
 * Added a function to not display the skill cost and conditions if a skill has already been learned.
 * Fixed an issue whereby the number of times a skill has been learned is counted even if the maximum number of times it can be learned is 0.
 * Added a function to display the learning confirmation window in the center.
 * 9/1/2025 Ver.1.2.1
 * Fixed the initial coordinate settings.
 * Fixed an issue where the help window was displayed shifted downwards with certain plugins.
 * Added a feature to display help at the bottom.
 * Added a feature to disable consideration of help coordinates.
 * Fixed an issue where skill ID could not be referenced by skillId.
 * 8/31/2025 Ver.1.2.0
 * Added a feature to specify the inner width.
 * Added a feature to set arbitrary numeric text for skill items in the skill tree window.
 * Fixed an issue where items specified in columns were displayed misaligned.
 * 8/30/2025 Ver.1.1.2
 * Fixed the learning target for skill learning plugin commands to the currently applied skill tree type.
 * Added the ability to ignore prerequisite skills and specify the number of times a skill can be learned to skill learning plugin commands.
 * Added the ability to delete skills to the plugin commands.
 * 8/28/2025 Ver.1.1.1
 * Added the ability to specify the frame color of skills that can be relearned.
 * Added the ability to set learning condition text to cost conditions.
 * 8/26/2025 Ver.1.1.0
 * Skill learning cost refunds now apply to items, weapons, armor, amounts, and variables.
 * Added a setting to not refund skill learning costs when clearing or resetting the skill tree.
 * Added a plugin command to determine if a skill has been learned in the skill tree.
 * Updated to support the Extended Skill Learning plugin.
 * 8/25/2025 Ver.1.0.6
 * Fixed an issue where an error would occur when increasing or decreasing skill points if the initial skill points were set from the actor or job.
 * 8/24/2025 Ver.1.0.5
 * Individual settings for initial skill points and skill points gained upon leveling up now also apply to jobs.
 * Fixed an issue where some other starting skills would not be displayed if a starting skill without a column specification was set.
 * Added a function to force the X coordinate to be displayed at a specified position.
 * 8/23/2025 Ver.1.0.4
 * Changed the processing specifications after skill acquisition. (Save files are not compatible with all versions.)
 * Fixed an issue where skill learning via plugin commands could be executed more than the maximum number of times allowed.
 * If the skill it is derived from has not been acquired, the line color will now be displayed in the color that indicates the acquisition conditions have not been met.
 * 8/18/2025 Ver.1.0.3
 * Added a feature to display skill costs even when they are 0.
 * Fixed to display SP gained when leveling up.
 * Fixed an issue where an error would occur when increasing or decreasing skill points after installation.
 * Fixed an issue where an error would occur at the end of battle.
 * 8/17/2025 Ver.1.0.2
 * Fixed an issue that caused an error to occur when trying to learn a skill in the skill tree with loaded data.
 * Fixed so that costs can be set using an evaluation formula.
 * Fixed an issue that caused skill items to become translucent even when the conditions for learning were met.
 * 8/15/2025 Ver.1.0.1
 * Updates regarding "Skill Tree Status Screen Customization".
 * 8/14/2025 Ver.1.0.0
 * First edition.
 * 
 * 
 * @command ShowSkillTreeWindow
 * @desc Displays the skill tree window.
 * @text Skill tree window display
 * 
 * @command GainSkillPoint
 * @desc Causes the target actor to gain a skill point.
 * @text Skill point acquisition
 * 
 * @arg ActorId
 * @text Actor id
 * @desc Specifies the actor ID.
 * @type actor
 * @min 0
 * @default 0
 * 
 * @arg GainSp
 * @text Skill points acquired
 * @desc Specifies the skill points to be acquired.
 * @type number
 * @min 0
 * @default 0
 * 
 * @command SkillTreeReset
 * @desc Resets the skill tree.
 * @text Skill Tree Reset
 * 
 * @arg ActorId
 * @text Actor id
 * @desc Specifies the actor ID.
 * @type actor
 * @min 0
 * @default 0
 * 
 * @arg SkillTreeId
 * @text Skill tree setting ID
 * @desc Specify the list ID or "Skill type identifier" of "Skill tree settings".
 * @type string
 * @default 0
 * 
 * @arg ReturnSkillTreeCost
 * @desc Skill costs are not refunded. (Costs that are not eligible for refund will not be refunded.)
 * @text No skill cost refund
 * @type boolean
 * @default false
 * 
 * 
 * @command SkillTreeLearnSkill
 * @desc You can learn a skill. If you do not meet the learning conditions, you will not be able to learn the skill.
 * @text Skills Learning
 * 
 * @arg ActorId
 * @text Actor id
 * @desc Specifies the actor ID.
 * @type actor
 * @min 0
 * @default 0
 * 
 * @arg SkillId
 * @text Skill id
 * @desc Specify the skill ID.
 * @type skill
 * @min 0
 * @default 0
 * 
 * @arg Count
 * @text Skill learning count
 * @desc Specifies the number of times to learn the specified skill. 0 is the maximum number of times
 * @type number
 * @min 0
 * @default 1
 * 
 * @arg Forced
 * @text Ignore prerequisite skills
 * @desc Learn without regard for prerequisite skills.
 * @type boolean
 * @default false
 * 
 * 
 * @command SkillTreeRemoveSkill
 * @desc Removes a learned skill from the skill tree.
 * @text Skill remove
 * 
 * @arg ActorId
 * @text Actor id
 * @desc Specifies the actor ID.
 * @type actor
 * @min 0
 * @default 0
 * 
 * @arg SkillId
 * @text Skill id
 * @desc Specify the skill ID.
 * @type skill
 * @min 0
 * @default 0
 * 
 * @arg ReturnSkillTreeCost
 * @desc Skill costs are not refunded. (Costs that are not eligible for refund will not be refunded.)
 * @text No skill cost refund
 * @type boolean
 * @default false
 * 
 * 
 * @command AddSkillTreeType
 * @desc Add a skill tree type.
 * @text Added skill tree type
 * 
 * @arg ActorId
 * @text Actor id
 * @desc Specifies the actor ID.
 * @type actor
 * @min 0
 * @default 0
 * 
 * @arg SkillTreeId
 * @text Skill tree setting ID
 * @desc Specify the list ID or "Skill type identifier" of "Skill tree settings".
 * @type string
 * @default 0
 * 
 * @command RemoveSkillTreeType
 * @desc Deletes skill tree types. Skill trees added via "Actor and class skill tree settings" are not included.
 * @text Skill tree type removed
 * 
 * @arg ActorId
 * @text Actor id
 * @desc Specifies the actor ID.
 * @type actor
 * @min 0
 * @default 0
 * 
 * @arg SkillTreeId
 * @text Skill tree setting ID
 * @desc Specify the list ID or "Skill type identifier" of "Skill tree settings".
 * @type string
 * @default 0
 * 
 * @arg SkillTreeReset
 * @desc Delete all skills from the corresponding skill tree.
 * @text Clear all skills
 * @type boolean
 * @default true
 * 
 * @arg ReturnSkillTreeCost
 * @desc Skill costs are not refunded. (Costs that are not eligible for refund will not be refunded.)
 * @text No skill cost refund
 * @type boolean
 * @default false
 * 
 * 
 * @command IsSkillTreeLearnedSkill
 * @desc Determines whether the specified skill has been learned in the skill tree and assigns it to the specified switch.
 * @text Skill learned switch
 * 
 * @arg ActorId
 * @text Actor id
 * @desc Specifies the actor ID.
 * @type actor
 * @min 0
 * @default 0
 * 
 * @arg SkillId
 * @text Skill id
 * @desc Specify the skill ID.
 * @type skill
 * @min 0
 * @default 0
 * 
 * @arg SwitchesId
 * @text Switch
 * @desc Specify the switch ID to be assigned.
 * @type switch
 * @default 0
 * 
 * 
 * 
 * @param SkillTreeSetting
 * @text Skill tree settings
 * @desc Set the skills in the skill tree.
 * @default 
 * @type struct<SkillTreeList>[]
 * 
 * @param SkillTreeActorSetting
 * @text Actor and class skill tree settings
 * @desc Set the skill tree to display for actors and classes.
 * @default 
 * @type struct<SkillTreeActorList>[]
 * 
 * @param BasicSetting
 * @text Basic setting
 * @default ------------------------------
 * 
 * @param ShowSkillTreeCommand
 * @desc Adds skill tree commands to the menu window.
 * @text Skill tree command displa
 * @type boolean
 * @default true
 * @parent BasicSetting
 * 
 * @param SkillTreeCommandName
 * @text Skill tree command display name
 * @desc Set the name to be displayed in the menu command.
 * @type string
 * @default "Skill Tree"
 * @parent BasicSetting
 * 
 * @param ShowCommandSkillTreeSwitch
 * @text Menu command display switch ID
 * @desc Specify the switch to display in the menu command. 
 * @type switches
 * @default 0
 * @parent BasicSetting
 * 
 * @param DisplayResultMessage
 * @text End of battle message
 * @desc Skill point acquisition message displayed at the end of battle. %1: Amount of SP acquired %2: Skill point name
 * @type string
 * @default %1¥%2 found!
 * @parent BasicSetting
 * 
 * @param SkillTreeTextSetting
 * @text Skill tree display skill settings
 * @default ------------------------------
 * 
 * @param SkillTreeTextType
 * @text Skill name display type
 * @desc Specifies the skill name display type.
 * @type select
 * @option Icon
 * @value "icon"
 * @option Icon & Skill
 * @value "default"
 * @option Skill
 * @value "name"
 * @default "default"
 * @parent SkillTreeTextSetting
 * 
 * @param SkillTreeSecretText
 * @text Secret text
 * @desc Set the text to be displayed as secret text.
 * @type string
 * @default ????
 * @parent SkillTreeTextSetting
 * 
 * @param SecretIcon
 * @text Secret Icon
 * @desc Specify the icon index when secret. (Text type is icon.)
 * @type icon
 * @default 0
 * @min 0
 * @parent SkillTreeTextSetting
 * 
 * @param SkillTreeNumText
 * @text Numeric text
 * @desc Sets the numeric text.(Javascript)
 * @type combo
 * @option 'count +"/"+ maxCount'
 * @default 
 * @parent SkillTreeTextSetting
 * 
 * @param SkillTreeTextWidth
 * @text Numeric character length
 * @desc Set the character length of the numeric text. Example: 3 digits with 3 zeros (000).
 * @type string
 * @default 000
 * @parent SkillTreeTextSetting
 * 
 * @param SkillPointSetting
 * @text Skill point settings
 * @default ------------------------------
 * 
 * @param SkillPointName
 * @text Skill point display name
 * @desc The display name of the skill point.
 * @type string
 * @default SP
 * @parent SkillPointSetting
 * 
 * @param DefaultInitSkillPoint
 * @text Default starting skill points
 * @desc Default starting skill points.
 * @type number
 * @default 0
 * @parent SkillPointSetting
 * 
 * @param MaxSkillPoint
 * @text Maximum skill points
 * @desc Maximum skill points.
 * @type number
 * @default Infinity
 * @parent SkillPointSetting
 * 
 * @param DefaultSkillPointCost
 * @text Default skill point cost
 * @desc Default skill point cost.
 * @type number
 * @default 0
 * @parent SkillPointSetting
 * 
 * @param LevelupGainSkillPoint
 * @text Skill points acquired when leveling up
 * @desc Skill points gained when leveling up.
 * @type number
 * @default 1
 * @parent SkillPointSetting
 * 
 * @param DisplayLevelUpMessage
 * @text Level-up skill point acquisition message
 * @desc Skill point acquisition message displayed when leveling up. %1: Actor name %2: Amount of SP acquired %3: Skill point name
 * @type string
 * @default %1 received %2 %3!
 * @parent SkillPointSetting
 * 
 * @param BenchMembarsGainSkillPoint
 * @desc Bench members will also earn skill points when they win battles.
 * @text Bench Member Skill Point Acquisition
 * @type boolean
 * @default false
 * @parent SkillPointSetting
 * 
 * @param ClassSetting
 * @text Class setting
 * @default ------------------------------
 * 
 * @param SkillTreeClass
 * @desc Shows the skill tree of the current class. OFF shows all.
 * @text Current class skill tree display
 * @type boolean
 * @default true
 * @parent ClassSetting
 * 
 * @param ChangeClassResetSkillTree
 * @desc When changing classes, all skills of the previous class will be reset.
 * @text Skill reset when changing class
 * @type boolean
 * @default true
 * @parent ClassSetting
 * 
 * @param WindowSetting
 * @text Window setting
 * @default ------------------------------
 * 
 * @param SkillTypeSetting
 * @text Skill tree type window settings
 * @default ------------------------------
 * @parent WindowSetting
 * 
 * @param SkillTypeWindow
 * @text Skill tree type window settings
 * @desc Configure the Skill Tree Type window.
 * @default {"WindowX":"0","WindowY":"230","WindowWidth":"240"}
 * @type struct<CommandWindowSetting>
 * @parent SkillTypeSetting
 * 
 * @param SkillTypeWindowTransparent
 * @desc Makes the skill tree type window image transparent.
 * @text Skill tree type window transparency
 * @type boolean
 * @default false
 * @parent SkillTypeSetting
 * 
 * @param SkillTypeCols
 * @text Number of skill tree type columns
 * @desc Number of columns in skill tree type.
 * @type number
 * @default 1
 * @min 1
 * @parent SkillTypeSetting
 * 
 * @param SkillTypeRows
 * @text Skill Tree Type Number of Lines
 * @desc Number of lines in skill tree type.
 * @type number
 * @default 3
 * @min 1
 * @parent SkillTypeSetting
 * 
 * @param SkillTreeWindowSetting
 * @text Skill tree window settings
 * @default ------------------------------
 * @parent WindowSetting
 * 
 * @param SkillTreeWindow
 * @text Skill tree window settings
 * @desc Configure the Skill Tree window.
 * @default {"WindowX":"240","WindowY":"0","WindowWidth":"576","WindowHeight":"0"}
 * @type struct<WindowSetting>
 * @parent SkillTreeWindowSetting
 * 
 * @param SkillTreeWindowTransparent
 * @desc Makes the skill tree window image transparent.
 * @text Skill tree window transparency
 * @type boolean
 * @default false
 * @parent SkillTreeWindowSetting
 * 
 * @param SkillTreeCols
 * @text Skill tree columns
 * @desc Number of columns in the skill tree.
 * @type number
 * @default 4
 * @min 1
 * @parent SkillTreeWindowSetting
 * 
 * @param InnerWidth
 * @text Window inner width
 * @desc Specifies the width of the window. Scrolls to a width equal to or greater than the window width. 0 is the original inner width
 * @type number
 * @default 0
 * @min 0
 * @parent SkillTreeWindowSetting
 * 
 * @param SkillTreeCostSetting
 * @text Skill tree cost window settings
 * @default ------------------------------
 * @parent WindowSetting
 * 
 * @param SkillTreeCostWindow
 * @text Skill tree cost window settings
 * @desc Configure the skill cost window settings.
 * @default {"WindowX":"0","WindowY":"288","WindowWidth":"240","WindowHeight":"0"}
 * @type struct<WindowSetting>
 * @parent SkillTreeCostSetting
 * 
 * @param CostWindowTransparent
 * @desc Makes the skill tree cost window image transparent.
 * @text Skill Tree Cost Window Transparency
 * @type boolean
 * @default false
 * @parent SkillTreeCostSetting
 * 
 * @param CostWindowCols
 * @text Skill Tree Cost Window Column Count
 * @desc Number of columns in the Skill Tree Cost window
 * @type number
 * @default 1
 * @min 1
 * @parent SkillTreeCostSetting
 * 
 * @param SkillCostName
 * @text Skill cost display name
 * @desc The display name for the skill cost. %1:Skill name
 * @type string
 * @default "Learning Cost"
 * @parent SkillTreeCostSetting
 * 
 * @param LearnedName
 * @text Learned names
 * @desc Learned display name.
 * @type string
 * @default 習得済み
 * @parent SkillTreeCostSetting
 * 
 * @param SkillCostIcon
 * @text Skill point consumption icon
 * @desc Specifies the icon for the text that consumes skill points.
 * @type icon
 * @default 0
 * @min 0
 * @parent SkillTreeCostSetting
 * 
 * @param SkillCosTColor
 * @text Cost color (code)
 * @desc Specifies the color of the skill cost.
 * @type color
 * @default 17
 * @min 0
 * @parent SkillTreeCostSetting
 * 
 * @param GoldCostIcon
 * @text Gold consumption icon
 * @desc Specify the icon for text that consumes gold.
 * @type icon
 * @default 0
 * @min 0
 * @parent SkillTreeCostSetting
 * 
 * @param VarCostIcon
 * @text Game variable consumption icon
 * @desc Specifies the icon for the text that consumes the game variable.
 * @type icon
 * @default 0
 * @min 0
 * @parent SkillTreeCostSetting
 * 
 * @param SkillCostType
 * @text Skill cost display type
 * @desc Sets the display type of skill costs.
 * @type select
 * @option Cost
 * @value type1
 * @option Cost[Skill points]
 * @value type2
 * @option Cost (Skill points)
 * @value type3
 * @option Cost/Skill Points
 * @value type4
 * @default type3
 * @parent SkillTreeCostSetting
 * 
 * @param VisibleLearnedSkillCost
 * @desc If a skill has been fully mastered or mastered multiple times, the cost will not be displayed.
 * @text No learned cost displayed
 * @type boolean
 * @default false
 * @parent SkillTreeCostSetting
 * 
 * @param VisibleSkillPointZero
 * @desc Skill points will be displayed in the cost window even if the cost is 0.
 * @text Skill point cost 0 display
 * @type boolean
 * @default false
 * @parent SkillTreeCostSetting
 * 
 * @param SkillTreeStatusSetting
 * @text Status window settings
 * @default ------------------------------
 * @parent WindowSetting
 * 
 * @param SkillTreeStatusWindow
 * @text Status window settings
 * @desc Configure the status window settings.
 * @default {"WindowX":"0","WindowY":"0","WindowWidth":"240","WindowHeight":"134"}
 * @type struct<WindowSetting>
 * @parent SkillTreeStatusSetting
 * 
 * @param StatusWindowTransparent
 * @desc Make status window images transparent.
 * @text Status window transparency
 * @type boolean
 * @default false
 * @parent SkillTreeStatusSetting
 * 
 * @param SkillTreeHelpSetting
 * @text Help window settings
 * @default ------------------------------
 * @parent WindowSetting
 * 
 * @param SkillTreeHelpWindow
 * @text Help window settings
 * @desc Configure the Help window.
 * @default {"WindowX":"0","WindowY":"0","WindowWidth":"0","WindowHeight":"0"}
 * @type struct<WindowSetting>
 * @parent SkillTreeHelpSetting
 * 
 * @param HelpBottomMode
 * @desc The help window will be displayed at the bottom.
 * @text Help window bottom display
 * @type boolean
 * @default false
 * @parent SkillTreeHelpSetting
 * 
 * @param HelpAreaInvalidated
 * @desc Disables the influence of help window coordinates on other windows.
 * @text Help window coordinate consideration disabled
 * @type boolean
 * @default false
 * @parent SkillTreeHelpSetting
 * 
 * @param HelpWindowTransparent
 * @desc Make the help window image transparent.
 * @text Help window transparency
 * @type boolean
 * @default false
 * @parent SkillTreeHelpSetting
 * 
 * @param SkillTreeConfirmationSetting
 * @text Confirmation window settings
 * @default ------------------------------
 * @parent WindowSetting
 * 
 * @param LearnConfirmation
 * @desc A confirmation window will be displayed when learning a skill.
 * @text Confirmation window displayed when acquiring skills
 * @type boolean
 * @default true
 * @parent SkillTreeConfirmationSetting
 * 
 * @param ConfirmationWindowCenter
 * @desc The confirmation window is displayed in the center.
 * @text Auto center display
 * @type boolean
 * @default true
 * @parent SkillTreeConfirmationSetting
 * 
 * @param SkillTreeConfirmationWindow
 * @text Confirmation window settings
 * @desc Configure the confirmation window settings.
 * @default {"WindowX":"204","WindowY":"120","WindowWidth":"408"}
 * @type struct<CommandWindowSetting>
 * @parent SkillTreeConfirmationSetting
 * 
 * @param ConfirmationWindowTitle
 * @text Confirmation window display name
 * @desc Specify the display name that will be displayed in the confirmation window.
 * @type string
 * @default "Checking skill learning"
 * @parent SkillTreeConfirmationSetting
 * 
 * @param ConfirmatioOkText
 * @text Confirmation window execution display name
 * @desc Specifies the display name for the run that will be displayed in the confirmation window.
 * @type string
 * @default "Execute"
 * @parent SkillTreeConfirmationSetting
 * 
 * @param ConfirmationCancleText
 * @text Confirmation window cancel display name
 * @desc Specifies the display name of the cancellation that will be displayed in the confirmation window.
 * @type string
 * @default "Not Executed"
 * @parent SkillTreeConfirmationSetting
 * 
 * @param LearnSetting
 * @text Skill learning settings
 * @default ------------------------------
 * 
 * @param LearnSESetting
 * @text Skill learning sound effects
 * @desc Sets the sound effect when learning skills.
 * @type struct<LearnSE>
 * @default {"LearnSE":"","volume":"90","pitch":"100","pan":"0"}
 * @parent LearnSetting
 * 
 * @param LearnedColor
 * @text Learned character color (code)
 * @desc Specifies the color of the learned characters. -1 is the original color
 * @type color
 * @default 0
 * @min -1
 * @parent LearnSetting
 * 
 * @param LearnedIconSetting
 * @text Learned icon settings
 * @default ------------------------------
 * @parent LearnSetting
 * 
 * @param LearnedIcon
 * @text Learned icon
 * @desc Specifies the learned icon.
 * @type icon
 * @default 0
 * @min 0
 * @parent LearnedIconSetting
 * 
 * @param LearnedIconX
 * @text Icon X coordinate (relative)
 * @desc Specifies the X coordinate of the icon (relative coordinate).
 * @type number
 * @default 0
 * @min -9999
 * @parent LearnedIconSetting
 * 
 * @param LearnedIconY
 * @text Icon Y coordinate (relative)
 * @desc Specifies the Y coordinate of the icon (relative coordinate).
 * @type number
 * @default 0
 * @min -9999
 * @parent LearnedIconSetting
 * 
 * @param LearnedIconSize
 * @text Icon Size
 * @desc Specifies the size of the icon.
 * @type number
 * @default 16
 * @min 0
 * @parent LearnedIconSetting
 * 
 * @param SkillSetting
 * @text Skill content setting
 * @default ------------------------------
 * 
 * @param SkillFrameType
 * @text Skill content display type
 * @desc Sets the display type of the skill content.
 * @type select
 * @option Default
 * @value default
 * @option With frame (with content background)
 * @value frameBack
 * @option With frame (no content background)
 * @value frame
 * @option Images (sprite sheets)
 * @value spritesheet
 * @default default
 * @parent SkillSetting
 * 
 * @param ColsMargin
 * @text Horizontal spacing per item
 * @desc Horizontal spacing per item.
 * @type number
 * @default 12
 * @parent SkillSetting
 * 
 * @param RowsMargin
 * @text Vertical spacing per item
 * @desc Vertical spacing per item.
 * @type number
 * @default 24
 * @parent SkillSetting
 * 
 * 
 * @param LineSetting
 * @text Line setting
 * @default ------------------------------
 * 
 * @param LineType
 * @text Line Type
 * @desc Specifies the line type.
 * @type select
 * @option Straight
 * @value straight
 * @option Type1
 * @value type1
 * @option Type1
 * @value type2
 * @option None
 * @value none
 * @default type1
 * @parent LineSetting
 * 
 * @param LineThick
 * @text Line thickness
 * @desc Specify the thickness of the line.
 * @type number
 * @default 2
 * @min 0
 * @parent LineSetting
 * 
 * @param NormalLineColor
 * @text Color of the line when the learning condition is not met (code)
 * @desc Specify the color of the lines that do not meet the learning conditions.
 * @type color
 * @default 15
 * @min 0
 * @parent FrameSetting
 * 
 * @param LearnedLineColor
 * @text Color of learned lines (code)
 * @desc Specify the color of the lines you have learned.
 * @type color
 * @default 17
 * @min 0
 * @parent LineSetting
 * 
 * @param UnlearnedLineColor
 * @text Unlearned line color (code)
 * @desc Specify the color of the line for the unskilled items that meet the mastery conditions.
 * @type color
 * @default 0
 * @min 0
 * @parent LineSetting
 * 
 * @param SkillCountSetting
 * @text Skill count settings
 * @default ------------------------------
 * 
 * @param ShowSkillCountFrame
 * @desc Skills A skill acquisition count frame is displayed for skills that can be acquired multiple times.
 * @text Learning count frame
 * @type boolean
 * @default true
 * @parent SkillCountSetting
 * 
 * @param SkillCountFrameColor
 * @text Learning count frame color (code)
 * @desc Specify the color of the learning count frame.
 * @type color
 * @default 17
 * @min 0
 * @parent SkillCountSetting
 * 
 * @param SkillCountFontColor
 * @text Learning count text color (code)
 * @desc Specify the text color for the learning count.
 * @type color
 * @default 17
 * @min 0
 * @parent SkillCountSetting
 * 
 * @param SkillCountFrameX
 * @text X coordinate of the learning count frame (relative)
 * @desc Adjusts the X coordinate (relative) of the learning count frame.
 * @type number
 * @default 0
 * @parent SkillCountSetting
 * 
 * @param SkillCountFrameY
 * @text Y coordinate of the learning count frame (relative)
 * @desc Adjusts the Y coordinate (relative) of the learning count frame.
 * @type number
 * @default 0
 * @parent SkillCountSetting
 * 
 * @param FrameSetting
 * @text Frame settings
 * @default ------------------------------
 * 
 * @param FrameThick
 * @text Frame border thickness.
 * @desc Specifies the thickness of the frame border.
 * @type number
 * @default 3
 * @min 0
 * @parent FrameSetting
 * 
 * @param FrameWidth
 * @text Frame width
 * @desc Specifies the width of the frame. 0 is the content width.
 * @type number
 * @default 0
 * @min 0
 * @parent FrameSetting
 * 
 * @param FrameX
 * @text Frame X coordinate (relative)
 * @desc Adjust the frame's X coordinate (relative).
 * @type number
 * @default 0
 * @parent FrameSetting
 * 
 * @param NormalFrameColor
 * @text Color of frame when learning conditions are not met (code)
 * @desc Specify the border color for items that do not meet the learning requirements.
 * @type color
 * @default 15
 * @min 0
 * @parent FrameSetting
 * 
 * @param LearnedFrameColor
 * @text Learned frame color (code)
 * @desc Specify the color of the learned frame.
 * @type color
 * @default 17
 * @min 0
 * @parent FrameSetting
 * 
 * @param UnlearnedFrameColor
 * @text Unlearned frame color (code)
 * @desc Specifies the color of the frames for items that have not yet been mastered but meet the mastery requirements.
 * @type color
 * @default 0
 * @min 0
 * @parent FrameSetting
 * 
 * @param CountFrameColor
 * @text Relearnable frame color (code)
 * @desc Specifies the color of the skill slot that can be relearned.
 * @type color
 * @default 23
 * @min 0
 * @parent FrameSetting
 * 
 * @param ImagsSetting
 * @text Image Settings
 * @default ------------------------------
 * 
 * @param ContentsBackImage
 * @text Content background image
 * @desc Content background sprite sheet image
 * @type file
 * @dir img/
 * @default
 * @parent ImagsSetting
 * 
 * @param FocusImageIndex
 * @text Focused Index
 * @desc Specifies the index of the sprite sheet image when focused.
 * @type number
 * @default 0
 * @parent ImagsSetting
 * 
 * @param HideFocusCursor
 * @desc Hides the cursor when in focus.
 * @text Hide cursor when focused
 * @type boolean
 * @default true
 * @parent ImagsSetting
 * 
 * @param ContentsBackImageCols
 * @text Number of horizontal divisions in sprite sheet
 * @desc Specifies the number of horizontal divisions in the sprite sheet.
 * @type number
 * @default 4
 * @min 1
 * @parent ImagsSetting
 * 
 * @param ContentsBackImageRows
 * @text Number of vertical divisions in sprite sheet
 * @desc Specifies the number of vertical divisions in the sprite sheet.
 * @type number
 * @default 2
 * @min 1
 * @parent ImagsSetting
 * 
 * @param BackgroundSetting
 * @text Background image
 * @default ------------------------------
 * 
 * @param BackgroundImage
 * @text Background image
 * @desc Specify the background image.
 * @type file
 * @dir img/
 * @default
 * @parent BackgroundSetting
 * 
 * @param BackUiWidth
 * @text Background image window UI size
 * @desc Fit the background image to the window UI size.
 * @type boolean
 * @default true
 * @parent BackgroundSetting
 *

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.