execute unless score @s pay matches 150.. run return run function ws:store/luxury/fail
scoreboard players remove @s pay 150
title @s title {"translate":"luxury.buysuccess","color":"green"}
give @s carrot[custom_data={crop:1},max_stack_size=1,!food]
execute at @s run playsound minecraft:entity.villager.yes player @s ~ ~ ~