scoreboard players set .number_max dialog 7


execute if score .number dialog matches 1 run data modify storage dialog lists.workshop.list append value {id:"storekeeper_3"}
execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"Hey-hey!","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"So how much money do I have to spend for you to answer-","text_color":"white","duration":40}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"any of my questions?","text_color":"white","duration":30}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"Me can answer any question as long as it`s about-","text_color":"white","duration":40}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"-my items and offers.","text_color":"white","duration":30}
execute if score .number dialog matches 6.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"And as far as me knows..","text_color":"white","duration":30}
execute if score .number dialog matches 6.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"..me am not an item with a pricetag.","text_color":"white","duration":30}
execute if score .number dialog matches 7.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Right, that came off insensitive.","text_color":"white","duration":30}
execute if score .number dialog matches 8.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"No hard feelings are felt.","text_color":"white","duration":30}