{
	components: [
		{
			code: "testhasmet",
			owner: "beata",
			type: "condition",
			variable: "entity.hasmet",
			isNotValue: "true",
			thenJumpTo: "firstmeet",
			elseJumpTo: "welcomeback"
		},
		{
			code: "firstmeet",
			owner: "beata",
			type: "talk",
			setVariables: { "entity.hasmet": "true" },
			text: [
				{ value: "dialogue-beata-welcome" },
			],
			jumpTo: "firstmeetresponse"
		},
		{
			code: "firstmeetresponse",
			owner: "player",
			type: "talk",
			text: [
				{ value: "dialogue-beata-journey", jumpTo: "sanctuary" },
				{ value: "dialogue-beata-onlyaday", jumpTo: "sanctuary" },
			],
		},
		{
			code: "sanctuary",
			owner: "beata",
			type: "talk",
			text: [
				{ value: "dialogue-beata-helpyourself" },
			],
			jumpTo: "breadchoice"
		},
			{
			code: "breadchoice",
			owner: "player",
			type: "talk",
			text: [
				{ value: "dialogue-beata-thankyou", jumpTo: "breadaccept" },
				{ value: "dialogue-beata-rathernot", jumpTo: "breadrefuse" },
			],
		},
		{
			code: "breadaccept",
			owner: "beata",
			type: "talk",
			text: [
				{ value: "dialogue-beata-hopeyoulikeit" },
			],
			trigger: "giveitemstack",
			triggerdata: { type: "item", code: "bread-rye-perfect", stacksize: 1 },
			jumpTo: "main"
		},
		{
			code: "breadrefuse",
			owner: "beata",
			type: "talk",
			text: [
				{ value: "dialogue-beata-suityourself" },
			],
			jumpTo: "main"
		},
		{
			code: "welcomeback",
			owner: "beata",
			type: "talk",
			text: [
				{ value: "dialogue-beata-helloagain" },
			],
			jumpTo: "main"
		},
		{
			code: "main",
			owner: "player",
			type: "talk",
			text: [
				{ value: "dialogue-name", jumpTo: "name" },
				{ value: "dialogue-beata-bread", jumpTo: "trade" },
				{ value: "dialogue-work", jumpTo: "work", conditions: [{ variable: "player.beataqueststarted", isNotValue: "true" }, { variable: "player.beataquestcompleted", isNotValue: "true" }] },
				{ value: "dialogue-workreminder", jumpTo: "workremind", conditions: [{ variable: "player.beataqueststarted", isValue: "true" }, { variable: "player.beataquestcompleted", isNotValue: "true" }] },
				{ value: "dialogue-beata-verygrateful", jumpTo: "workcomplete", conditions: [{ variable: "player.beataqueststarted", isValue: "true" }, { variable: "player.beataquestcompleted", isValue: "true" }, { variable: "player.beataquestrewarded", isNotValue: "true" }] },
				{ value: "dialogue-letter", jumpTo: "letter", condition: { variable: "player.inventory", isValue: "{type: 'item', code: 'letter-faded', stacksize: 1}" } },
			],
		},
		{
			code: "name",
			owner: "beata",
			type: "talk",
			trigger: "revealname",
			text: [
				{ value: "dialogue-beata-beata"	}
			],
			jumpTo: "main"
		},
		{
			code: "trade",
			owner: "beata",
			trigger: "opentrade",
		},
		{
			code: "letter",
			owner: "beata",
			type: "talk",
			text: [
				{ value: "dialogue-beata-gerhardt"	}
			],
			jumpTo: "main"
		},
        {
			code: "work",
			owner: "beata",
			type: "talk",
			text: [
				{ value: "dialogue-beata-nothingbig"	}
			],
			jumpTo: "beataquestchoice"
		},
        {
			code: "workremind",
			owner: "beata",
			type: "talk",
			text: [
				{ value: "dialogue-beata-bringloaf"	}
			],
			jumpTo: "main"
		},
        {
			code: "beataquestchoice",
			owner: "player",
			type: "talk",
			text: [
				{ value: "dialogue-beata-simpleenough", jumpTo: "beataquestaccept" },
				{ value: "dialogue-nothanks", jumpTo: "beataquestreject" },
			],
		},
        {
			code: "beataquestaccept",
			owner: "beata",
			type: "talk",
            setVariables: { "player.beataqueststarted": "true" },
            trigger: "giveitemstack",
			triggerdata: { type: "item", code: "bread-rye-perfect", stacksize: 1 },
			text: [
				{ value: "dialogue-beata-perfect"	}
			],
			jumpTo: "main"
		},
        {
			code: "beataquestreject",
			owner: "beata",
			type: "talk",
			text: [
				{ value: "dialogue-beata-thatsalright"	}
			],
			jumpTo: "main"
		},
        {
			code: "workcomplete",
			owner: "beata",
			type: "talk",
            setVariables: { "player.beataquestrewarded": "true" },
            trigger: "giveitemstack",
			triggerdata: { type: "item", code: "bread-rye-perfect", stacksize: 1 },
			text: [
				{ value: "dialogue-beata-soglad"	}
			],
			jumpTo: "main"
		},
	]
}
