script_game_start = 0
script_game_event_party_encounter = 1
script_game_event_simulate_battle = 2
script_game_get_item_buy_price_factor = 3
script_game_get_item_sell_price_factor = 4
script_get_trade_penalty = 5
script_game_event_buy_item = 6
script_game_event_sell_item = 7
script_game_get_troop_wage = 8
script_game_get_join_cost = 9
script_game_get_prisoner_price = 10
script_game_check_prisoner_can_be_sold = 11
script_game_event_inspect_party = 12
script_game_get_statistics_line = 13
script_game_get_date_text = 14
script_game_get_money_text = 15
script_game_get_party_companion_limit = 16
script_party_get_ideal_size = 17
script_game_get_party_prisoner_limit = 18
script_game_get_item_extra_text = 19
script_game_on_disembark = 20
script_game_context_menu_get_buttons = 21
script_game_event_context_menu_button_clicked = 22
script_npc_get_troop_wage = 23
script_setup_talk_info = 24
script_update_party_creation_random_limits = 25
script_center_set_trade_good_production = 26
script_update_trade_good_prices = 27
script_update_trade_good_price_for_party = 28
script_do_merchant_town_trade = 29
script_party_calculate_regular_strength = 30
script_party_calculate_strength = 31
script_party_calculate_loot = 32
script_calculate_main_party_shares = 33
script_party_give_xp_and_gold = 34
script_setup_troop_meeting = 35
script_setup_party_meeting = 36
script_party_remove_all_companions = 37
script_party_remove_all_prisoners = 38
script_party_add_party_companions = 39
script_party_add_party_prisoners = 40
script_party_prisoners_add_party_companions = 41
script_party_prisoners_add_party_prisoners = 42
script_party_add_party = 43
script_party_copy = 44
script_clear_party_group = 45
script_get_nonempty_party_in_group = 46
script_collect_prisoners_from_empty_parties = 47
script_print_casualties_to_s0 = 48
script_party_count_fit_regulars = 49
script_party_count_fit_for_battle = 50
script_party_count_prisoners = 51
script_get_stack_with_rank = 52
script_inflict_casualties_to_party = 53
script_move_members_with_ratio = 54
script_count_parties_of_faction_and_party_type = 55
script_faction_recalculate_strength = 56
script_cf_select_random_center_with_faction = 57
script_cf_select_random_town_at_peace_with_faction = 58
script_shuffle_troop_slots = 59
script_cf_faction_get_random_enemy_faction = 60
script_cf_troop_get_random_enemy_troop_with_occupation = 61
script_cf_get_random_kingdom_hero_as_lover = 62
script_get_closest_walled_center = 63
script_get_closest_center = 64
script_get_closest_center_of_faction = 65
script_get_closest_walled_center_of_faction = 66
script_let_nearby_parties_join_current_battle = 67
script_party_wound_all_members_aux = 68
script_party_wound_all_members = 69
script_calculate_battle_advantage = 70
script_cf_check_enemies_nearby = 71
script_get_heroes_attached_to_center_aux = 72
script_get_heroes_attached_to_center = 73
script_get_heroes_attached_to_center_as_prisoner_aux = 74
script_get_heroes_attached_to_center_as_prisoner = 75
script_give_center_to_faction = 76
script_give_center_to_faction_aux = 77
script_give_center_to_lord = 78
script_get_number_of_hero_centers = 79
script_find_travel_location = 80
script_get_relation_between_parties = 81
script_calculate_weekly_party_wage = 82
script_calculate_player_faction_wage = 83
script_calculate_hero_weekly_net_income_and_add_to_wealth = 84
script_cf_reinforce_party = 85
script_hire_men_to_kingdom_hero_party = 86
script_create_kingdom_hero_party = 87
script_create_kingdom_party_if_below_limit = 88
script_cf_create_kingdom_party = 89
script_get_troop_attached_party = 90
script_center_get_food_consumption = 91
script_center_get_food_store_limit = 92
script_refresh_village_merchant_inventory = 93
script_refresh_village_defenders = 94
script_village_set_state = 95
script_process_village_raids = 96
script_process_sieges = 97
script_process_alarms = 98
script_party_set_ai_state = 99
script_decide_kingdom_party_ai = 100
script_party_decide_next_ai_state_under_command = 101
script_kingdom_hero_decide_next_ai_state = 102
script_process_kingdom_parties_ai = 103
script_process_hero_ai = 104
script_decide_faction_ai = 105
script_change_troop_renown = 106
script_change_player_relation_with_troop = 107
script_change_player_relation_with_center = 108
script_change_player_favor_of_troop = 109
script_change_player_relation_with_faction_ex = 110
script_make_kingdom_hostile_to_player = 111
script_change_player_honor = 112
script_change_player_party_morale = 113
script_get_player_party_morale_values = 114
script_diplomacy_start_war_between_kingdoms = 115
script_diplomacy_start_peace_between_kingdoms = 116
script_event_kingdom_make_peace_with_kingdom = 117
script_diplomacy_make_kingdom_vassal_of_kingdom = 118
script_exchange_prisoners_between_factions = 119
script_get_information_about_troops_position = 120
script_recruit_troop_as_companion = 121
script_setup_random_scene = 122
script_enter_dungeon = 123
script_enter_court = 124
script_find_high_ground_around_pos1 = 125
script_select_battle_tactic = 126
script_battle_tactic_init = 127
script_battle_tactic_apply = 128
script_team_get_class_percentages = 129
script_get_closest3_distance_of_team_at_pos1 = 130
script_team_get_average_position_of_enemies = 131
script_cf_is_quest_troop = 132
script_check_friendly_kills = 133
script_simulate_retreat = 134
script_simulate_battle_with_agents_aux = 135
script_get_number_of_unclaimed_centers_by_player = 136
script_troop_count_number_of_enemy_troops = 137
script_cf_troop_check_troop_is_enemy = 138
script_troop_get_leaded_center_with_index = 139
script_cf_troop_get_random_leaded_center = 140
script_troop_write_owned_centers_to_s2 = 141
script_troop_write_family_relations_to_s1 = 142
script_write_family_relation_as_s3s_s2_to_s4 = 143
script_complete_family_relations = 144
script_collect_friendly_parties = 145
script_encounter_calculate_fit = 146
script_encounter_init_variables = 147
script_calculate_renown_value = 148
script_cf_get_first_agent_with_troop_id = 149
script_cf_team_get_average_position_of_agents_with_type_to_pos1 = 150
script_cf_turn_windmill_fans = 151
script_print_party_members = 152
script_change_banners = 153
script_describe_relation_to_s63 = 154
script_describe_center_relation_to_s3 = 155
script_init_town_walkers = 156
script_init_town_walker_agents = 157
script_tick_town_walkers = 158
script_set_town_walker_destination = 159
script_siege_init_ai_and_belfry = 160
script_cf_siege_move_belfry = 161
script_cf_siege_rotate_belfry_platform = 162
script_cf_siege_assign_men_to_belfry = 163
script_store_movement_order_name_to_s1 = 164
script_store_riding_order_name_to_s1 = 165
script_store_weapon_usage_order_name_to_s1 = 166
script_team_give_order_from_order_panel = 167
script_update_order_panel = 168
script_update_agent_position_on_map = 169
script_convert_3d_pos_to_map_pos = 170
script_update_order_flags_on_map = 171
script_update_order_panel_checked_classes = 172
script_update_order_panel_statistics_and_map = 173
script_consume_food = 174
script_calculate_troop_score_for_center = 175
script_assign_lords_to_empty_centers = 176
script_create_village_farmer_party = 177
script_do_party_center_trade = 178
script_player_join_faction = 179
script_start_quest = 180
script_report_quest_troop_positions = 181
script_end_quest = 182
script_update_village_market_towns = 183
script_update_mercenary_units_of_towns = 184
script_update_volunteer_troops_in_village = 185
script_update_companion_candidates_in_taverns = 186
script_update_ransom_brokers = 187
script_update_tavern_travelers = 188
script_update_tavern_minstels = 189
script_update_faction_notes = 190
script_update_faction_traveler_notes = 191
script_update_troop_notes = 192
script_update_center_notes = 193
script_update_center_recon_notes = 194
script_spawn_bandits = 195
script_count_mission_casualties_from_agents = 196
script_get_max_skill_of_player_party = 197
script_upgrade_hero_party = 198
script_check_enemies_nearby = 199
script_party_heroes_extra_gold_and_xp = 200
script_defeat_lose_items = 201
script_get_hero_gold_amounts = 202
script_divide_gold_among_heroes = 203
script_give_all_hero_gold_to_player = 204
script_perform_hero_equipment_upgrades = 205
script_troop_armor_upgrade = 206
script_troop_helmet_upgrade = 207
script_troop_boots_upgrade = 208
script_troop_gloves_upgrade = 209
script_troop_onehanded_upgrade = 210
script_troop_onehanded_blunt_upgrade = 211
script_troop_twohanded_upgrade = 212
script_troop_polearm_upgrade = 213
script_troop_lance_upgrade = 214
script_troop_shield_upgrade = 215
script_troop_throwing_upgrade = 216
script_troop_bows_upgrade = 217
script_troop_crossbows_upgrade = 218
script_troop_horse_upgrade = 219
script_upgrade_if_possible = 220
script_get_heavy_armor_pref = 221
script_get_troop_hash = 222
script_check_hero_avail_inventory = 223
script_adjust_buy_price = 224
script_access_inventory = 225
script_unequip_inventory = 226
script_copy_inventory = 227
script_transfer_inventory = 228
script_split_inventory = 229
script_merge_inventory = 230
script_equip_for_battle = 231
script_unequip_for_battle = 232
script_sort_inventory = 233
script_auto_loot_all = 234
script_analyze_inventory = 235
script_auto_loot_merge = 236
script_get_item_imod = 237
script_troop_can_use_item = 238
script_troop_can_use_item_well = 239
script_give_special_loot = 240
script_item_is_lootable = 241
script_chengchi = 242
script_wounded = 243
script_remove_war_party = 244
script_move_party = 245
script_spawn_party_at_random_town_if_below_limit = 246
script_spawn_party_at_faction_town_if_below_limit = 247
script_calculate_party_shares = 248
script_select_random_spawn_point = 249
script_select_faction_spawn_point = 250
script_select_faction_town = 251
script_cf_is_troop_same_faction = 252
script_start_quest = 253
script_complete_quest = 254
script_succeed_quest = 255
script_fail_quest = 256
script_report_quest_troop_positions = 257
script_end_quest = 258
script_get_random_quest = 259
script_cf_get_random_lord_in_a_center_with_faction = 260
script_cf_get_random_lord_from_another_faction_in_a_center = 261
script_cf_troop_get_random_leaded_town_or_village_except_center = 262
script_cf_select_random_village_with_faction = 263
script_cf_select_random_town_with_faction = 264
script_finish_quest = 265
script_abort_quest = 266
script_change_debt_to_troop = 267
script_cf_check_relation_with_faction = 268
script_get_job = 269
script_command_lord_avalible = 270
script_suggestion_success_poss = 271
script_try_suggest = 272
script_count_qi_xi_agents = 273
script_add_qi_xi_troop_to_main_party = 274
script_sg_huo_ji = 275
script_sg_li_jian = 276
script_sg_qi_xi = 277
script_sg_hun_luan = 278
script_sg_xian_jing = 279
script_sg_hun_luan_ai = 280
script_sg_li_jian_ai = 281
script_sg_huo_ji_ai = 282
script_sg_qi_xi_ai = 283
script_wounded = 284
script_remove_war_party = 285
script_move_party = 286
script_set_lord_init = 287
script_sango_init_city = 288


