wip(0.S3): packages and examples migrated again from their pre-0.S sources in one run
ludic migrate state packages <every example program> packages/ludic.lab/example/plate.ludic 1804 vars into 126 states, 64 into lets; 23498 edits in 460 files Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5ffe50ed02
commit
19fcf60599
459 changed files with 17862 additions and 17603 deletions
|
|
@ -1,9 +1,9 @@
|
|||
# system.ludic - the shop as a system: a reset and nothing saved (the week's demand follows from
|
||||
# the day, and nobody is at a counter across a save)
|
||||
export function shop_reset() -> void {
|
||||
shop_at = -1
|
||||
shop_demand_reset()
|
||||
q_clear(shop_trades())
|
||||
export function shop_reset(base_st: mut BaseState, shop_st: mut ShopState) -> void {
|
||||
shop_st.shop_at = -1
|
||||
shop_demand_reset(shop_st)
|
||||
q_clear(base_st, shop_trades(base_st, shop_st))
|
||||
}
|
||||
|
||||
export function shop_system() -> System {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue