Replace magic MINTRS/MAXTRS with a treasure attribute in YAML.
This commit is contained in:
parent
25077d0b4e
commit
c3a2816821
7 changed files with 43 additions and 107 deletions
2
advent.h
2
advent.h
|
@ -9,8 +9,6 @@
|
|||
#define NDWARVES 6 /* number of dwarves */
|
||||
#define PIRATE NDWARVES /* must be NDWARVES-1 when zero-origin */
|
||||
#define DALTLC LOC_NUGGET /* alternate dwarf location */
|
||||
#define MINTRS 50 /* index of lowest reasure */
|
||||
#define MAXTRS 79 /* index of highest reasure */
|
||||
#define MAXPARMS 25 /* Max parameters for speak() */
|
||||
#define INVLIMIT 7 /* inverntory limit (# of objects) */
|
||||
#define INTRANSITIVE -1 /* illegal object number */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue