ludic.shop, ludic.net: nothing made per tick - the week's lists and dice reused, the net's facts from a ring, the room's watch address made once, pools and kept lists through kept_push; what runs once per host, join, room or guest says so in @alloc_ok
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f5834f8f63
commit
4b533b5ff6
18 changed files with 86 additions and 23 deletions
|
|
@ -40,7 +40,8 @@ export state ShopState {
|
|||
shop_week_rolled: int = -1
|
||||
shop_want_list: []int = null # shop_wants_n per vendor, -1 empty
|
||||
shop_full_list: []int = null # one per vendor, -1 none
|
||||
shop_dice: Rng = null
|
||||
shop_dice: Rng = rng_new(0)
|
||||
shop_taken: []int = new []int # a vendor's picks while its week is rolled, kept
|
||||
shop_base: []int = null # an item's base price
|
||||
shop_sell_frac: []float = null # what fraction of the curve a vendor pays for it
|
||||
shop_vendor_list: []ShopVendor = null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue