{
	components: [
		{
			code: "testhasmet",
			owner: "piotr",
			type: "condition",
			variable: "entity.hasmet",
			isNotValue: "true",
			thenJumpTo: "firstmeet",
			elseJumpTo: "welcomeback"
		},
		{
			code: "firstmeet",
			owner: "piotr",
			type: "talk",
			setVariables: { "entity.hasmet": "true" },
			text: [
				{ value: "dialogue-piotr-welcome" },
			],
		},
		{
			code: "welcomeback",
			owner: "piotr",
			type: "talk",
			text: [
				{ value: "dialogue-piotr-welcomeback" },
			],
			jumpTo: "main"
		},
		{
			code: "main",
			owner: "player",
			type: "talk",
			text: [
				{ value: "dialogue-name", jumpTo: "name" },
				{ value: "dialogue-piotr-trouble", jumpTo: "trouble" },
				{ value: "dialogue-letter", jumpTo: "letter", condition: { variable: "player.inventory", isValue: "{type: 'item', code: 'letter-faded', stacksize: 1}" } },
			],
		},
		{
			code: "name",
			owner: "piotr",
			type: "talk",
			trigger: "revealname",
			text: [
				{ value: "dialogue-piotr-piotr"	}
			],
			jumpTo: "main"
		},
		{
			code: "trouble",
			owner: "piotr",
			type: "talk",
			text: [
				{ value: "dialogue-piotr-yesandno"	}
			],
			jumpTo: "troublecontinue"
		},
		{
			code: "troublecontinue",
			owner: "player",
			type: "talk",
			text: [
				{ value: "dialogue-continue", jumpTo: "trouble2" },
			],
		},
		{
			code: "trouble2",
			owner: "piotr",
			type: "talk",
			text: [
				{ value: "dialogue-piotr-pause"	}
			],
			jumpTo: "troublecontinue2"
		},
		{
			code: "troublecontinue2",
			owner: "player",
			type: "talk",
			text: [
				{ value: "dialogue-continue", jumpTo: "trouble3" },
			],
		},
		{
			code: "trouble3",
			owner: "piotr",
			type: "talk",
			text: [
				{ value: "dialogue-piotr-bad"	}
			],
			jumpTo: "troubleresponse"
		},
		{
			code: "troubleresponse",
			owner: "player",
			type: "talk",
			text: [
				{ value: "dialogue-piotr-sorry", jumpTo: "trouble4" },
			],
		},
		{
			code: "trouble4",
			owner: "piotr",
			type: "talk",
			text: [
				{ value: "dialogue-piotr-pride"	}
			],
			jumpTo: "troubleresponse2"
		},
		{
			code: "troubleresponse2",
			owner: "player",
			type: "talk",
			text: [
				{ value: "dialogue-piotr-blackguard", jumpTo: "trouble5" },
				{ value: "dialogue-isee", jumpTo: "main" },
			],
		},
		{
			code: "trouble5",
			owner: "piotr",
			type: "talk",
			text: [
				{ value: "dialogue-piotr-wedo"	}
			],
			jumpTo: "main"
		},
		{
			code: "letter",
			owner: "piotr",
			type: "talk",
			text: [
				{ value: "dialogue-piotr-neverlearned"	}
			],
			jumpTo: "main"
		},
	]
}
