general-store.yaml 532 B

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