- Joined
- Jul 6, 2009
- Messages
- 889
Is there a way to enable a unit's inventory to be shown when interacting with a merchant building that doesn't sell items?
When a unit interacts with a building that sells only units, their inventory is not shown. When a unit interacts with a building that sells items, their inventory is shown. What I'm after is to make it so that the interacting unit's inventory is displayed when it interacts with buildings with units only.
In the below image, the Blademaster's inventory is hidden when it interacts with the Tavern.
However, in this image, you can see the Blademaster's inventory.
My initial plan was to add a "dummy item" that couldn't be bought as it was always out of stock. The "dummy item" had a black icon so players wouldn't notice the dummy item (despite an empty tooltip coming up when mouse-overed). The problem with this is that the in-stock quantity is still displayed with the item's icon and it takes up one command card slot.
When a unit interacts with a building that sells only units, their inventory is not shown. When a unit interacts with a building that sells items, their inventory is shown. What I'm after is to make it so that the interacting unit's inventory is displayed when it interacts with buildings with units only.
In the below image, the Blademaster's inventory is hidden when it interacts with the Tavern.
However, in this image, you can see the Blademaster's inventory.
My initial plan was to add a "dummy item" that couldn't be bought as it was always out of stock. The "dummy item" had a black icon so players wouldn't notice the dummy item (despite an empty tooltip coming up when mouse-overed). The problem with this is that the in-stock quantity is still displayed with the item's icon and it takes up one command card slot.