Add Trading GUI

Issue #2 resolved
Mike Stoll created an issue

Simple GUI that displays the local players inventory and coins, as well as providing two areas of slots, one locked (for displaying the corresponding 'trade' players offer) and one available (for depositing trade items). Slots in the trading areas should accept both items and coins, but trading will need to check whether there are slots available to complete the trade. Trading initiation is already handled.

Comments (5)

  1. Mike Stoll reporter

    Last things to do are the 'ready' button, making sure players have enough room to receive the items being traded, canceling ready when changes are made to the trade, and actually exchanging the goods.

    So close!

  2. Mike Stoll reporter

    Everything is functional, now, but there's a bug causing duplication of items that a player already has one of in their inventory. Super weird. :/

  3. Mike Stoll reporter

    Fixed the duplication bug, but disconnections during the trading process need to be handled.

  4. Log in to comment