#7794 closed feature request (fixed)
AGI inventory items
Reported by: | SF/sterv | Owned by: | sev- |
---|---|---|---|
Priority: | normal | Component: | Engine: AGI |
Version: | Keywords: | ||
Cc: | Game: |
Description
Extract from AGI Studio's help:
"Inventory items are things that the player can carry around with them. Their names are stored in the OBJECT file. A game contain up to 256 objects (numbered from 0-255). Each object used by the game must be present in the OBJECT file.
Every object has a room number which is a value from 0-255. If the room number is 255, it is in the player’s inventory."
Thus inventory items, though originally meant to be used with association with Sierra's original AGI inventory, can be also utilized as flags and/or variables. Unfortunately ScummVM 1.2.05 did not recognize inventory items added to object file and/or the commands that were trying to access them. ScummVM gave following message when inventory items were attempted to manipulate via inventory item commands.
Error: Can't access object inventory-item-number-here.
It would be vital that correct this since 256 additional variables/2048 flags is welcome addition to any AGI-game developer. I would like to request that at least following commands would be functional if possible:
drop get.room.v get.v get put.v put
Ticket imported from: #3095169. Ticket imported from: feature-requests/610.
Attachments (1)
Change History (5)
by , 14 years ago
Attachment: | aq switchboard.png added |
---|
comment:1 by , 14 years ago
Could you please provide me the game where it is used? Perhaps with the source, but not necessary.
comment:2 by , 13 years ago
Fixed in git, however there is a big number of other bugs. Your game is a really good test case.
Things to fix: option screen autoscroll, Alt+Q does not work at all, memory errors here and there, slowliness of inventory screen.
comment:3 by , 13 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 by , 6 years ago
Component: | → Engine: AGI |
---|
On the right is game's internal settings which one can adjust, on the left is ScummVM's constanst errow flow. All values are zero since ScummVM gives error from get.room.v-cmd.