Create database record
create_recordAppend a new record to an RPG Maker MV database table by supplying field data; missing fields automatically match the shape of existing records.
Instructions
Append a new record to a database. The new record's fields are copied from data; missing fields should be filled in to match the shape of existing records (fetch one with get_record as a template first). Returns the new id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The record fields (id is assigned automatically) | |
| type | Yes | Which database to access (e.g. actors, items, skills, troops, commonEvents) |