####################################################################################################################################### ####################################################################################################################################### ####################################################################################################################################### ##说明 ####################################################################################################################################### ####################################################################################################################################### ####################################################################################################################################### 修改所有宝箱里装备的前缀 ####################################################################################################################################### ####################################################################################################################################### ####################################################################################################################################### ##汉化修改 ####################################################################################################################################### ####################################################################################################################################### ####################################################################################################################################### @game_strings.csv ####################################################################################################################################### str_reinforcements_windmelodie|{reg3}个 {s2}, @game_menus.csv ####################################################################################################################################### 添加 mno_camp_cheat_reset|重 置 一 些 设 定 ####################################################################################################################################### ####################################################################################################################################### ####################################################################################################################################### ##py修改 ####################################################################################################################################### ####################################################################################################################################### ####################################################################################################################################### @module_constants.py ####################################################################################################################################### 末尾添加 ######################################################## ## Mod falgs ########################################## ######################################################## chest_begin = "trp_town_18_chest" chest_end = "trp_chinah_chest" @module_scripts.py ####################################################################################################################################### ## ZZ barrack changed by windmelodie for castle end (party_set_slot, "p_fort", slot_town_lord, -1), (call_script, "script_mod_options_default"), 改为 ## ZZ barrack changed by windmelodie for castle end (party_set_slot, "p_fort", slot_town_lord, -1), (call_script, "script_mod_set_default"), 增加 # script_mod_set_default by windmelodie # Input: # Output: ("mod_set_default", [ (call_script,"script_mod_options_default"), (call_script,"script_upgrade_chest_items"), ]), # script_upgrade_chest_items by windmelodie # Input: # Output: ("upgrade_chest_items", [ (try_for_range, ":chest", chest_begin, chest_end), (troop_get_inventory_capacity,":capacity",":chest"), (try_for_range, ":i_slot", 0, ":capacity"), (troop_get_inventory_slot,":cur_item",":chest",":i_slot"), (call_script,"script_get_item_best_imod",":cur_item"), (assign,":item_mod_best",reg0), (troop_set_inventory_slot_modifier,":chest",":i_slot",":item_mod_best"), #(item_get_type, ":type", ":i_slot"), #(try_begin), # (eq, ":type", itp_type_horse), # (troop_set_inventory_slot_modifier,":chest",":i_slot",imod_champion), #(else_try), # (this_or_next|eq, ":type", itp_type_head_armor), # (this_or_next|eq, ":type", itp_type_body_armor), # (this_or_next|eq, ":type", itp_type_foot_armor), # (this_or_next|eq, ":type", itp_type_hand_armor), # (eq, ":type", itp_type_shield), # (troop_set_inventory_slot_modifier,":chest",":i_slot",imod_lordly), #(else_try), # (this_or_next|eq, ":type", itp_type_thrown), # (this_or_next|eq, ":type", itp_type_arrows), # (this_or_next|eq, ":type", itp_type_bolts), # (eq, ":type", itp_type_bullets), # (troop_set_inventory_slot_modifier,":chest",":i_slot",imod_large_bag), #(else_try), # (troop_set_inventory_slot_modifier,":chest",":i_slot",imod_masterwork), #(try_end), (try_end), (try_end), ]), @module_game_menus.py ####################################################################################################################################### ("camp_cheat",0, "Select a cheat:", "none", [ ], [ 后添加 #add by windmelodie for reset begin ("camp_cheat_reset",[], "reset mod settings", [ (call_script,"script_mod_set_default"), (jump_to_menu, "mnu_camp_cheat"), ] ), #add by windmelodie end