SHO

From OHRRPGCE-Wiki
Jump to navigationJump to search

SHO holds definitions of general data about shops. Record length is 40 bytes (20 INTs), one per shop. The things sold are in STF.

About Formal Specs

Offset Data Meaning
0 - 15 VSTR(1i + 15i) Name
16 INT Number of shop items - 1, max 50 items
17 INT Bitsets
18 INT Inn cost
19 INT Inn plotscript

Bitsets mean:

Bit # Meaning
0 Buy
1 Sell
2 Hire
3 Inn
4 Equip
5 Save
6 Map
7 Team