{
	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-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"
		},
	]
}
