Trading Post Command !shop-menu Works directly with 1e character sheet by deducting expenses and adding purchased items to your items list on the sheet. The API supports several store types, including trading posts, outfitters, smiths and armorers, stables, and herbalists, along with preset stores such as the Players Handbook store and Hommlet from Greyhawk. It can generate stores with different sizes, settlement types, focuses, and local tags, and those factors affect both what appears in stock and how prices are modified. The system handles ordinary gear, armor, weapons, ammunition, herbs, clothing, provisions, tack, transport, livestock, and trinkets, while also allowing GM-created stores and store-specific inventories. Players can build their character sheet inventory when they create their characters instead of manually entering in each item.
It also includes a full cart and checkout workflow tied to a selected token or character. Items can be added to and removed from a cart, totals are calculated automatically, and purchases write back into the character’s repeating equipment. Currency is handled in gp, sp, and cp, stock is reduced after successful purchases, and the script prevents checkout when stock is unavailable or the buyer lacks funds. For generated and local stores, non-custom body armor can require a fit roll before purchase, while the Players Handbook store is exempt from that check.
Beyond shopping, the API includes restocking and campaign-management tools. Stores can refresh over time, days can be advanced to trigger restocks, and GMs can create, audit, list, refresh, or reset stores through commands. Horses and transport animals can generate with persistent traits, barding can appear in stables, herbalists avoid armor stock, and low-level armor can appear in regular trading post style stores. Altogether, the script is meant to function as a reusable local economy system for 1E play rather than just a static item list. <a href="https://github.com/earmarkaudiology-png/Trading-Post/blob/main/shop" rel="nofollow">https://github.com/earmarkaudiology-png/Trading-Post/blob/main/shop</a>