ludic/packages/ludic.shop/index.ludic
Orkuncakilkaya 12cfcb10ac feat(packages): ludic.shop - prices by standing with the fountain guard, a weekly demand on its own dice, stock, buying and selling through purse and pack ports, a trade fact
Items (base price, sell fraction) and vendors (stock, buys, refuses) are the game's data handed
over at boot; standing, the day, a shortage and "buys beyond its list" are the ShopWorld port;
money is ShopPurse and the pack ShopPack. The week's wanted and glutted items come from an Rng
seeded by the week, never the world's. The balance invariants - a shop is not a fountain,
friction falls and never inverts, raw keeps its order - are the package's tests (nine).

ludic.crafting: its private names carry the package's prefix too (a private name is still one
global namespace with the game's - ludic.shop's `sp_seed` met the game's).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 06:44:44 +03:00

10 lines
348 B
Text

# ludic.shop - the counter: items' base prices and vendors' shelves are the game's data, money and
# the pack are asked through ports, and every sale or purchase is a fact
module ludic_shop uses ludic_base
numbers float
import "ludic.base"
import "state.ludic"
import "demand.ludic"
import "prices.ludic"
import "trade.ludic"
import "system.ludic"