Travel tables are all done from YAML now.
Leaves only Section 4 from asventure.text still relevant.
This commit is contained in:
parent
4ff3d497b6
commit
894b3de949
4 changed files with 24 additions and 83 deletions
6
init.c
6
init.c
|
@ -23,9 +23,9 @@ void initialise(void)
|
|||
|
||||
for (int i = 1; i <= NLOCATIONS; i++) {
|
||||
game.abbrev[i] = 0;
|
||||
if (!(locations[i].description.big == 0 || TKEY[i] == 0)) {
|
||||
int k = TKEY[i];
|
||||
if (MOD(labs(TRAVEL[k]), 1000) == 1)
|
||||
if (!(locations[i].description.big == 0 || tkey[i] == 0)) {
|
||||
int k = tkey[i];
|
||||
if (MOD(labs(travel[k]), 1000) == 1)
|
||||
conditions[i] |= (1 << COND_FORCED);
|
||||
}
|
||||
game.atloc[i] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue