###Remove bounty###
execute at @e[type=item,distance=..2,nbt={OnGround:1b,Item:{id:"minecraft:gold_ingot",Count:64b}}] run particle poof ~ ~0.2 ~ 0.1 0.1 0.1 0.1 10 normal
kill @e[type=item,distance=..2,nbt={OnGround:1b,Item:{id:"minecraft:gold_ingot",Count:64b}}]
execute anchored eyes run particle happy_villager ^ ^ ^ 0.3 0.3 0.3 0 5 normal
playsound entity.villager.celebrate neutral @a ~ ~ ~ 3 1
tellraw @a[distance=..10] [{"text":"[Nomadic Caravan]","color":"green","bold":true},{"text":": ","color":"white","bold":false},{"text":"Your generosity is appreciated! Please, enjoy my selection.","color":"white","bold":false}]

###Drops loot and leaves###
loot spawn ^ ^0.5 ^1 loot nitk:command/caravan_reward
particle happy_villager ~ ~1 ~ 0.3 0.5 0.3 0 10 normal
particle poof ~ ~1 ~ 0.3 0.5 0.3 0 10 normal
scoreboard players set @e[tag=nitTownSquare,limit=1,sort=nearest] nitResourceSpawn 0
tp @s ~ -100 ~
kill @s