execute unless score @s pay matches 45000.. run return run function ws:store/samurai/business/fail
scoreboard players remove @s pay 45000
title @s title {"translate":"business.success","color":"light_purple","bold":true}
tag @s add samurai
execute at @s run playsound minecraft:custom.questpassed player @s ~ ~ ~
execute positioned 2014 42 2050 run kill @e[type=minecraft:area_effect_cloud,limit=2,sort=nearest]
setblock 2014 42 2050 air
scoreboard players add @s income 30
scoreboard players add @s businesscount 1
tellraw @s {"translate":"samurai.bonuses"}