{
	"display": {
		"icon": {
			"id": "minecraft:potion",
			"components": {
				"minecraft:potion_contents": {
					"potion": "minecraft:invisibility"
				}
			}
		},
		"title": {"translate":"Shady Deals"},
		"description": {"color":"#75E1FF","translate":"Trade with a Wandering Trader while he is invisible"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:adventure/travelling_merchant",
	"rewards": {
		"function": "bacap_rewards:adventure/shady_deals"
	},		
	"criteria": {
		"trade": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"entity_type": "wandering_trader",
					"effects": {
						"minecraft:invisibility": {}
					}
				}
			}
		}
	}
}
