# Example shop (D4: content as data). The general store sells tools and seeds # to the player (sells lines) and buys harvest materials back (buys lines). # Convention: sells = shop sells to player (player pays sells[].price); # buys = shop buys from player (player earns buys[].price). stock is optional # and informational in this slice (no restock logic); omit for infinite stock. id: general-store buys: - { itemId: parsnip, price: 30 } sells: - { itemId: hoe, price: 500 } - { itemId: parsnip-seed, price: 20, stock: 99 }