ludic.base: a queue's fact records come round again (q_rec / q_ring_add), used by effects, clock, wallet, weather, tracks, needs, fire, settings, update, steps, crafting, shop, gear, hints, session and photo instead of a new record per fact; the minimap's marks cleared and rubbed out in place, its scale steps without a list; the clock's dice seeded again, not made again; once-per-join, per-save and pool-miss paths declared
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5be2422c84
commit
d9612ba2a6
31 changed files with 215 additions and 25 deletions
|
|
@ -7,7 +7,10 @@ function iv_change(inventory_st: mut InventoryState, it: int, after: int) -> voi
|
|||
if len(inventory_st.iv_pool) > 0 {
|
||||
c = inventory_st.iv_pool[inventory_st.iv_at]
|
||||
inventory_st.iv_at = (inventory_st.iv_at + 1) % len(inventory_st.iv_pool)
|
||||
} else { c = new ItemChanged }
|
||||
} else {
|
||||
@alloc_ok("never after inv_config: the ring is made there")
|
||||
c = new ItemChanged
|
||||
}
|
||||
c.item = it
|
||||
c.before = before
|
||||
c.after = after
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue