Log inGet started
World

Market Day: Player-Run Market Stalls, Customers and Living Prices Kit

README.md

adapters

How marketStallKit reaches the rest of a world, detected at first use with a guarded registry lookup (nothing is required, or logged, when a kit is absent): inventory (inventoryKit's bag), payment (economyKit's bank grants), clock (worldClockKit's day, hour, season and rain), item info (inventoryKit item definitions, whose value is the base price, else the built-in produce list), friendship (friendshipKit's villagers and hearts, for regular customers) and farmLifeKit's free card rect. The kit keeps no bag or wallet of its own: with neither inventoryKit nor economyKit nor a game's adapter, missingInventory refuses lay-outs and missingPayment records sales unpaid, each with a warning that says what to install or hand in. Games replace any adapter through Market.setInventory, setPayment, setClock, setItemInfo and setFriendship.