LOOKUP.BIN
From OHRRPGCE-Wiki
LOOKUP##.BIN contains the trigger lookup table for triggers of type ## (currently there is only one type), which abstracts script id numbers so that each script recieves a permament trigger id linked to its name, while its id number is free to vary and be autoassigned.
Note: Recently the trigger system seems a bit unsatisfactory, and will be reconsidered before a second trigger type/lump is added, while drastic changes are still possible.
| Trigger type | Lump name | Meaning |
|---|---|---|
| 1 | LOOKUP1.BIN | Plotscripts |
The lumps are in binary records 40 bytes in size where record n is the data for the trigger of type ## and id n
| Offset | Data | Meaning |
|---|---|---|
| 0 | INT (1) | Script ID number, 0 if not used |
| 1-19 | FVSTR (1i+36b=38b) | Script name |
ARCHINYM.LMP . BROWSE.TXT . ATTACK.BIN . BINSIZE.BIN . DEFPAL#.BIN . DEFPASS.BIN . FIXBITS.BIN . LOOKUP.BIN . MENUS.BIN . MENUITEM.BIN . PALETTES.BIN . PLOTSCR.LST . SFXDATA.BIN . SONGDATA.BIN . UICOLORS.BIN . GEN . BAM . Map Format . T . P . E . D . L . N . DOR . DOX . DT0 . DT1 . DT6 . EFS . FOR . FNT . HSP . HSZ . ITM . MAP . MAS . MN . MXS . PAL . PT0 . PT1 . PT2 . PT3 . PT4 . PT5 . PT6 . SAY . SHO . SNG . STF . STT . TAP . TIL . TMN . VEH
