the-infocom-files/journey

Maybe add <ORDER-TREE? REVERSE-DEFINED>

eriktorbjorn opened this issue · 0 comments

At some point in late 1985, it appears the behavior of ZILCH changed in how it generates the object tree. ZILF, by default, emulates the older behavior. Usually the object trees aren't identical, but the children of an object are generally ordered the same way as in the original release.

In practical terms, that means that from Ballyhoo and onwards, ZILF generates object trees that are markedly different unless you include the directive <ORDER-TREE? REVERSE-DEFINED>. It's probably a good idea to put it in the main ZIL file. before including any further ZIL code. (This is a simplification. Some games were re-released after the switch. Perhaps most noticeably, the order of the spells in your spellbook differ in some releases of the Enchanter series. But we should probably try to follow the original release in that respect.)

I do not have any example of any bug caused by this. In fact, I'm not even sure it applies to Journey. The game does build, but "infodump" prints empty strings for almost all object names. However, it seems very likely to me that the original uses the reverse defined tree order.