# This function is the main function for the car salesmen. It will run the main dialogue for the car salesmen.
scoreboard players random standard_intro_dialogue shapescape_cars_var 0 5
execute if score standard_intro_dialogue shapescape_cars_var matches 0 run function shapescape/cars/standard/intro/i0
execute if score standard_intro_dialogue shapescape_cars_var matches 1 run function shapescape/cars/standard/intro/i1
execute if score standard_intro_dialogue shapescape_cars_var matches 2 run function shapescape/cars/standard/intro/i2
execute if score standard_intro_dialogue shapescape_cars_var matches 3 run function shapescape/cars/standard/intro/i3
execute if score standard_intro_dialogue shapescape_cars_var matches 4 run function shapescape/cars/standard/intro/i4
execute if score standard_intro_dialogue shapescape_cars_var matches 5 run function shapescape/cars/standard/intro/i5