{
	components: [
		{
			code: "testhasmet",
			owner: "waclaw",
			type: "condition",
			variable: "entity.hasmet",
			isNotValue: "true",
			thenJumpTo: "firstmeet",
			elseJumpTo: "welcomeback"
		},
		{
			code: "firstmeet",
			owner: "waclaw",
			type: "talk",
			setVariables: { "entity.hasmet": "true" },
			text: [
				{ value: "dialogue-waclaw-welcome" },
			],
			jumpTo: "main"
		},
		{
			code: "welcomeback",
			owner: "waclaw",
			type: "talk",
			text: [
				{ value: "dialogue-waclaw-welcomeback" },
			],
			jumpTo: "main"
		},
		{
			code: "main",
			owner: "player",
			type: "talk",
			text: [
				{ value: "dialogue-name", jumpTo: "name" },
				{ value: "dialogue-trade", jumpTo: "wares" },
				{ value: "dialogue-letter", jumpTo: "letter", condition: { variable: "player.inventory", isValue: "{type: 'item', code: 'letter-faded', stacksize: 1}" } },
			],
		},
		{
			code: "name",
			owner: "waclaw",
			type: "talk",
			trigger: "revealname",
			text: [
				{ value: "dialogue-waclaw-waclaw"	}
			],
			jumpTo: "nameresponse"
		},
		{
			code: "nameresponse",
			owner: "player",
			type: "talk",
			text: [
				{ value: "dialogue-waclaw-tough", jumpTo: "dull" },
				{ value: "dialogue-isee", jumpTo: "main" },
			],
		},
		{
			code: "dull",
			owner: "waclaw",
			type: "talk",
			text: [
				{ value: "dialogue-waclaw-dull"	}
			],
			jumpTo: "dullresponse"
		},
		{
			code: "dullresponse",
			owner: "player",
			type: "talk",
			text: [
				{ value: "dialogue-waclaw-whynot", jumpTo: "spear" },
				{ value: "dialogue-isee", jumpTo: "main" },
			],
		},
		{
			code: "spear",
			owner: "waclaw",
			type: "talk",
			text: [
				{ value: "dialogue-waclaw-spear"	}
			],
			jumpTo: "spearresponse"
		},
		{
			code: "spearresponse",
			owner: "player",
			type: "talk",
			text: [
				{ value: "dialogue-waclaw-wise", jumpTo: "oldenough" },
				{ value: "dialogue-waclaw-blackguard", jumpTo: "oldenough", condition: { variable: "player.characterclass", isValue: "blackguard" } },
				{ value: "dialogue-waclaw-chance", jumpTo: "oldenough" },
			],
		},
		{
			code: "oldenough",
			owner: "waclaw",
			type: "talk",
			text: [
				{ value: "dialogue-waclaw-domypart"	}
			],
			jumpTo: "main"
		},
		{
			code: "wares",
			owner: "waclaw",
			type: "talk",
			text: [
				{ value: "dialogue-waclaw-bettertalk"	}
			],
			jumpTo: "main"
		},
		{
			code: "letter",
			owner: "waclaw",
			type: "talk",
			text: [
				{ value: "dialogue-waclaw-notaclue"	}
			],
			jumpTo: "main"
		},
	]
}
