create_actor
Create a new actor in an RPG Maker MZ project, requiring only a name and automatically assigning the next unused actor ID to the data/Actors.json file.
Instructions
Create a new actor in data/Actors.json. Only name is required; omitted fields use the editor's new-actor defaults (class 1, level 1-99, five empty equip slots, no traits). Allocates and returns the next unused actor id. NOTE: an actor's physical accuracy comes from its class + own traits — a class/actor with no Hit Rate trait (xparam id 0: trait { code: 22, dataId: 0, value: 0.95 }) always misses physical actions. The built-in class 1 has one; a custom class needs it added.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| note | No | ||
| dryRun | No | Preview only: return a diff of what would change without writing to disk. | |
| equips | No | ||
| traits | No | ||
| classId | No | ||
| profile | No | ||
| faceName | No | ||
| maxLevel | No | ||
| nickname | No | ||
| faceIndex | No | ||
| battlerName | No | ||
| initialLevel | No | ||
| characterName | No | ||
| characterIndex | No |