nataliapc/msx2daad

Container Objects - AUTOT command issue

rogeriobiondi opened this issue · 0 comments

Hello, Natalia.
I have in my DSF file two objects:

#define locGaveta 50 - The place 50 is the same number as object

/33 locGaveta 1 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Y AGENDA _
/50 NOTCREATED 20 Y _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Y GAVETA _

Agenda (notebook) is a regular object
Gaveta (drawer) is a container object

The agenda object is inside gaveta.

I implemented the command EXAMINE GAVETA:

EXAMINE GAVETA
PRESENT objGaveta
LISTAT locGaveta
DONE

It lists the objects inside the container object.

In the beginning of the game, the agenda object is inside the gaveta object.
I've implemented the GET and PUT inside the gaveta object.

; GET FROM

PEGUE _
TIRE _
NOUN2 GAVETA
AUTOT locGaveta
DONE

; PUT INTO

PONHA _
NOUN2 GAVETA
AUTOP locGaveta
DONE

When running the command: "TIRE AGENDA GAVETA" and it executes the AUTOT command. we receive the system message #52.

Thanks

image

I'm developing the game with the ZX Spectrum Next interpreter and seems to be fine.

The PUT function AUTOP seems to be working fine. I could put an object inside the container but cannot remove it after the first action.