<?xml version="1.0" encoding="windows-1251" ?>
<game_dialogs>

    <dialog id="dm_hello_dialog">
		<init_func>dialog_manager.init_intro_dialog</init_func>
    </dialog>

    <dialog id="dm_trade_info_dialog" priority="-1">
		<init_func>dialog_manager.init_trade_info_dialog</init_func>
		<precondition>dialog_manager.precondition_info_global</precondition>
    </dialog>

    <dialog id="dm_action_info_dialog" priority="-3">
		<init_func>dialog_manager.init_action_info_dialog</init_func>
		<precondition>dialog_manager.precondition_info_global</precondition>
    </dialog>

    <dialog id="dm_cool_info_dialog" priority="-2">
		<init_func>dialog_manager.init_cool_info_dialog</init_func>
		<precondition>dialog_manager.precondition_info_global</precondition>
    </dialog>

    <dialog id="dm_help_wounded_medkit_dialog" priority="10">
		<init_func>dialog_manager.init_help_wounded_medkit_dialog</init_func>
        <precondition>dialogs.allow_wounded_dialog</precondition>
        <precondition>dialogs.is_opp_wounded</precondition>
        <precondition>dialogs.actor_have_medkit</precondition>
    </dialog>

    <dialog id="tm_trader_dialog" priority="-1">
		<init_func>task_manager.init_trader_task_dialog</init_func>
		<has_info>esc_serious_talk</has_info>
    </dialog>
    <dialog id="tm_trader_reward" priority="0">
		<init_func>task_manager.init_trader_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
		<has_info>esc_serious_talk</has_info>
    </dialog>

    <dialog id="tm_barman_dialog" priority="-1">
		<init_func>task_manager.init_barman_task_dialog</init_func>
    </dialog>
    <dialog id="tm_barman_reward" priority="0">
		<init_func>task_manager.init_barman_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
    </dialog>

    <dialog id="tm_ecolog_dialog" priority="-1">
		<init_func>task_manager.init_ecolog_task_dialog</init_func>
    </dialog>
    <dialog id="tm_ecolog_reward" priority="0">
		<init_func>task_manager.init_ecolog_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
    </dialog>

    <dialog id="tm_dolg_dialog" priority="-1">
		<init_func>task_manager.init_dolg_task_dialog</init_func>
    </dialog>
    <dialog id="tm_dolg_reward" priority="0">
		<init_func>task_manager.init_dolg_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
    </dialog>

    <dialog id="tm_freedom_dialog" priority="-1">
		<init_func>task_manager.init_freedom_task_dialog</init_func>
    </dialog>
    <dialog id="tm_freedom_reward" priority="0">
		<init_func>task_manager.init_freedom_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
    </dialog>
    <dialog id="tm_shustriy_dialog" priority="-1">
		<init_func>task_manager.init_shustriy_task_dialog</init_func>
    </dialog>
    <dialog id="tm_shustriy_reward" priority="0">
		<init_func>task_manager.init_shustriy_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
    </dialog>
    <dialog id="tm_wolf_dialog" priority="-1">
		<init_func>task_manager.init_wolf_task_dialog</init_func>
    </dialog>
    <dialog id="tm_wolf_reward" priority="0">
		<init_func>task_manager.init_wolf_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
    </dialog>
    
    <dialog id="tm_lisiy_dialog" priority="-1">
		<init_func>task_manager.init_lisiy_task_dialog</init_func>
    </dialog>
    <dialog id="tm_lisiy_reward" priority="0">
		<init_func>task_manager.init_lisiy_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
    </dialog>
    
    <dialog id="tm_mercenary_dialog" priority="-1">
		<init_func>task_manager.init_mercenary_task_dialog</init_func>
    </dialog>
    <dialog id="tm_mercenary_reward" priority="0">
		<init_func>task_manager.init_mercenary_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
    </dialog>
    
     <dialog id="tm_drunk_dolg_dialog" priority="-1">
		<init_func>task_manager.init_drunk_dolg_task_dialog</init_func>
    </dialog>
    <dialog id="tm_drunk_dolg_reward" priority="0">
		<init_func>task_manager.init_drunk_dolg_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
    </dialog>
    
     <dialog id="tm_hunter_dialog" priority="-1">
		<init_func>task_manager.init_hunter_task_dialog</init_func>
    </dialog>
    <dialog id="tm_hunter_reward" priority="0">
		<init_func>task_manager.init_hunter_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
    </dialog>
    
     <dialog id="tm_petrenko_dialog" priority="-1">
		<init_func>task_manager.init_petrenko_task_dialog</init_func>
    </dialog>
    <dialog id="tm_petrenko_reward" priority="0">
		<init_func>task_manager.init_petrenko_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
    </dialog>
     <dialog id="tm_zastava_commander_dialog" priority="-1">
		<init_func>task_manager.init_zastava_commander_task_dialog</init_func>
    </dialog>
    <dialog id="tm_zastava_commander_reward" priority="0">
		<init_func>task_manager.init_zastava_commander_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
    </dialog>


    <!-- FINAL DIALOGS -->
    <dialog id="hello_dialog">
        <phrase_list>
            <phrase id="1">
                <next>2</next>
                <next>3</next>
            </phrase>
            <phrase id="3">
                <text>hello_dialog_3</text>
                <precondition>dialogs.is_wounded</precondition>
            </phrase>
            <phrase id="0">
                <next>1</next>
            </phrase>
            <phrase id="2">
                <text>hello_dialog_2</text>
                <precondition>dialogs.is_not_wounded</precondition>
            </phrase>
        </phrase_list>
    </dialog>
    <dialog id="actor_help_wounded" priority="10">
        <precondition>dialogs.allow_wounded_dialog</precondition>
        <precondition>dialogs.is_opp_wounded</precondition>
        <phrase_list>
            <phrase id="141">
                <text>actor_help_wounded_141</text>
            </phrase>
            <phrase id="111">
                <text>actor_help_wounded_111</text>
            </phrase>
            <phrase id="131">
                <text>actor_help_wounded_131</text>
            </phrase>
            <phrase id="13">
                <text>actor_help_wounded_13</text>
                <next>131</next>
            </phrase>
            <phrase id="14">
                <text>actor_help_wounded_14</text>
                <next>141</next>
            </phrase>
            <phrase id="12">
                <text>actor_help_wounded_12</text>
                <precondition>dialogs.actor_have_bandage</precondition>
                <action>dialogs.transfer_bandage</action>
                <next>111</next>
            </phrase>
            <phrase id="11">
                <text>actor_help_wounded_11</text>
                <precondition>dialogs.actor_have_medkit</precondition>
                <action>dialogs.transfer_medkit</action>
                <next>111</next>
            </phrase>
            <phrase id="0">
                <text>actor_help_wounded_0</text>
                <next>1</next>
            </phrase>
            <phrase id="1">
                <text>actor_help_wounded_1</text>
                <next>11</next>
                <next>12</next>
                <next>13</next>
                <next>14</next>
            </phrase>
        </phrase_list>
    </dialog>
    <dialog id="actor_break_dialog" priority="-5">
		<precondition>dialogs.allow_break_dialog</precondition>
        <phrase_list>
            <phrase id="0">
                <text>actor_break_dialog_0</text>
                <action>dialogs.break_dialog</action>
            </phrase>
        </phrase_list>
    </dialog>
    
    
    <!-- COOP MOD BEGINS -->
    <dialog id="actor_will_need_help_abuse3">
        <precondition>actor_need_help.i_am_friend</precondition>
        <precondition>actor_need_help.scheme_is_not_active</precondition>
        <precondition>actor_need_help.abuse_limit2</precondition>
        <precondition>actor_need_help.abuse_punch</precondition>
        <precondition>actor_need_help.actor_can_decide</precondition>
        <phrase_list>
            <phrase id="0">
                <text>Friend, I have to ask you...</text>
                <next>11</next>
            </phrase>
            <phrase id="11">
                <text>Fuck off.</text>
                <action>actor_need_help.reset_abuse</action>
                <action>actor_need_help.do_punch</action>
                <action>dialogs.break_dialog</action>
            </phrase>
        </phrase_list>
    </dialog>
    <dialog id="actor_will_need_help_abuse2">
        <precondition>actor_need_help.i_am_friend</precondition>
        <precondition>actor_need_help.scheme_is_not_active</precondition>
        <precondition>actor_need_help.abuse_limit2</precondition>
        <precondition>actor_need_help.abuse_no_punch</precondition>
        <precondition>actor_need_help.actor_can_decide</precondition>
        <phrase_list>
            <phrase id="0">
                <text>Friend, can you...</text>
                <next>11a</next>
                <next>12</next>
            </phrase>
            <phrase id="11a">
                <precondition>actor_need_help.npc_have_medkit</precondition>
                <text>Holy shit... Just leave me alone! Otherwise I can't help you.</text>
                <action>actor_need_help.activate_scheme</action>
                <action>actor_need_help.reset_abuse</action>
            </phrase>
            <phrase id="12">
                <precondition>actor_need_help.npc_havent_medkit</precondition>
                <text>Marked One! I repeat: I haven't got any medkits. Please keep this in mind and don't ask me about this anymore.</text>
                <action>actor_need_help.inc_abuse</action>
            </phrase>
        </phrase_list>
    </dialog>
    <dialog id="actor_will_need_help_abuse">
        <precondition>actor_need_help.i_am_friend</precondition>
        <precondition>actor_need_help.scheme_is_not_active</precondition>
        <precondition>actor_need_help.abuse_limit</precondition>
        <precondition>actor_need_help.actor_can_decide</precondition>
        <phrase_list>
            <phrase id="0">
                <text>Friend, can you...</text>
                <next>11a</next>
                <next>12</next>
            </phrase>
            <phrase id="11a">
                <precondition>actor_need_help.npc_have_medkit</precondition>
                <text>Leave me. I've already explained all to you.</text>
                <action>actor_need_help.activate_scheme</action>
                <action>actor_need_help.reset_abuse</action>
            </phrase>
            <phrase id="12">
                <precondition>actor_need_help.npc_havent_medkit</precondition>
                <text>I repeat: I haven't got any medkits. Please keep this in mind and don't ask me about this anymore.</text>
                <action>actor_need_help.inc_abuse</action>
                <next>21</next>
                <next>22</next>
                <next>23</next>
                <next>24</next>
            </phrase>
            <phrase id="21">
                <text>Three?</text>
                <next>31</next>
            </phrase>
            <phrase id="22">
                <text>Well, excuse me. But can you help me?</text>
                <next>32</next>
            </phrase>
            <phrase id="23">
                <precondition>actor_need_help.actor_drunk</precondition>
                <text>D-do youu res... respe... respect me?</text>
                <next>100</next>
                <next>101</next>
            </phrase>
            <phrase id="24">
                <text>Ah, I see. You're in condition, aha... do you want to buy a medkit?</text>
                <next>34</next>
            </phrase>
            <phrase id="31">
                <text>Yes, you're right. You know how to count, so why you do ask this again? You're pretty strange...</text>
            </phrase>
            <phrase id="32">
                <text>Damn, how stupid jokes you have.</text>
            </phrase>
            <phrase id="33a">
                <precondition>actor_need_help.actor_antigas</precondition>
                <text>I respect you, aha. Try not to barf in your gasmask, Mr. Drunk.</text>
                <next>41</next>
            </phrase>
            <phrase id="33">
                <precondition>actor_need_help.actor_no_antigas</precondition>
                <text>Holy shit... it seems that you're drunk. Go relax, idiot...</text>
                <next>42</next>
            </phrase>
            <phrase id="34">
                <text>Ok, it will be useful.</text>
            </phrase>
            <phrase id="41">
                <text>Everything under cont... comtr... control. E-everything is ookay, don't worryy...</text>
            </phrase>
            <phrase id="42">
                <text>Aaaha, now I see... you doon't respect mee... I... I d-don't like it, you knoow...</text>
            </phrase>
            <phrase id="100">
                <precondition>actor_need_help.actor_antigas</precondition>
                <text>I respect you, aha. Try not to barf in your gasmask, idiot.</text>
                <next>41</next>
            </phrase>            
            <phrase id="101">
                <precondition>actor_need_help.actor_no_antigas</precondition>
                <text>You are treated it means... Hold your breath..</text>
            </phrase>            
        </phrase_list>
    </dialog>
    <dialog id="actor_will_need_help">
        <precondition>actor_need_help.i_am_friend</precondition>
        <precondition>actor_need_help.scheme_is_not_active</precondition>
        <precondition>actor_need_help.no_abuse_limit</precondition>
        <precondition>actor_need_help.actor_can_decide</precondition>
        <phrase_list>
            <phrase id="0">
                <text>Hi there... would you like to go in raid with me? It's too dangerous to go alone in the Zone.</text>
                <next>11a</next>
                <next>12</next>
            </phrase>
            <phrase id="11a">
                <precondition>actor_need_help.npc_have_medkit</precondition>
                <text>Well, why not...  it's pretty dangerous to go alone in the Zone. I am ready to go.</text>
                <action>actor_need_help.status_changed</action>
                <action>actor_need_help.activate_scheme</action>
            </phrase>
            <phrase id="12">
                <precondition>actor_need_help.npc_havent_medkit</precondition>
                <text>Sorry, friend... I don't have any medkits, give me some.</text>
                <action>actor_need_help.inc_abuse</action>
                <next>21</next>
                <next>22</next>
                <next>23</next>
                <next>24</next>
                <next>25</next>
            </phrase>
            <phrase id="21">
                <text>Ah, ok...</text>
            </phrase>
            <phrase id="22">
                <precondition>actor_need_help.actor_have_ge1_medkit</precondition>
                <text>Ok, here it is...</text>
                <action>actor_need_help.transfer_1_medkit</action>
                <next>31</next>
            </phrase>
            <phrase id="23">
                <precondition>actor_need_help.actor_have_ge2_medkit</precondition>
                <text>Okay, here are two medkits.</text>
                <action>actor_need_help.transfer_2_medkit</action>
                <next>31</next>
            </phrase>
            <phrase id="24">
                <precondition>actor_need_help.actor_have_ge4_medkit</precondition>
                <text>Here are four medkits.</text>
                <action>actor_need_help.transfer_4_medkit</action>
                <next>31</next>
            </phrase>
            <phrase id="25">
                <precondition>actor_need_help.actor_have_ge8_medkit</precondition>
                <text>Well... here you go... there are eight medkits.</text>
                <action>actor_need_help.transfer_8_medkit</action>
                <next>32</next>
            </phrase>
            <phrase id="31">
                <text>Well, let's go.</text>
                <action>actor_need_help.status_changed</action>
                <action>actor_need_help.activate_scheme</action>
            </phrase>
            <phrase id="32">
                <text>You can count on me.</text>
                <action>actor_need_help.status_changed</action>
                <action>actor_need_help.activate_scheme</action>
            </phrase>
        </phrase_list>
    </dialog>
    <dialog id="actor_will_not_need_help">
        <precondition>actor_need_help.i_am_friend</precondition>
        <precondition>actor_need_help.scheme_is_active</precondition>
        <precondition>actor_need_help.actor_can_decide</precondition>
        <phrase_list>
            <phrase id="0">
                <text>Thank you, friend, for now you can continue for your own. Hope to see you again.</text>
                <next>21</next>
            </phrase>
            <phrase id="21">
                <text>Good luck!</text>
                <action>actor_need_help.status_changed</action>
                <action>actor_need_help.deactivate_scheme</action>
            </phrase>
        </phrase_list>
    </dialog>
    <dialog id="actor_gives_commands">
        <precondition>actor_need_help.scheme_is_active</precondition>
        <init_func>actor_need_help.init_commands_dialog</init_func>
    </dialog>
    <dialog id="actor_cannot_decide">
        <precondition>actor_need_help.i_am_friend</precondition>
        <precondition>actor_need_help.actor_cannot_decide</precondition>
        <phrase_list>
            <phrase id="0">
                <text>I care about ...</text>
                <next>21</next>
                <next>22</next>
            </phrase>
            <phrase id="21">
                <precondition>actor_need_help.scheme_is_not_active_npc</precondition>
                <text>Well, man... relax, walk around... than we'll talk.</text>
            </phrase>
            <phrase id="22">
                <precondition>actor_need_help.scheme_is_active_npc</precondition>
                <text>Friend, make your choice and then we'll talk.</text>
            </phrase>
        </phrase_list>
    </dialog>
    
</game_dialogs>
