I have encountered a couple of problems using the adv3lite library, one serious, one minor.
I have created a simple test-bed environment with a single character who has a wallet inside a pocket.
If I look in the wallet without first looking in the pocket, game play halts and the debugger displays a TADS Runtime Error message box that says nil object reference.
If I restart the game and look in the pocket first, then look in the wallet, the game responds correctly.
Minor problem second:
The game does not define a “me” actor. I renamed the main character “harry”. The game runs correctly, but when I build it in the Workbench, I get the following debugger warnings…
I get no such debugger warnings in a full (non-lite, a.k.a. heavy) TADS3 environment that does not have a “me” character.
Here is the Lite implementation of the game in its entirety…
IFID = ‘47ca87f1-2d0e-4b54-a776-2bc128e30927’
name = ‘TADS 3 Test Bed’
byline = ‘by Jerry Ford’
htmlByline = ‘by
version = ‘1’
authorEmail = ‘Jerry Ford email@example.com’
desc = ‘Test bed for experimenting with TADS 3 Lite.’
htmlDesc = ‘Test bed for experimenting with TADS 3 Lite.’
initialPlayerChar = harry
// harry, main character
harry: Actor ‘Harry;;man’ @streetCorner
isHim = true
globalParamName = harry
- pocket: OpenableContainer, Fixture ‘pocket;;pocket’
"Harry’s pocket. "
initiallyOpen = nil
// harry’s wallet
++ wallet: Container ‘wallet;worn leather;wallet’
"A worn leather bifold wallet. "
contentsListed = nil
‘Street Corner’ ‘street corner’
"Corner of the street. "
roomFirstDesc = "Corner of the street. There is an ATM in the building’s