Divergent/mods/Redone Collection/gamedata/scripts/modxml_renegade_desc_dxml.s...

83 lines
3.3 KiB
Plaintext
Raw Normal View History

2024-03-17 20:18:03 -04:00
function on_xml_read()
RegisterScriptCallback("on_xml_read", function(xml_file_name, xml_obj)
local xml_to_change = [[gameplay\character_desc_marsh.xml]]
if xml_file_name == xml_to_change then
local renegade_trader_profile = [[
<specific_character id="mar_renegade_trader" team_default="1">
2024-03-17 20:18:03 -04:00
<name>mar_renegade_trader_name</name>
<icon>ui_inGame2_bandit_1</icon>
<map_icon x="1" y="0"></map_icon>
<bio>Детальная No information is available.</bio>
<class>>mar_renegade_trader</class>
<community>renegade</community>
<money min="50000" max="75000" infinitive="1"/>
<rank min="25000" max="35000" />
<reputation min="-2500" max="-500" />
<supplies>
[spawn] \n
wpn_ak74u \n
ammo_5.45x39_fmj = 1 \n
wpn_hpsa \n
ammo_9x19_fmj = 1 \n
#include "gameplay\supplies\character_items_nd.xml"
#include "gameplay\supplies\character_food.xml"
#include "gameplay\supplies\character_drugs.xml"
</supplies>
#include "gameplay\character_criticals.xml"
<terrain_sect>stalker_terrain</terrain_sect>
<snd_config>characters_voice\human\bandit_1\</snd_config>
<visual>actors\stalker_renegade\stalker_renegade_1a_face_3</visual>
2024-03-17 20:18:03 -04:00
<start_dialog>val_smart_terrain_7_4_bandit_trader_stalker_start_dialog</start_dialog>
<actor_dialog>dm_init_trader</actor_dialog>
<actor_dialog>drx_sl_task_completed_dialog</actor_dialog>
<actor_dialog>dm_ordered_task_completed_dialog</actor_dialog>
<actor_dialog>drx_sl_val_smart_terrain_7_4_bandit_trader_stalker_meet_dialog</actor_dialog>
<actor_dialog>dm_ordered_task_dialog</actor_dialog>
<actor_dialog>buy_route</actor_dialog>
<actor_dialog>debt_register</actor_dialog>
<actor_dialog>debt_pay_off</actor_dialog>
<actor_dialog>actor_break_dialog</actor_dialog>
</specific_character>
2024-03-17 20:18:03 -04:00
<specific_character id="mar_renegade_mechanic" team_default="1">
<name>mar_renegade_mechanic_name</name>
<icon>ui_inGame2_band_2_mask</icon>
<bio>Детальная No information is available.</bio>
<class>mar_renegade_mechanic</class>
<community>renegade</community>
<map_icon x="1" y="0"></map_icon>
<money min="50000" max="75000" infinitive="1"/>
<rank min="25000" max="3500" />
<reputation min="-2500" max="-500" />
<supplies>
[spawn] \n
wpn_ak74u \n
ammo_5.45x39_fmj = 1 \n
wpn_hpsa \n
ammo_9x19_fmj = 1 \n
#include "gameplay\supplies\character_items_nd.xml"
#include "gameplay\supplies\character_food.xml"
#include "gameplay\supplies\character_drugs.xml"
</supplies>
#include "gameplay\character_criticals.xml"
<terrain_sect>stalker_terrain</terrain_sect>
<mechanic_mode>1</mechanic_mode>
<snd_config>characters_voice\human\bandit_1\</snd_config>
<visual>actors\stalker_renegade\stalker_renegade_leader</visual>
2024-03-17 20:18:03 -04:00
<start_dialog>val_smart_terrain_7_3_bandit_mechanic_stalker_start_dialog</start_dialog>
<actor_dialog>dm_init_trader</actor_dialog>
<actor_dialog>dm_init_mechanic</actor_dialog>
<actor_dialog>dm_ordered_task_completed_dialog</actor_dialog>
<actor_dialog>dm_broker_dialog</actor_dialog>
<actor_dialog>drx_sl_mechanic_task_dialog</actor_dialog>
<actor_dialog>dm_tech_repair</actor_dialog>
<actor_dialog>dm_encrypted_pda</actor_dialog>
<actor_dialog>actor_break_dialog</actor_dialog>
</specific_character>
2024-03-17 20:18:03 -04:00
]]
xml_obj:insertFromXMLString(renegade_trader_profile)
end
end)
end