<?xml version="1.0" encoding="windows-1251" ?>
<game_dialogs>
    <dialog id="repair_dialog">
        <precondition>repair_dialogs.check_if_damaged_equipment</precondition>
        <phrase_list>
            <phrase id="0">
                <text>repair_actor_ask_for_repairs</text>
                <action>repair_dialogs.init_repair_data</action>
                <next>1</next>
                <next>21</next>
                <next>2</next>
            </phrase>
            <phrase id="1">
                <precondition>repair_dialogs.repairs_at_normal_price_possible</precondition>
                <text>repair_npc_reply_can_repair</text>
                <action>repair_dialogs.show_repair_costs</action>
                <next>3</next>
                <next>4</next>
                <next>5</next>
                <next>6</next>
            </phrase>
            <phrase id="21">
                <precondition>repair_dialogs.repairs_at_discount_price_possible</precondition>
                <text>repair_npc_reply_can_repair_with_discount</text>
                <action>repair_dialogs.show_repair_costs</action>
                <next>3</next>
                <next>4</next>
                <next>5</next>
                <next>6</next>
            </phrase>
            <phrase id="2">
                <precondition>repair_dialogs.all_fubar</precondition>
                <text>repair_npc_reply_all_fubar</text>
                <action>repair_dialogs.show_repair_costs</action>
                <next>13</next>
            </phrase>
            <phrase id="3">
                <precondition>repair_dialogs.can_repair_weapon1</precondition>
                <text>repair_actor_reply_repair_weapon1</text>
                <action>repair_dialogs.repair_weapon1</action>
                <next>7</next>
                <next>71</next>
            </phrase>
            <phrase id="4">
                <precondition>repair_dialogs.can_repair_weapon2</precondition>
                <text>repair_actor_reply_repair_weapon2</text>
                <action>repair_dialogs.repair_weapon2</action>
                <next>7</next>
                <next>71</next>
            </phrase>
            <phrase id="5">
                <precondition>repair_dialogs.can_repair_outfit</precondition>
                <text>repair_actor_reply_repair_outfit</text>
                <action>repair_dialogs.repair_outfit</action>
                <next>8</next>
                <next>81</next>
            </phrase>
            <phrase id="6">
                <text>repair_actor_reply_nevermind</text>
            </phrase>
            <phrase id="7">
                <precondition>repair_dialogs.has_no_gift_to_give</precondition>
                <text>repair_npc_done_weapon_repair</text>
                <next>9</next>
                <next>11</next>
            </phrase>
            <phrase id="71">
                <precondition>repair_dialogs.has_gift_to_give</precondition>
                <text>repair_npc_done_weapon_repair_with_gift</text>
                <action>repair_dialogs.give_gift</action>
                <next>9</next>
                <next>11</next>
            </phrase>
            <phrase id="8">
                <precondition>repair_dialogs.has_no_gift_to_give</precondition>
                <text>repair_npc_done_outfit_repair</text>
                <next>10</next>
                <next>11</next>
            </phrase>
            <phrase id="81">
                <precondition>repair_dialogs.has_gift_to_give</precondition>
                <text>repair_npc_done_outfit_repair_with_gift</text>
                <action>repair_dialogs.give_gift</action>
                <next>10</next>
                <next>11</next>
            </phrase>
            <phrase id="9">
                <text>repair_actor_acknowledge_weapon_repair</text>
            </phrase>
            <phrase id="10">
                <text>repair_actor_acknowledge_outfit_repair</text>
            </phrase>
            <phrase id="11">
                <precondition>repair_dialogs.check_if_damaged_equipment</precondition>
                <text>repair_actor_ask_for_more_repairs</text>
                <next>2</next>
                <next>12</next>
                <next>121</next>
            </phrase>
            <phrase id="12">
                <precondition>repair_dialogs.repairs_at_normal_price_possible</precondition>
                <text>repair_npc_reply_can_repair_more</text>
                <action>repair_dialogs.show_repair_costs</action>
                <next>3</next>
                <next>4</next>
                <next>5</next>
                <next>6</next>
            </phrase>
            <phrase id="121">
                <precondition>repair_dialogs.repairs_at_discount_price_possible</precondition>
                <text>repair_npc_reply_can_repair_more_with_discount</text>
                <action>repair_dialogs.show_repair_costs</action>
                <next>3</next>
                <next>4</next>
                <next>5</next>
                <next>6</next>
            </phrase>
            <phrase id="13">
                <text>repair_actor_acknowledge_all_fubar</text>
            </phrase>
        </phrase_list>
    </dialog>
</game_dialogs>
