Divergent/mods/Blackjack/gamedata/scripts/dialog_minigames.script

51 lines
3.2 KiB
Plaintext
Raw Normal View History

2024-03-17 20:18:03 -04:00
dialogs_table = {
["agr_smart_terrain_1_6_army_trader_stalker"] = "minigames_military",
["agr_1_6_barman_army_mlr"] = "minigames_military",
["bar_visitors_barman_stalker_trader"] = "bar_barmen_minigame_21_point_dialog",
["bar_dolg_leader"] = "minigames_military",
["bar_dolg_general_petrenko_stalker"] = "minigames_military",
["dasc_trade_mlr"] = "minigames_maslina",
["zat_b7_bandit_boss_sultan"] = "minigames_maslina",
["val_smart_terrain_7_4_bandit_trader_stalker"] = "minigames_maslina",
["val_smart_terrain_7_3_bandit_mechanic_stalker"] = "minigames_maslina",
["cit_killers_merc_trader_stalker"] = "cit_killers_minigame",
["cit_killers_merc_barman_mlr"] = "cit_killers_minigame",
["esc_2_12_stalker_trader"] = "minigames_sidor",
["jup_a6_freedom_trader_ashot"] = "cit_killers_minigame",
["jup_b19_freedom_yar"] = "minigames_petrenko",
["jup_a6_stalker_barmen"] = "cit_killers_minigame",
["jup_b6_scientist_nuclear_physicist"] = "saxarov_minigame",
["jup_b6_scientist_biochemist"] = "saxarov_minigame",
["jup_cont_mech_bandit"] = "minigames_maslina",
["jup_cont_trader_bandit"] = "minigames_maslina",
["mar_smart_terrain_base_doctor"] = "saxarov_minigame",
["mar_base_stalker_barmen"] = "jup_barmen_minigame_21_point_dialog",
["mar_base_owl_stalker_trader"] = "cit_killers_minigame",
["mar_smart_terrain_base_stalker_leader_marsh"] = "xolod_minigame",
["hunter_gar_trader"] = "cit_killers_minigame",
["baraholka_trader_night"] = "minigames_maslina",
["mil_smart_terrain_7_10_freedom_trader_stalker"] = "bar_barmen_minigame_21_point_dialog",
["mil_freedom_barman_mlr"] = "jup_barmen_minigame_21_point_dialog",
["mil_freedom_barman_mlr"] = "jup_barmen_minigame_21_point_dialog",
["red_forester_tech"] = "lesnik_minigame",
["trucks_cemetery_bandit_trader"] = "minigames_maslina",
["trucks_cemetery_bandit_mechanic"] = "minigames_maslina",
["yan_stalker_sakharov"] = "saxarov_minigame",
["yan_ecolog_kruglov"] = "saxarov_minigame",
["yan_ecolog_vasilyev"] = "saxarov_minigame",
["yan_povar_army_mlr"] = "minigames_military",
["zat_stancia_trader_merc"] = "cit_killers_minigame",
["zat_b30_owl_stalker_trader"] = "zat_sich_minigame_21_point_dialog",
["zat_a2_stalker_barmen"] = "bar_barmen_minigame_21_point_dialog",
}
function on_game_start()
RegisterScriptCallback("on_specific_character_dialog_list", function(character_id, dialog_list)
if dialogs_table[character_id] then
local res = dialog_list:add(dialogs_table[character_id])
if res then
printf("adding dialog %s for %s, pos %s", dialogs_table[character_id], character_id, res)
end
end
end)
end