create_armor
Create a new armor in RPG Maker MZ's Armors.json. Only a name is required; optional fields configure stats, equip slot, traits, and more. Auto-assigns the next unused armor ID.
Instructions
Create a new armor in data/Armors.json. Only name is required; omitted fields use the editor's new-armor defaults (Shield equip slot, no stat bonuses). params is a flat 8-length stat bonus; etypeId is the equip slot (System.json equipTypes: 2 Shield, 3 Head, 4 Body, 5 Accessory). Allocates and returns the next unused armor id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Armor name | |
| note | No | Note field | |
| price | No | Buy price | |
| dryRun | No | Preview only: return a diff of what would change without writing to disk. | |
| params | No | 8 flat stat bonuses [maxHP, maxMP, atk, def, mat, mdf, agi, luk] | |
| traits | No | Trait objects { code, dataId, value } | |
| atypeId | No | Armor type id (System.json armorTypes) | |
| etypeId | No | Equip slot (equipTypes: 2 Shield, 3 Head, 4 Body, 5 Accessory) | |
| iconIndex | No | Icon index (IconSet.png) | |
| description | No | In-game description text |