unit_routine
Record table of Soukoku no Arterial, records 0 to 999, 7 fields.
RTINIT map-unit routines keyed by routine id (area_unit_routines), 50 steps each; a field's column is the step.
The game builds it at boot. Record id is [unit_routine.id] in a data file, unit_routine[id] in OMS and Lua, and a field unit_routine.id.field.
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 arterial-base’s shape says.
| Field and its global | Type | Refers to | In a data file |
|---|---|---|---|
actionunit_routine_actions | int[1000][50] | — | yes: a row of 50 columns by number, 0 to 49; write action.<number> = ... |
chanceunit_routine_chances | int[1000][50] | — | yes: a row of 50 columns by number, 0 to 49; write chance.<number> = ... |
argunit_routine_args | int[1000][50] | — | yes: a row of 50 columns by number, 0 to 49; write arg.<number> = ... |
arg_2unit_routine_args_2 | int[1000][50] | — | yes: a row of 50 columns by number, 0 to 49; write arg_2.<number> = ... |
arg_3unit_routine_args_3 | int[1000][50] | — | yes: a row of 50 columns by number, 0 to 49; write arg_3.<number> = ... |
scenes_playedunit_routine_scenes_played | int[1000][150] | — | yes: a row of 150 columns by number, 0 to 149; write scenes_played.<number> = ... |
scenes_not_playedunit_routine_scenes_not_played | int[1000][150] | — | yes: a row of 150 columns by number, 0 to 149; write scenes_not_played.<number> = ... |