Log inGet started
World

Market Square: Currencies, Wallets and Shops Kit

README.md

EconomyHost (economyKit)

economyKit's driver on one machine. The kit spawns it on a temporary local entity the first time a game uses it in play; never place it by hand. Each frame it runs the economy, draws the wallet displays, the "Open shop" prompt and the open shop, reads keyboard and gamepad through economyKit.economyMap and the shop's clicks and taps, holds economyKit.economyBlock while a shop is open so the player does not walk, and sends navUiKit toasts when the game runs a navUiKit HUD. A finger's tap on one of the kit's own buttons is also read from the touch events and pressed once (a tap the UI presses too still counts once), so the kit's buttons work while the touch controls are up. Needs no sibling components.