scene-farm.yaml 465 B

123456789
  1. # Fixture scene: a small farm yard with a shed, a dialogue-carrying mayor NPC
  2. # and one chicken. Loaded by scene-model.test.ts to prove the real end-to-end
  3. # path: file YAML -> parse -> model -> place edits -> serialize -> stringify
  4. # -> parse -> schema-valid.
  5. id: farm-yard
  6. entities:
  7. - { type: building, buildingId: shed, x: 0, y: 0 }
  8. - { type: npc, npcId: mayor, x: 4, y: 4, dialogue: intro, label: Mayor }
  9. - { type: animal, animalId: chicken, x: 6, y: 6 }