carenalgas / popochiu

Godot plugin to make point-and-click adventure games, inspired by tools like Adventure Game Studio and PowerQuest.
https://carenalgas.github.io/popochiu/
MIT License
207 stars 19 forks source link

Fixed bug with using Inventory Items so the item is no longer active after you use it #310

Closed anthonyirwin82 closed 1 month ago

anthonyirwin82 commented 1 month ago

In point and click adventure games when you select an inventory item and click to use the inventory item with clickable objects in the game or with other inventory items, the inventory item should no longer be active as the user has already used the item and the game has either done something or displayed a message saying they can't do that.

The sierra and 9 verb templates seem to take care of it as part of the templates.

The simple two click template games was not working as expected, so I fixed it to work as described above.