set_type_name
Renames a type-name entry in an RPG Maker MZ System.json array (elements, skillTypes, weaponTypes, armorTypes, equipTypes) by category and index. Optionally preview changes with dryRun.
Instructions
Rename one entry in a System.json type-name array (elements/skillTypes/weaponTypes/armorTypes/equipTypes). Index 0 is the conventional empty slot. Returns the updated array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The new type name | |
| index | Yes | Index within the array (0 = empty slot) | |
| dryRun | No | Preview only: return a diff of what would change without writing to disk. | |
| category | Yes | Which type-name array to edit |