clear @s warped_fungus_on_a_stick[minecraft:custom_data~{character:engineer}]
# execute as @s[predicate=main:holding/nothing] run item replace entity @s hotbar.0 with warped_fungus_on_a_stick[custom_name='{"bold":false,"italic":false,"color":"yellow","text":"Window Maker"}',lore=['{"bold":false,"color":"white","italic":false,"text":"Check your \\"MENU\\" book"}','{"bold":false,"color":"white","italic":false,"text":"for more information."}'],hide_additional_tooltip={},item_model="minecraft:weapons/engineer/engineer",custom_data={weapon:1b,character:engineer}] 1

clear @s firework_star

item replace entity @s weapon.offhand with firework_star[custom_name='{"bold":false,"italic":false,"color":"aqua","text":" "}',lore=['{"bold":false,"color":"white","italic":false,"text":"Check your \\"MENU\\" book"}','{"bold":false,"color":"white","italic":false,"text":"for more information."}'],hide_additional_tooltip={},item_model="minecraft:weapons/engineer/engineer_main",custom_data={weapon:1b,character:engineer},potion_contents={custom_color:8388627},can_break={predicates:[{blocks:"brain_coral"},{blocks:"dead_brain_coral"}]}] 1

item replace entity @s hotbar.0 with warped_fungus_on_a_stick[custom_name='{"bold":false,"italic":false,"color":"white","text":""}',lore=['{"bold":false,"color":"white","italic":false,"text":"Check your \\"MENU\\" book"}','{"bold":false,"color":"white","italic":false,"text":"for more information."}'],hide_additional_tooltip={},item_model="minecraft:blank",custom_data={weapon:1b,character:engineer},can_break={predicates:[{blocks:"brain_coral"},{blocks:"dead_brain_coral"}]}] 1