AGI inventory items
|Reported by:||SF/sterv||Owned by:||sev-|
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:
Ticket imported from: #3095169. Ticket imported from: feature-requests/610.