Skip to content

Container Objects - AUTOT command issue #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rogeriobiondi opened this issue Jul 21, 2020 · 0 comments
Open

Container Objects - AUTOT command issue #22

rogeriobiondi opened this issue Jul 21, 2020 · 0 comments

Comments

@rogeriobiondi
Copy link

rogeriobiondi commented Jul 21, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant