scoreboard players set .number_max dialog 5


execute if score .number dialog matches 1 run data modify storage dialog lists.workshop.list append value {id:"storekeeper_2"}
execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"You came again! That`s good to see.","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Got some pocket change recently. Say thanks to the goons who died.","text_color":"white","duration":20}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"Sure will. Their suffering makes me richer!","text_color":"white","duration":30}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"Damn girl, you are quite insane huh.","text_color":"white","duration":30}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"Can`t be too soft around these places, lad.","text_color":"white","duration":30}