("helmet_view", prsntf_read_only|prsntf_manual_end_only, 0, [
(ti_on_presentation_load,
[(set_fixed_point_multiplier, 1000),
(try_begin),
(this_or_next|troop_has_item_equipped, "trp_player", "itm_2visoredsugar"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_1visoredsugar"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_hadvog_sallet_visor3"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_hadvog_sallet_visor2"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_hadvog_sallet_visor"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_hadvog_sallet_visor_open"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_hadvog_sallet_visor_open2"), #
(troop_has_item_equipped, "trp_player", "itm_hadvog_sallet_visor_open3"), #
(create_mesh_overlay, reg0, "mesh_helmet_sugar"),
(else_try),
(this_or_next|troop_has_item_equipped, "trp_player", "itm_lyle_bascinet_gilded"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_lyle_bascinet_gilded_open"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_lyle_bascinet"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_great_bascinet_open"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_great_bascinet"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_pigface_klappvisor_open"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_pigface_klappvisor"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_great_helmet"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_black_helmet"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_hounskull_black"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_hounskull_bascinet"), #
(troop_has_item_equipped, "trp_player", "itm_winged_great_helmet"), #
(create_mesh_overlay, reg0, "mesh_helmet_T_inside"),
(else_try),
(this_or_next|troop_has_item_equipped, "trp_player", "itm_1zitta_bascinet"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_2zitta_bascinet"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_3zitta_bascinet"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_4zitta_bascinet"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_5zitta_bascinet"), #
(troop_has_item_equipped, "trp_player", "itm_6zitta_bascinet"),
(create_mesh_overlay, reg0, "mesh_helmet_T_inside2"),
(else_try),
(this_or_next|troop_has_item_equipped, "trp_player", "itm_2greatbascinet2"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_klappvisier5"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_greatbascinet2"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_greatbascinet3"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_greatbascinet4"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_greatbascinet5"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_greatbascinet6"), #
(troop_has_item_equipped, "trp_player", "itm_greatbascinet7"), #
(create_mesh_overlay, reg0, "mesh_helmet_inside5"),
(else_try),
(this_or_next|troop_has_item_equipped, "trp_player", "itm_clsbas"), #
(troop_has_item_equipped, "trp_player", "itm_openbas"), #
(create_mesh_overlay, reg0, "mesh_helmet_inside0"),
(else_try),
(this_or_next|troop_has_item_equipped, "trp_player", "itm_polovtsian_helmet"), #
(this_or_next|troop_has_item_equipped, "trp_player", "itm_nikloskoe_helmet_warrior"), #
(troop_has_item_equipped, "trp_player", "itm_seljuk_helmet"), #
(create_mesh_overlay, reg0, "mesh_helmet_b"),
(try_end),
(position_set_x, pos1, 0),
(position_set_y, pos1, 0),
(overlay_set_position, reg0, pos1),
(position_set_x, pos2, 1020),
(position_set_y, pos2, 768),
(overlay_set_size, reg0, pos2),
(presentation_set_duration, 999999),
]),
]),