refactor(packages): 0.R5 - the shop's week is rolled by its tick and asking reads it; needs start filled and vehicles start with their list; character, physics, vehicles and nativeecho's lazy starts are defaults; --tighten over all four

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-27 13:25:57 +03:00
parent 67d8079c47
commit 87259f989d
31 changed files with 104 additions and 111 deletions

View file

@ -9,5 +9,8 @@ export function shop_reset(shop_st: mut ShopState) -> void {
export function shop_system() -> System {
let s = system_new("shop", PH_COMMIT)
s.reset = fn shop_reset
s.tick = fn shop_tick
return s
}
# the week's demand, rolled when the week turns - the questions read it
function shop_tick(shop_st: mut ShopState, t: Tick) -> void { shop_roll(shop_st) }