搜索结果: *

  1. bayjell654

    Frequently Asked Questions (FAQ)

    I actually like wfas and loved warband with diplomacy of sending honey or beer to anyone, changing tax rates, militia production, and goods production, and sending messengers to anyone and just being able to control your own kingdom and I think with the improvement system from wfas along with diplomacys options would be awesome. at least, to me it would.
  2. bayjell654

    Frequently Asked Questions (FAQ)

    Is there anyway at all to port diplomacy from warband to fire and sword?
  3. bayjell654

    With Fire & Sword: Questions and Answers

    And with the 4000 character limit, here is the LAST little bit of coding that wouldn't fit
    sorry
    插入代码块:
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_30_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_30_day_p1, 100),
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_30_day_p2, "str_ms_gold_notification_barrack"),
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_30_day_p3, ms_flag_simple),
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_30_day_p4, -250),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_script_30_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_script_30_day_p1, 15),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_script_30_day_p2, "str_ms_gold_notification_barrack"),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_script_30_day_p3, ms_flag_simple),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_script_30_day_p4, -400),
    		(troop_set_slot, "trp_town_building_school", slot_ms_script_30_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_town_building_school", slot_ms_script_30_day_p1, 7),
    		(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_script_30_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_script_30_day_p1, -7),
    		(troop_set_slot, "trp_town_building_treasury", slot_ms_script_30_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_town_building_treasury", slot_ms_script_30_day_p1, 10),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_script_30_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_script_30_day_p1, 7),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_30_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_30_day_p1, 5),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_script_30_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_script_30_day_p1, 3),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_30_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_30_day_p1, 35),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_30_day_p2, "str_ms_gold_notification_secret_order"),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_30_day_p3, ms_flag_random),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_30_day_p4, 3),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_30_day_p5, 5),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_30_day_p6, 1300),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_script_30_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_script_30_day_p1, -6),
    		(troop_set_slot, "trp_town_upgrade_trading_master", slot_ms_script_30_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_town_upgrade_trading_master", slot_ms_script_30_day_p1, 4),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_30_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_30_day_p1, 30),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_30_day_p2, "str_ms_gold_notification_priest"),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_30_day_p3, ms_flag_random),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_30_day_p4, 20),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_30_day_p5, 41),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_30_day_p6, 100),
    		(troop_set_slot, "trp_village_building_mill", slot_ms_script_30_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_village_building_mill", slot_ms_script_30_day_p1, 6),
    		(troop_set_slot, "trp_village_building_barn", slot_ms_script_30_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_village_building_barn", slot_ms_script_30_day_p1, 7),
    		(troop_set_slot, "trp_village_building_school", slot_ms_script_30_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_village_building_school", slot_ms_script_30_day_p1, 4),
    		(troop_set_slot, "trp_village_building_administration", slot_ms_script_30_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_village_building_administration", slot_ms_script_30_day_p1, 4),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_script_30_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_script_30_day_p1, 25),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_script_30_day_p2, "str_ms_gold_notification_judge"),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_script_30_day_p3, ms_flag_random),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_script_30_day_p4, 20),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_script_30_day_p5, 41),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_script_30_day_p6, 100),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_script_30_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_script_30_day_p1, 35),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_script_30_day_p2, "str_ms_gold_notification_treasurer"),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_script_30_day_p3,  ms_flag_random),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_script_30_day_p4,20),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_script_30_day_p5, 36),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_script_30_day_p6, 100),
    		(troop_set_slot, "trp_village_upgrade_priest", slot_ms_script_30_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_village_upgrade_priest", slot_ms_script_30_day_p1, 4),
    		(troop_set_slot, "trp_village_upgrade_police_master", slot_ms_script_30_day, "script_ms_event_raise_relation_with_party"),
    		(troop_set_slot, "trp_village_upgrade_police_master", slot_ms_script_30_day_p1, 100),
    		(troop_set_slot, "trp_village_upgrade_police_master", slot_ms_script_30_day_p2, 5),
    		(troop_set_slot, "trp_town_building_barrack", slot_ms_script_30_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_building_barrack", slot_ms_script_30_day_p1, 100),
    		(troop_set_slot, "trp_town_building_barrack", slot_ms_script_30_day_p2, "str_ms_gold_notification_barrack"),
    		(troop_set_slot, "trp_town_building_barrack", slot_ms_script_30_day_p3, ms_flag_simple),
    		(troop_set_slot, "trp_town_building_barrack", slot_ms_script_30_day_p4, -900),		
    		(troop_set_slot, "trp_town_building_stable", slot_ms_script_30_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_building_stable", slot_ms_script_30_day_p1, 100),
    		(troop_set_slot, "trp_town_building_stable", slot_ms_script_30_day_p2, "str_ms_gold_notification_stable"),
    		(troop_set_slot, "trp_town_building_stable", slot_ms_script_30_day_p3, ms_flag_simple),
    		(troop_set_slot, "trp_town_building_stable", slot_ms_script_30_day_p4, -1500),		
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_7_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_7_day_p1, 100),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_7_day_p2, "str_ms_gold_notification_officer_lower_level"),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_7_day_p3, ms_flag_simple),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_7_day_p4, -250),		
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_script_7_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_script_7_day_p1, 100),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_script_7_day_p2, "str_ms_gold_notification_barrack"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_script_7_day_p3, ms_flag_simple),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_script_7_day_p4, -300),		
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_script_7_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_script_7_day_p1, 100),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_script_7_day_p2, "str_ms_gold_notification_barrack"),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_script_7_day_p3, ms_flag_simple),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_script_7_day_p4, -400),		
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_script_7_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_script_7_day_p1, 100),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_script_7_day_p2, "str_ms_gold_notification_barrack"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_script_7_day_p3, ms_flag_simple),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_script_7_day_p4, -500),		
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_script_7_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_script_7_day_p1, 100),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_script_7_day_p2, "str_ms_gold_notification_barrack"),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_script_7_day_p3, ms_flag_simple),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_script_7_day_p4, -600),		
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_script_7_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_script_7_day_p1, 100),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_script_7_day_p2, "str_ms_gold_notification_barrack"),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_script_7_day_p3, ms_flag_simple),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_script_7_day_p4, -650),		
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_script_7_day, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_script_7_day_p1, 100),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_script_7_day_p2, "str_ms_gold_notification_barrack"),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_script_7_day_p3, ms_flag_simple),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_script_7_day_p4, -750),
    
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_officer_lower_level_count, 6),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_officer_kostyak_count, 4),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_officer_militiaman_count, 5),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_officer_region_count, 3),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_officer_elementar_cavalry_count, 4),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_officer_elite_infantry_count, 4),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_officer_elite_cavalry_count, 3),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_officer_uniq_count, 3),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_officer_mercenary_count, 4),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_officer_lower_level_count, 2),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_officer_militiaman_count, 2),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_officer_elementar_cavalry_count, 2),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_officer_elementar_cavalry_count, 1),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_officer_militiaman_count, 1),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_officer_elementar_cavalry_count, 1),
    				
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_officer_lower_level_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_officer_kostyak_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_officer_militiaman_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_officer_region_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_officer_elementar_cavalry_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_officer_elite_infantry_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_officer_elite_cavalry_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_officer_uniq_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_officer_mercenary_time, 4*24),
  4. bayjell654

    With Fire & Sword: Questions and Answers

    Okay, not sure if this is exactly where this needs posted, but it's in WFaS Q&A, so I figured I can't be too aweful wrong...
    anyways, I am trying to modify the actual build times for improvements with module system, and I've used tweakmb but it just changes the dialogue so it says (in-game) negative values up till it's completed. So, I can assume that it is only changing the display value, not the actual working value. I'm pretty sure the solution of what to edit is in this bit of coding from the scripts.py file, but I'm still very new at this and could use some pointers, I've read the module system docs on here but I'm still trying to figure all this out. Any and all help/advice will be helpful.

    插入代码块:
    	#Expanded management system -begin
    	#MS Init scripts -begin
    	("ms_init",
        [	
    		(assign, "$g_ms_cur_elements_type", ms_flag_building),
    		(try_for_range, ":cur_element", ms_elenents_start, ms_elements_end),
    			(store_sub, ":offset", ":cur_element", ms_elenents_start),
    			(val_mul, ":offset", 15),
    			(store_add, ":start_string", ":offset", ms_descr_strings_start),
    			(try_for_range, ":slot_offset", 0, 15),
    				(store_add, ":cur_descr_string", ":start_string", ":slot_offset"),
    				(troop_set_slot, ":cur_element", ":slot_offset", ":cur_descr_string"),
    			(try_end),
    			(troop_set_slot, ":cur_element", slot_ms_was_used, ms_flag_empty),
    			(troop_set_slot, ":cur_element", slot_ms_construct_requirements, ms_flag_empty),
    			(troop_set_slot, ":cur_element", slot_ms_ai_requirements, ms_flag_empty),
    			(troop_set_slot, ":cur_element", slot_ms_additional_menu, ms_flag_empty),
    			(troop_set_slot, ":cur_element", slot_ms_additional_menu_p1, "script_ms_add_always_true"),
    			(troop_set_slot, ":cur_element", slot_ms_script_before_attack, ms_flag_empty),
    			(troop_set_slot, ":cur_element", slot_ms_script_looted, ms_flag_empty),
    			(troop_set_slot, ":cur_element", slot_ms_script_captured, ms_flag_empty),
    			(troop_set_slot, ":cur_element", slot_ms_script_after_construct, ms_flag_empty),
    			(troop_set_slot, ":cur_element", slot_ms_script_24_hour, ms_flag_empty),
    			(troop_set_slot, ":cur_element", slot_ms_script_7_day, ms_flag_empty),
    			(troop_set_slot, ":cur_element", slot_ms_script_30_day, ms_flag_empty),
    		(try_end),
    		
    		#(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_construct_requirements, ms_flag_empty),
    		(troop_set_slot, "trp_town_building_treasury", slot_ms_construct_requirements, "script_ms_construct_only_one_instanse_for_player"),
    		(troop_set_slot, "trp_town_upgrade_trading_master", slot_ms_construct_requirements, "script_ms_construct_party_has_merchant_guild"),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_construct_requirements, "script_ms_construct_party_has_arm_buildings"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_construct_requirements, "script_ms_construct_party_has_certain_officer"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_construct_requirements_p1, "trp_town_upgrade_garrison_commander"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_construct_requirements_p2, ms_flag_infantry),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_construct_requirements, "script_ms_construct_party_has_certain_officer"),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_construct_requirements_p1, "trp_town_upgrade_officer_infantry"),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_construct_requirements_p2, ms_flag_cavalry),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_construct_requirements, "script_ms_construct_party_has_certain_officer"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_construct_requirements_p1, "trp_town_upgrade_officer_infantry"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_construct_requirements_p2, ms_flag_infantry),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_construct_requirements, "script_ms_construct_party_has_certain_officer"),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_construct_requirements_p1, "trp_town_upgrade_officer_cavalry"),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_construct_requirements_p2, ms_flag_cavalry),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_construct_requirements, "script_ms_construct_party_has_certain_officers"),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_construct_requirements_p1, "trp_town_upgrade_officer_infantry_guard"),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_construct_requirements_p2, "trp_town_upgrade_officer_cavalry_guard"),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_construct_requirements_p3, ms_flag_cavalry),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_construct_requirements, "script_ms_construct_party_has_certain_officer"),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_construct_requirements_p1, "trp_town_upgrade_officer_infantry"),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_construct_requirements_p2, ms_flag_cavalry),
    		(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_ai_requirements, "script_ms_construct_prosperity_rich_or_greater"),
    		(troop_set_slot, "trp_town_building_treasury", slot_ms_ai_requirements, "script_ms_construct_only_one_instanse_for_lord_faction"),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_ai_requirements, "script_ms_construct_party_has_arm_buildings"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_ai_requirements, "script_ms_construct_party_has_certain_officer"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_ai_requirements_p1, "trp_town_upgrade_garrison_commander"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_ai_requirements_p2, ms_flag_infantry),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_ai_requirements, "script_ms_construct_party_has_certain_officer"),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_ai_requirements_p1, "trp_town_upgrade_officer_infantry"),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_ai_requirements_p2, ms_flag_cavalry),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_ai_requirements, "script_ms_construct_party_has_certain_officer"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_ai_requirements_p1, "trp_town_upgrade_officer_infantry"),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_ai_requirements_p2, ms_flag_infantry),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_ai_requirements, "script_ms_construct_party_has_certain_officer"),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_ai_requirements_p1, "trp_town_upgrade_officer_cavalry"),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_ai_requirements_p2, ms_flag_cavalry),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_ai_requirements, "script_ms_construct_party_has_certain_officers"),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_ai_requirements_p1, "trp_town_upgrade_officer_infantry_guard"),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_ai_requirements_p2, "trp_town_upgrade_officer_cavalry_guard"),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_ai_requirements_p3, ms_flag_cavalry),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_ai_requirements, "script_ms_construct_party_has_certain_officer"),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_ai_requirements_p1, "trp_town_upgrade_officer_infantry"),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_ai_requirements_p2, ms_flag_cavalry),
    		
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_ai_priority, 100),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_ai_priority, 90),
    		(troop_set_slot, "trp_town_building_school", slot_ms_ai_priority, 90),
    		(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_ai_priority, 90),
    		(troop_set_slot, "trp_town_building_defense", slot_ms_ai_priority, 70),
    		(troop_set_slot, "trp_town_building_treasury", slot_ms_ai_priority, 10),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_ai_priority, 70),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_town_upgrade_adviser", slot_ms_ai_priority, 0),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_town_upgrade_trading_master", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_village_building_mill", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_village_building_barn", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_village_building_school", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_village_building_secret_place", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_village_building_administration", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_village_upgrade_priest", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_village_upgrade_police_master", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_town_building_barrack", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_town_building_stable", slot_ms_ai_priority, 60),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_ai_priority, 80),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_ai_priority, 70),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_ai_priority, 70),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_ai_priority, 60),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_ai_priority, 60),
    		
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_price, 8000),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_price, 4000),
    		(troop_set_slot, "trp_town_building_school", slot_ms_price, 11000),
    		(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_price, 4000),
    		(troop_set_slot, "trp_town_building_defense", slot_ms_price, 12000),
    		(troop_set_slot, "trp_town_building_treasury", slot_ms_price, 3000),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_price, 2000),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_price, 2000),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_price, 3000),
    		(troop_set_slot, "trp_town_upgrade_adviser", slot_ms_price, 1500),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_price, 1300),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_price, 1200),
    		(troop_set_slot, "trp_town_upgrade_trading_master", slot_ms_price, 1400),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_price, 2000),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_price, 1500),
    		(troop_set_slot, "trp_village_building_mill", slot_ms_price, 2500),
    		(troop_set_slot, "trp_village_building_barn", slot_ms_price, 1200),
    		(troop_set_slot, "trp_village_building_school", slot_ms_price, 1200),
    		(troop_set_slot, "trp_village_building_secret_place", slot_ms_price, 2000),
    		(troop_set_slot, "trp_village_building_administration", slot_ms_price, 1100),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_price, 1100),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_price, 1100),
    		(troop_set_slot, "trp_village_upgrade_priest", slot_ms_price, 900),
    		(troop_set_slot, "trp_village_upgrade_police_master", slot_ms_price, 500),
    		(troop_set_slot, "trp_town_building_barrack", slot_ms_price, 4000),
    		(troop_set_slot, "trp_town_building_stable", slot_ms_price, 6500),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_price, 1800),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_price, 2900),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_price, 4050),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_price, 4200),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_price, 10000),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_price, 3500),
    		
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_construct_time, 12*14),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_construct_time, 10*12),
    		(troop_set_slot, "trp_town_building_school", slot_ms_construct_time, 10*24),
    		#(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_construct_time, 10*24),
    		(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_construct_time, 1),
    		(troop_set_slot, "trp_town_building_defense", slot_ms_construct_time, 21*24),
    		(troop_set_slot, "trp_town_building_treasury", slot_ms_construct_time, 20*24),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_construct_time, 5*24),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_construct_time, 5*24),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_construct_time, 5*24),
    		(troop_set_slot, "trp_town_upgrade_adviser", slot_ms_construct_time, 3*24),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_construct_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_construct_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_trading_master", slot_ms_construct_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_construct_time, 5*24),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_construct_time, 5*24),
    		(troop_set_slot, "trp_village_building_mill", slot_ms_construct_time, 10*24),
    		(troop_set_slot, "trp_village_building_barn", slot_ms_construct_time, 7*24),
    		(troop_set_slot, "trp_village_building_school", slot_ms_construct_time, 7*24),
    		(troop_set_slot, "trp_village_building_secret_place", slot_ms_construct_time, 3*24),
    		(troop_set_slot, "trp_village_building_administration", slot_ms_construct_time, 4*24),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_construct_time, 3*24),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_construct_time, 4*24),
    		(troop_set_slot, "trp_village_upgrade_priest", slot_ms_construct_time, 5*24),
    		(troop_set_slot, "trp_village_upgrade_police_master", slot_ms_construct_time, 3*24),
    		(troop_set_slot, "trp_town_building_barrack", slot_ms_construct_time, 5*24),
    		(troop_set_slot, "trp_town_building_stable", slot_ms_construct_time, 6*24),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry", slot_ms_construct_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry", slot_ms_construct_time, 5*24),
    		(troop_set_slot, "trp_town_upgrade_officer_infantry_guard", slot_ms_construct_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_officer_cavalry_guard", slot_ms_construct_time, 4*24),
    		(troop_set_slot, "trp_town_upgrade_officer_elite_guard", slot_ms_construct_time, 10*24),
    		(troop_set_slot, "trp_town_upgrade_officer_mercenary", slot_ms_construct_time, 12*24),
    		
    		(troop_set_slot, "trp_town_building_school", slot_ms_additional_menu, "mnu_ms_additional_school"),
    		(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_additional_menu, "mnu_ms_additional_merchant_guild"),
    		(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_additional_menu_p1, "script_ms_add_check_troop_faction_relations"),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_additional_menu, "mnu_ms_additional_extra_goods"),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_additional_menu, "mnu_ms_additional_extra_goods"),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_additional_menu, "mnu_ms_additional_extra_goods"),
    		(troop_set_slot, "trp_town_upgrade_adviser", slot_ms_additional_menu, "mnu_ms_additional_adviser"),
    		(troop_set_slot, "trp_town_upgrade_adviser", slot_ms_additional_menu_p1, "script_ms_add_always_false"),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_additional_menu, "mnu_ms_additional_officer"),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_additional_menu_p1, "script_ms_check_for_any_officer"),
    		
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_before_attack, ms_flag_empty), #Suvorov Removed somewhat bugged scripts. 
    		(troop_set_slot, "trp_town_building_defense", slot_ms_script_before_attack, ms_flag_empty),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_before_attack, ms_flag_empty),
    		
    		(troop_set_slot, "trp_village_building_mill", slot_ms_script_looted, "script_ms_event_destroy_element"),
    		(troop_set_slot, "trp_village_building_mill", slot_ms_script_looted_p1, 10),
    		(troop_set_slot, "trp_village_building_barn", slot_ms_script_looted, "script_ms_event_destroy_element"),
    		(troop_set_slot, "trp_village_building_barn", slot_ms_script_looted_p1, 10),
    		(troop_set_slot, "trp_village_building_school", slot_ms_script_looted, "script_ms_event_destroy_element"),
    		(troop_set_slot, "trp_village_building_school", slot_ms_script_looted_p1, 10),
    		(troop_set_slot, "trp_village_building_secret_place", slot_ms_script_looted, "script_ms_event_destroy_element"),
    		(troop_set_slot, "trp_village_building_secret_place", slot_ms_script_looted_p1, 15),
    		(troop_set_slot, "trp_village_building_administration", slot_ms_script_looted, "script_ms_event_destroy_element"),
    		(troop_set_slot, "trp_village_building_administration", slot_ms_script_looted_p1, 10),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_script_looted, "script_ms_event_destroy_element"),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_script_looted_p1, 10),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_script_looted, "script_ms_event_destroy_element"),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_script_looted_p1, 10),
    		(troop_set_slot, "trp_village_upgrade_priest", slot_ms_script_looted, "script_ms_event_destroy_element"),
    		(troop_set_slot, "trp_village_upgrade_priest", slot_ms_script_looted_p1, 10),
    		(troop_set_slot, "trp_village_upgrade_police_master", slot_ms_script_looted, "script_ms_event_destroy_element"),
    		(troop_set_slot, "trp_village_upgrade_police_master", slot_ms_script_looted_p1, 10),
    				
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_captured, "script_ms_event_capture_v1"),
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_captured_p1, 10),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_script_captured_p1, 10),
    		(troop_set_slot, "trp_town_building_school", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_town_building_school", slot_ms_script_captured_p1, 10),
    		(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_script_captured_p1, -1), #do not destroy this, causes credit bag
    		(troop_set_slot, "trp_town_building_defense", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_town_building_defense", slot_ms_script_captured_p1, 100),
    		(troop_set_slot, "trp_town_building_treasury", slot_ms_script_captured, "script_ms_event_capture_treasure"),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_script_captured_p1, 70),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_captured_p1, 70),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_script_captured_p1, 70),
    		(troop_set_slot, "trp_town_upgrade_adviser", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_town_upgrade_adviser", slot_ms_script_captured_p1, 100),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_captured_p1, 40),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_script_captured_p1, 70),
    		(troop_set_slot, "trp_town_upgrade_trading_master", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_town_upgrade_trading_master", slot_ms_script_captured_p1, 70),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_captured_p1, 40),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_captured_p1, 100),
    		(troop_set_slot, "trp_village_building_secret_place", slot_ms_script_captured, "script_ms_event_capture_without_msg"),
    		(troop_set_slot, "trp_village_building_secret_place", slot_ms_script_captured_p1, 100),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_script_captured, "script_ms_event_capture_with_msg"),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_script_captured_p1, 25),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_script_captured, "script_ms_event_capture_with_msg"),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_script_captured_p1, 25),
    		(troop_set_slot, "trp_village_upgrade_priest", slot_ms_script_captured, "script_ms_event_capture_with_msg"),
    		(troop_set_slot, "trp_village_upgrade_priest", slot_ms_script_captured_p1, 100),
    		(troop_set_slot, "trp_village_upgrade_police_master", slot_ms_script_captured, "script_ms_event_capture_with_msg"),
    		(troop_set_slot, "trp_village_upgrade_police_master", slot_ms_script_captured_p1, 25),
    		
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_after_construct, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_after_construct_p1, 5),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_script_after_construct, "script_ms_event_raise_relation_with_party"),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_script_after_construct_p1, 100),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_script_after_construct_p2, 10),
    		(troop_set_slot, "trp_town_building_school", slot_ms_script_after_construct, "script_ms_event_raise_random_skill_which_need_intelligence"),
    		(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_script_after_construct, "script_ms_event_once_raise_trade_skill"),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_script_after_construct, "script_ms_event_raise_mercenary_max_count"),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_script_after_construct_p1, 2),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_script_after_construct_p2, ms_flag_all),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_after_construct, "script_ms_event_raise_mercenary_max_count"),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_after_construct_p1, 1),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_after_construct_p2, ms_flag_all),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_script_after_construct, "script_ms_event_raise_mercenary_max_count"),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_script_after_construct_p1, 2),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_script_after_construct_p2, ms_flag_horsed),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_after_construct, "script_ms_event_raise_relation_with_party"),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_after_construct_p1, 100),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_after_construct_p2, 5),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_script_after_construct, "script_ms_event_notification_about_gold_usage"),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_script_after_construct_p1, 35),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_script_after_construct_p2, "str_ms_gold_notification_tax"),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_script_after_construct_p3, ms_flag_with_element_name),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_script_after_construct_p4, 4),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_script_after_construct_p5, 8),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_script_after_construct_p6, 1000),
    		(troop_set_slot, "trp_town_upgrade_trading_master", slot_ms_script_after_construct, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_town_upgrade_trading_master", slot_ms_script_after_construct_p1, 6),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_after_construct, "script_ms_event_raise_relation_with_party"),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_after_construct_p1, 100),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_after_construct_p2, 4),
    		
    		(troop_set_slot, "trp_town_building_treasury", slot_ms_script_24_hour, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_town_building_treasury", slot_ms_script_24_hour_p1, 1),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_script_24_hour, "script_ms_event_night_attack_by_bandits"),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_script_24_hour_p1, 15),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_24_hour, "script_ms_event_add_troops"),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_24_hour_p1, 15),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_24_hour_p2, 1),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_24_hour_p3, 2),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_24_hour_p4, 1),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_24_hour_p5, 4),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_24_hour, "script_ms_event_raise_relation_with_party"),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_24_hour_p1, 20),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_24_hour_p2, 2),
    		
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_7_day, "script_ms_event_add_troops"),
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_7_day_p1, 100),
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_7_day_p2, 1),
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_7_day_p3, 5),
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_7_day_p4, 3),
    		(troop_set_slot, "trp_town_building_arsenal", slot_ms_script_7_day_p5, 5),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_script_7_day, "script_ms_event_change_prosperity"),
    		(troop_set_slot, "trp_town_building_waterpipe", slot_ms_script_7_day_p1, 5),
    		(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_town_building_merchant_guild", slot_ms_script_7_day_p1, 10),
    		(troop_set_slot, "trp_town_building_treasury", slot_ms_script_7_day, "script_ms_get_all_taxes"),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_town_upgrade_armourer", slot_ms_script_7_day_p1, 5),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_town_upgrade_protection", slot_ms_script_7_day_p1, 5),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_town_upgrade_groom", slot_ms_script_7_day_p1, 5),
    		(troop_set_slot, "trp_town_upgrade_adviser", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_town_upgrade_adviser", slot_ms_script_7_day_p1, 3),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_town_upgrade_secret_order", slot_ms_script_7_day_p1, 3),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_town_upgrade_tax_supervisor", slot_ms_script_7_day_p1, 13),
    		(troop_set_slot, "trp_town_upgrade_trading_master", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_town_upgrade_trading_master", slot_ms_script_7_day_p1, 6),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_town_upgrade_priest", slot_ms_script_7_day_p1, 4),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_7_day, "script_ms_event_add_troops"),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_7_day_p1, 100),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_7_day_p2, 3),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_7_day_p3, 5),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_7_day_p4, 4),
    		(troop_set_slot, "trp_town_upgrade_garrison_commander", slot_ms_script_7_day_p5, 6),
    		(troop_set_slot, "trp_village_building_mill", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_village_building_mill", slot_ms_script_7_day_p1, 5),
    		(troop_set_slot, "trp_village_building_barn", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_village_building_barn", slot_ms_script_7_day_p1, 3),
    		(troop_set_slot, "trp_village_building_school", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_village_building_school", slot_ms_script_7_day_p1, 3),
    		(troop_set_slot, "trp_village_building_administration", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_village_building_administration", slot_ms_script_7_day_p1, 4),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_village_upgrade_judge", slot_ms_script_7_day_p1, 5),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_village_upgrade_treasurer", slot_ms_script_7_day_p1, 6),
    		(troop_set_slot, "trp_village_upgrade_priest", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_village_upgrade_priest", slot_ms_script_7_day_p1, 3),
    		(troop_set_slot, "trp_village_upgrade_police_master", slot_ms_script_7_day, "script_ms_event_raise_taxes"),
    		(troop_set_slot, "trp_village_upgrade_police_master", slot_ms_script_7_day_p1, 2),
  5. bayjell654

    With Fire & Sword: Questions and Answers

    No problem, I just today figured out all that python crap and edited my own WFaS mod to have the cheat menu find items option and it really works awesomely
    So good luck with your learning :grin:
  6. bayjell654

    With Fire & Sword: Questions and Answers

    zepprith 说:
    I don't really know if this goes here but it is a simple question( I think). To mod the game it is best to have a module does the Warband module work for WFaS or is there one just for that?

    Here, this link is for the download page from taleworlds, which includes the module system for WFaS, just scroll down to see

    http://www.taleworlds.com/main.aspx?dir=download.aspx?type=3
  7. bayjell654

    Suggestions

    HueKutter 说:
    Hello, I've got a few suggestions:

    The ability to award fiefs to your wife.
    Change your wife's gear.
    The ability to divorce from your wife.

    And also:

    The ability to create multiple custom titles, and award them to lords as you wish. E.g "Duke Irya" and "Grand Duke Turya".

    I REALLY like these ideas and would love to see them integrated into later versions of diplomacy.

    Also, would love to see someone port the diplomacy+PBOD to f&s
  8. bayjell654

    With Fire & Sword: Questions and Answers

    Hello everyone, bought MB FS recently and was wondering if there is any way to copy/paste the old camp cheat menu (from a WB module) to the current FS version menus.txt file?
    I tried a good bit of searching and cannot find anything about this... The only thing I really want is just the Find items menu that let you browse all the items in the game and get anything you wanted...
  9. bayjell654

    List of mods for With fire and sword. (Last updated 31/5/12)-Updated

    Just got M&B FS from steam for $2.49 on sale and going to try it, I wish diplomacy mods was made for FS...loved it on warband
    (I've looked around but couldn't find anything, If I'm wrong PLEASE tell me)
  10. bayjell654

    Compilation of 82 little tweaks to the text files to change your gameplay(links)

    I was wondering something... If no one minds me asking...

    I remember a good long time ago, back in the regular m&b, I swear I knew of something in one of these text files that you could edit to let yourself get involved with a current battle and to pick which side...

    Is there anything like that for warband?
  11. bayjell654

    Feedback

    I loved diplomacy back in older warband like over a year ago, and was cleaning he other day and found my old warband disk, so installed and replayed a bit, and checked out here to see what else been going on since. Well, I absolutely love the merged diplomacy http://forums.taleworlds.com/index.php/topic,152114.0.html there.

    Also, I was wondering, since it started m&b only really added 1 extra faction (sarinade or whatever it's called). I'd love to see the creation of a bigger map and expanded villages/castles/cities like keep the same and just add more to it and let each faction get huge so it can go a whole lot longer. So far the only way I've ever known of this is if I wanted to use some big giant conversion mod to have a bigger map with more stuff, if that even.

    Is this at all possible?
  12. bayjell654

    Suggestions

    Amarsingh 说:
    I absolutely love this mod, and I'm more than happy to share my ideas! These are some that Ive come up with:

    Buying land for productive enterprise within a town can be greatly expanded. Perhaps adding the options to also purchase land for blacksmith use. Of course weaponry and armor sell less than some other commodities, but you could have a small chance, perhaps 5 percent that your blacksmith create an above average or powerful item for you to have if you chose the option to retain your goods.

    Also, land could be purchased to rent out to tenants which live on your land, doing whatever business they please. You could bring in a set amount of denars, in which a portion of said denars goes to the lord of the town. and if your the lord of the town this cant be an option, since you already collect rents from the town itself. If you happen to become lord of the town after you've purchased the land for tenant usage, your simply refunded the denars.

    If you own more then 5 of the same businesses, such as 5 dyeworks throughout different towns, you can speak to a guild master in any one of those towns to form a company. Now it isn't a company in any modern sense, but the option allows for a large single investment perhaps 20,000 denars for a larger profit margin on all your items, seeing as you probably dominate regional markets with such a large influence. Companies can also be named.

    Whenever I have more ideas, I'll post them here!

    This could be a great addition to any mod, or like an expansion add on for many major mods. Since it adds the ability to be able to bring in more funds for fiefs and towns, that would amazing!

    Also, maybe add some type of shops or stores or something to castles because it seems to me like anyone can goto a castle but can hold a lot of people yet no shops or stores. I think that's sort of crazy, because all the castle has is food stores (like storage), so I think there should be like a traveling merchant of sorts at castles because people don't live on just food alone, if someones shield breaks, where do they get another one at? Exactly, so castles should have a a few or a little bit of shops maybe. Tell me what you all think.
  13. bayjell654

    Give and take troops?

    Dag gum it, I downloaded it but I don't think I did it right, could you possibily maybe give me a link to a nice walkthrough or guide for setting it up and using it? I tried to use the help file but it's confusing
  14. bayjell654

    Give and take troops?

    Sweet, cool, I think I'm going to try something, and see if it works
  15. bayjell654

    Give and take troops?

    So just out of my curiousity, how do you decode these numbers and stuff? I've wondered this for the longest time
  16. bayjell654

    Give and take troops?

    Hey Lord Kinlar, could I ask you another question and perhaps look into one more coding for me please?
    I've tried to use magelord's compilation of tweaks for me and my vassals recruiting my own faction at my villages and the code isn't the same for diplomacy... I've still tried to figure it out but I'm at a loss.
    Here is the part of my scripts.txt where magelord said to look in there
    插入代码块:
    update_volunteer_troops_in_village -1
     84 23 2 1224979098644774912 1 521 3 1224979098644774913 1224979098644774912 26 2204 2 1224979098644774914 1224979098644774912 4 0 31 2 1224979098644774914 432345564227567629 521 3 1224979098644774914 1224979098644774912 19 3 0 522 3 1224979098644774915 1224979098644774914 41 2204 2 1224979098644774916 1224979098644774912 4 0 33 3 1224979098644774916 432345564227567638 432345564227567651 522 3 1224979098644774915 1224979098644774916 41 5 0 31 2 1224979098644774916 432345564227567637 2133 2 1224979098644774915 360287970189639891 3 0 2133 2 1224979098644774917 1 2123 3 1224979098644774918 1224979098644774913 10 6 3 1224979098644774919 0 1224979098644774918 2136 3 1224979098644774920 0 100 2147483678 2 1224979098644774920 10 2136 3 1224979098644774920 0 2 1561 3 1224979098644774921 1224979098644774915 1224979098644774920 4 0 2147483680 2 1224979098644774921 0 1561 3 1224979098644774921 1224979098644774915 0 3 0 32 2 1224979098644774921 0 2105 2 1224979098644774917 1 2133 2 1224979098644774915 1224979098644774921 3 0 2133 2 1224979098644774922 7 4 0 30 2 1224979098644774913 5 2133 2 1224979098644774922 1224979098644774913 2108 2 1224979098644774922 2 2105 2 1224979098644774922 10 5 0 2147483678 2 1224979098644774913 0 2133 2 1224979098644774922 0 3 0 2133 2 1224979098644774923 100 4 0 2147484189 3 1224979098644774912 7 360287970189639680 2106 2 1224979098644774923 30 3 0 4 0 520 3 1224979098644774924 360287970189639680 7 2108 2 1224979098644774924 4 2105 2 1224979098644774923 1224979098644774924 3 0 4 0 2133 2 1224979098644774925 144115188075856180 2108 2 1224979098644774925 3 2105 2 1224979098644774923 1224979098644774925 3 0 4 0 522 3 1224979098644774926 432345564227567637 11 31 2 1224979098644774926 360287970189639680 2105 2 1224979098644774923 5 4 0 522 3 1224979098644774927 432345564227567637 203 2147483679 2 1224979098644774927 0 2107 2 1224979098644774927 5 2106 2 1224979098644774923 1224979098644774927 3 0 4 0 2204 2 1224979098644774928 1224979098644774912 31 2 1224979098644774928 432345564227567637 2105 2 1224979098644774923 5 3 0 3 0 4 0 32 2 1224979098644774922 0 2112 3 1224979098644774923 0 201 2107 2 1224979098644774922 1224979098644774923 2108 2 1224979098644774922 100 3 0 2107 2 1224979098644774922 3 2120 3 1224979098644774929 2 1224979098644774917 2108 2 1224979098644774922 1224979098644774929 2136 3 1224979098644774930 0 1224979098644774922 501 3 1224979098644774912 92 1224979098644774915 501 3 1224979098644774912 93 1224979098644774930 
    update_npc_volunteer_troops_in_village -1
     35 2204 2 1224979098644774912 -1 4 0 33 3 1224979098644774912 432345564227567638 432345564227567651 2204 2 1224979098644774913 1224979098644774912 4 0 31 2 1224979098644774913 432345564227567629 521 3 1224979098644774913 1224979098644774912 19 3 0 5 0 31 2 1224979098644774912 432345564227567637 2133 2 1224979098644774913 360287970189639891 3 0 23 2 1224979098644774914 1 521 3 1224979098644774915 1224979098644774914 19 522 3 1224979098644774913 1224979098644774915 41 2133 2 1224979098644774916 1 6 3 1224979098644774917 0 5 2136 3 1224979098644774918 0 100 2147483678 2 1224979098644774918 10 2136 3 1224979098644774918 0 2 1561 3 1224979098644774919 1224979098644774913 1224979098644774918 4 0 2147483680 2 1224979098644774919 0 1561 3 1224979098644774919 1224979098644774913 0 3 0 32 2 1224979098644774919 0 2105 2 1224979098644774916 1 2133 2 1224979098644774913 1224979098644774919 3 0 2133 2 1224979098644774920 12 2120 3 1224979098644774921 2 1224979098644774916 2108 2 1224979098644774920 1224979098644774921 2136 3 1224979098644774922 0 1224979098644774920 501 3 1224979098644774914 90 1224979098644774913 501 3 1224979098644774914 91 1224979098644774922
    and to save you trouble of searching for magelords tweak to see it, I don't know if you need to or not, but I figured it couldn't hurt to get it for you to help :smile:
    http://forums.taleworlds.com/index.php/topic,46290.msg1225750.html#msg1225750
    Thanks so much Lord Kinlar
  17. bayjell654

    Give and take troops?

    It works perfectly, Thank you so much Lord Kinlar!
  18. bayjell654

    Give and take troops?

    Oh, nevermind then, lol, sorry, I didn't get it, I thought each was had its own version number, sorry, I use warband
  19. bayjell654

    Bug reports and known issues (v4.x, use new bug tracker instead)

    I think I have found a bug, I'm not sure though...
    I was at war with the Rhodoks... and Specifically attacked King Graveth, and in the conversation I accidentally clicked "I wish to make peace with the Rhodoks" and then after he made peace with me, before it showed the pop up of "My kingdom has blah blah made peace with the Kingdom of Rhodoks blah blah", it still showed me to prep to battle screen against king graveth...so for the hell of it, I still fought him and won, then "I always have my game in cheat mode so I see all the debug messages, well, it said something like "king graveth not counted as a causality because he is p friendly" I know it had like just a letter p in it in a weird place too but that didn't make any sense to me, then after I got his loot screen then it showed the pop up that I made peace with the Rhodoks and it still has that peace lol even after I just killed their king lmao ha ha
后退
顶部 底部