Player doesn't have a truck -- class hierarchy wrong
player class hierarchy for Truckin
from @skaisler1 via email 10/7/24 to @masinter (lost)
OK. Here is the class hierarchy.
And, here is PP Player
where you will note there is no mention of 'truck' as an IV!
Here is the PP of InteractivePLayer
And here is the definition for Traveler:
where 'truck' is not mentioned.
The conclusion is that the source code we have circa 1991 could not have worked because TRAVELER never inherits 'truck"
PEDDLER inherits from TRAVELER HOUSEPLAYER inherits from PEDDLER.
So, later in the code I showed you we see where (SETQ player (_ (GetObjectRec obj) New)
means with obj=TRAVELER that it is not inheriting 'truck' either.
The solution is that TRAVELER should have INTERACTIVEPLAYER as its Super, not PLAYER.