{
	"display": {
		"icon": {
			"id": "minecraft:chainmail_chestplate"
		},
		"title": {"translate":"All chained up"},
		"description": {"color":"green","translate":"Trade for a piece of chain armor from an armorer villager"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:adventure/knowledge_is_power",
	"rewards": {
		"function": "bacap_rewards:adventure/all_chained_up"
	},		
	"criteria": {
		"chainmail_helmet": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"item": {
					"items": [
						"minecraft:chainmail_helmet"
					]
				}
			}
		},
		"chainmail_chestplate": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"item": {
					"items": [
						"minecraft:chainmail_chestplate"
					]
				}
			}
		},
		"chainmail_leggings": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"item": {
					"items": [
						"minecraft:chainmail_leggings"
					]
				}
			}
		},
		"chainmail_boots": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"item": {
					"items": [
						"minecraft:chainmail_boots"
					]
				}
			}
		}		
	},
	"requirements": [
		[
		"chainmail_helmet",
		"chainmail_chestplate",
		"chainmail_leggings",
		"chainmail_boots"
		]
	]
}