heroiclabs / hiro

The server interface for the Hiro game framework.
https://heroiclabs.com/hiro/
Apache License 2.0
23 stars 10 forks source link

Remove items from inventory by instance id #68

Open janisgitendorfs opened 23 hours ago

janisgitendorfs commented 23 hours ago

Please add option to remove items by their instance id.

Case example:

As a developer I would like to create a system where one item can be selected for upgrade and other items can be selected as items that will benefit the item to upgrade. Each item has value X defined in numeric properties. Upon successful action the list of selected items are deleted from player inventory and the value X (defined in numeric or string properties) are incremented by the calculated amount from selected items.

novabyte commented 23 hours ago

Thanks for the use case @janisgitendorfs. We've added this work to the next sprint for Hiro 👍