Log inGet started
Package

MarketDay.component

This package holds more than this page lists. See all of its files in its world.

README.md

MarketDay

The thief's game of the showcase Market Day at Mirage Wells, on a plain local entity in the main scene; it runs on every peer for that peer's own player.

  • E (hold) behind an unaware townsperson: pick their pocket; beside a stall nobody is minding: rob it.
  • F behind someone: knock them out. They lie in the street as a body that townsfolk find and report to the watch.
  • G: throw a firecracker that bangs and scatters the crowd (every player sees it fly).
  • R: draw or hide a dagger. People who see it shrink away or run for the watch.

Being seen raises the cry of "Thief!" and sends the two nearest watchmen after you (TF.callWatch). Walking inside a townsfolk group (TF.isInGroup) shakes them off faster; if one reaches you, you lose half your purse and are thrown out at the gate. At 21:00 the day is tallied: the purse becomes thief XP in saveKit (ranks and knacks such as Quick Fingers and the Firecracker Satchel carry over between visits), and "Next market day" starts the clock again at dawn. Draws its own HUD (clock, purse goal, firecrackers, rank, the watch's chase, a feed of what townsfolk do).

Needs townsfolkKit, saveKit, worldClockKit and the level's layout data (showcase.marketLayout); no sibling components.