
# -> Add to symbol
scoreboard players add @s OverlyRealistic.World.ScribingTable_SymbolPart_0 1

# -> If symbol value > max then circle back
execute if score @s OverlyRealistic.World.ScribingTable_SymbolPart_0 matches 5.. run \
    scoreboard players set @s OverlyRealistic.World.ScribingTable_SymbolPart_0 1

# -> Set symbol
execute if score @s OverlyRealistic.World.ScribingTable_SymbolPart_0 matches 1 \
    on passengers run \
        return run \
            item modify entity @s[tag=OverlyRealistic.Block.ScribingTable_Base] contents overly_realistic:scribing_table/set_model_symbols_0/part_0/symbol_0
execute if score @s OverlyRealistic.World.ScribingTable_SymbolPart_0 matches 2 \
    on passengers run \
        return run \
            item modify entity @s[tag=OverlyRealistic.Block.ScribingTable_Base] contents overly_realistic:scribing_table/set_model_symbols_0/part_0/symbol_1
execute if score @s OverlyRealistic.World.ScribingTable_SymbolPart_0 matches 3 \
    on passengers run \
        return run \
            item modify entity @s[tag=OverlyRealistic.Block.ScribingTable_Base] contents overly_realistic:scribing_table/set_model_symbols_0/part_0/symbol_2
execute on passengers run \
    item modify entity @s[tag=OverlyRealistic.Block.ScribingTable_Base] contents overly_realistic:scribing_table/set_model_symbols_0/part_0/symbol_3
