
# --> (@EVENT: clicked on a pre-build-armor menu button - build leggings, iron /// ID: 100,046)

# -> Message
execute if score #or.setting.output_messages OverlyRealistic.Settings.ArbitrarySetting matches 1 \
    if score #or.setting.overlay_messages OverlyRealistic.Settings.ArbitrarySetting matches 1 run \
        tellraw @s [\
        {\
            text:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"\
        },\
        {\
            text:"[Lay Figure] \n",\
            color:"#929292",\
            bold:true\
        },\
        {\
            text:"→ Legging selections ",\
            color:"#929292"\
        },\
        {\
            text:"\n\n"\
        }\
    ]

# -> Reset menu data
scoreboard players set @s OverlyRealistic.World.LayFigure_ButtonProgress_0 0
scoreboard players set @s OverlyRealistic.World.LayFigure_ButtonProgress_1 0
scoreboard players set @s OverlyRealistic.World.LayFigure_ButtonProgress_2 0
scoreboard players set @s OverlyRealistic.World.LayFigure_ButtonProgress_3 0
scoreboard players set @s OverlyRealistic.World.LayFigure_ButtonProgress_4 0
scoreboard players set @s OverlyRealistic.World.LayFigure_ButtonProgress_5 0

# -> Get button values
#function overly_realistic:general/custom_blocks/lay_figure/menu_interactions/get_button_values_5

# -> Build UI
#function overly_realistic:general/custom_blocks/lay_figure/interactions/menus/build_leggings/build_iron with storage overly_realistic:lay_figure_menus
function overly_realistic:general/custom_blocks/lay_figure/interactions/menus/build_leggings/build_iron
