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.
Dark Plasma Allocate Unique Trait Data Id - DarkPlasma_AllocateUniqueTraitDataId.js
Plugin desc : Ensure a unique feature data ID
License : MIT License
Author : DarkPlasma
Website : https://github.com/munokura/DarkPlasma-MZ-Plugins/blob/main/DarkPlasma_AllocateUniqueTraitDataId.js
Desc page : https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
Download Page : https://raw.githubusercontent.com/munokura/DarkPlasma-MZ-Plugins/main/DarkPlasma_AllocateUniqueTraitDataId.js
File name : DarkPlasma_AllocateUniqueTraitDataId.js
Help of plugin :
@target MZ
@url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
@plugindesc Ensure a unique feature data ID
@author DarkPlasma
@license MIT
@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/DarkPlasma-MZ-Plugins ).
Original plugin by DarkPlasma.
Please check the latest official version at:
https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
-----
version: 1.1.0
Allocates and makes available unique trait data IDs.
This plugin does not function on its own.
Use it together with other plugins that require it.
The following information is for plugin developers.
Submit a request to the uniqueTraitDataIdCache object.
uniqueTraitDataIdCache.allocate
: (pluginName: string, traitId: number, localId: number, name: string|(() =>
string)) => UniqueTraitDataId
Allocates a unique special flag ID for the plugin.
The name can also be a function evaluated after loading the database.
UniqueSpecialFlagId.prototype.id: number
Allocates the special flag ID.
UniqueSpecialFlagId.prototype.name: string
Name of the allocated special flag ID.
If using with the following plugins, add it below them.
DarkPlasma_FilterEquip
@param startId
@text Unique ID start point
@desc Defines the unique ID start point for each feature.
@type struct<uniqueDataIds>
@default {"debuffRate":"8","param":"8","xparam":"10","sparam":"10","slotType":"2","specialFlag":"4","partyAbility":"6"}