Skip to content

rq.CharaFields ​

The fields rq.chara.define and rq.chara.edit share.

Fields ​

NameTypeDescription
name (optional)stringThe full name.
short (optional)stringThe short name.
face (optional)integer|stringA game face CG number, or an image path inside the mod's folder (shown at 196×232, proportions kept). Default 2916. A GIF or an animated WebP moves wherever the game shows the face (2.25.0).
face_name (optional)stringThe face CG text (顔CG文字列).
portrait (optional)integer|stringA standing-picture CG number, or an image path inside the mod's folder (on a 1024×768 canvas, proportions kept). A GIF or an animated WebP moves in scenes (2.25.0).
class (optional)integer1 Fighter, 2 Guard, 3 Gunner, 4 Sorcerer, 5 Healer, 6 Ranger, 7 Brawler, 8 Civilian.
sex (optional)integerThe sex, as the game numbers it.
level (optional)integerThe level. define only.
level_max (optional)integerThe highest level. define only.
slots (optional)integerSkill rows the character can equip. The hotbar has 6 positions.
type (optional)integerThe game's type value (タイプ, rq.ids.chara_type). Also race, model, boss and any other rq.CharaState name.
init (optional)rq.CharaInitBonuses each recalculation adds.
skills (optional)rq.CharaSkillGrant []Skills learned when the character is created. define only.
weapon (optional)integer|stringAn item number or text id, created and equipped when the character is created, before on_create. An item of the wrong kind is logged and not given. Since 0.15.0.
armor (optional)integer|stringAs weapon, for the armor. Since 0.15.0.
item (optional)integer|stringAs weapon, for the held item. Since 0.15.0.
special (optional)integer|stringAs weapon, for the option slot. Since 0.15.0.