Log inGet started
World

Banana 2077

Branchmain
Branchesmain
Commit49a1306fab

README.md

game.shops.catalog

Banana 2077's five vendors (Noodle Nana's, Doc Kumquat — Ripperdoc, Peel & Steel, Misty's Charms, Byte's Bits) and the extra items the shops slice adds to the economy (Kabuki Night Ramen, Overclock Cell, Kabuki Edge, Plantain Crusher, Zest Optics Mk.II, Synapse Splitter).

  • C.defineAll() registers every item and vendor with the rules (R.defineItem, R.defineVendor); idempotent, called by the Shops component on start.
  • C.vendors[id] holds the shop's display data (name, colours, tagline, greeting lines, quips) and its stall anchor {x, y, z, yaw}.
  • C.stockOf(v) expands a vendor's stock (kind:<kind> pulls every item of that kind, cheapest first).
  • C.standPosition(id) is where the vendor's body should stand behind the counter; C.counterPosition(id) is where a customer stands. The story slice can place NPC bodies with require("@root::game.shops.catalog").standPosition("nana").