Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: on Wed 21/01/2004 06:26:03

Title: Request, droppable inventory items.
Post by: on Wed 21/01/2004 06:26:03
I would like to see the ability to drop inventory items added to a future release.
One of the nice things about the ability to drop items is that then the programmer can make events set to occur if the player is NOT carrying a certain item.
For examlple the player would not be allowed to enter the dungeon if they are carrying any weapons.
Allowing them to drop items and pick them back up again would enable them to temporarily discard such items and then pick them up again at a later time.
Probably the simplest way to implement a system where players can drop items would be to give each room it's own inventory the same way characters have thier own inventory.
Then if a player drops an item it is moved from the player's inventory into the inventory for the room in which it was dropped.
Title: Re:Request, droppable inventory items.
Post by: Gilbert on Wed 21/01/2004 06:32:26
Maybe as a workaround, just put large chests in some certain rooms, so you can "drop" them into the chests (can be archived quite easily by simple scripting, a more simple way is to make illusional characters to hold the content of the chests).
Title: Re:Request, droppable inventory items.
Post by: Pumaman on Sat 24/01/2004 20:23:44
Yeah, adding some sort of CreateNewObject/DeleteObjectFromRoom commands are on my to-do list to allow you to do things like this. Can't promise when it might see the light of day though, I'm afraid.