card
Record table of Kamidori Alchemy Meister, records 0 to 99, 14 fields.
CDINIT2 dungeon field cards keyed by card id, 85 written by it and its appends (docs/kamidori-data-tables.md, Glossary, galleries, cards). A floor's card list (CDINIT, chosen by the stage) names the cards it may deal; FIELD draws one by weight and applies all of its effects (FIELD@0x8308-0x8890).
The game builds it at boot. Record id is [card.id] in a data file, card[id] in OMS and Lua, and a field card.id.field.
The database lists it: Cards.
Fields
Each field is a global, one cell per record, named under the field. The last column is what a data file may write to it, as the base mod kamidori-base’s shape says.
| Field and its global | Type | Refers to | In a data file |
|---|---|---|---|
namecard_definition_names | string[100] | — | yes: text the save's code page (932) can encode |
result_messagecard_definition_result_messages | string[100] | — | yes: text the save's code page (932) can encode |
type_idcard_definition_type_ids | int[100] | — | yes: a whole number |
visual_asset_idcard_definition_visual_asset_ids | int[100] | — | yes: a whole number |
awarded_item_idcard_definition_awarded_item_ids | int[100] | item | yes: a whole number |
minimum_moneycard_definition_minimum_money | int[100] | — | yes: a whole number |
maximum_moneycard_definition_maximum_money | int[100] | — | yes: a whole number |
minimum_resource_recoverycard_definition_minimum_resource_recovery | int[100][3] | — | yes: a row of 3 columns by name; write minimum_resource_recovery.<column> = ... |
maximum_resource_recoverycard_definition_maximum_resource_recovery | int[100][3] | — | yes: a row of 3 columns by name; write maximum_resource_recovery.<column> = ... |
minimum_resource_damagecard_definition_minimum_resource_damage | int[100][3] | — | yes: a row of 3 columns by name; write minimum_resource_damage.<column> = ... |
maximum_resource_damagecard_definition_maximum_resource_damage | int[100][3] | — | yes: a row of 3 columns by name; write maximum_resource_damage.<column> = ... |
condition_levelscard_definition_condition_levels | int[100][30] | — | yes: a row of 30 columns by number, 0 to 29; write condition_levels.<number> = ... |
required_story_flag_idscard_definition_required_story_flag_ids | int[100][3] | — | yes: a row of 3 columns by number, 0 to 2; write required_story_flag_ids.<number> = ... |
forbidden_story_flag_idscard_definition_forbidden_story_flag_ids | int[100][3] | — | yes: a row of 3 columns by number, 0 to 2; write forbidden_story_flag_ids.<number> = ... |