这是script文件的一些常用算法,我一般都是直接ctrl+f搜索,对应的代码看不懂你们可以发给ai,ai翻译完你们就能看懂了,然后改就行了。
script_create_kingdom_party_if_below_limit 商队数量
#The quest giver is the village elder 村庄委托
script_decide_run_away_or_not 士兵是否逃跑
refresh_center 商人金钱
indict_lord_for_treaso 流放领主其他领主对国王减好感计算
#the next block handles gratitude, objections and jealousies 国王分封领地好感变化
#script_game_get_party_prisoner_limit: 俘虏技能计算公式
script_game_get_prisoner_price 俘虏价格计算公式
script_get_player_party_morale_values 统御士气计算公式,包含自立和不自立
script_game_enable_cheat_menu 作弊菜单开关算法
script_game_get_troop_wage 部队工资算法
script_game_get_upgrade_xp 兵种升级经验算法
# script_game_get_upgrade_cost 兵种升级花费算法
# script_game_get_join_cost 兵种加入工资算法
script_game_get_party_companion_limit: 玩家部队上限算法
#default limit is 30 for any party NPC部队算法
Setting food bonuses 食物士气值算法
#Item economic settings 开场相关的经济算法,开厂算法
initialize_town_arena_info 城镇竞赛队伍规模算法
#All towns produce tools, pottery, and wool cloth for sale in countryside 城镇生产资料数量,关乎城镇资源产出
# script_calculate_renown_value 每场战斗获得声望的算法
# script_change_troop_renown 声望衰减算法
:placeholder_reminder_to_calculate_effect_for_player_feast 宴会算法
script_cf_check_hero_can_escape_from_player 领主逃跑算法
garrison_strength 驻军强度
initialize_npcs 16个NPC的性格,讨厌对象,统治权竞争对象,讨厌对象可以换成邪恶的哈老四
#script_spawn_bandits 地图上野怪队伍的刷新数量
lord_find_alternative_faction 领主流放次数,加入国家倾向算法
a spouse or the minister -- to improve standing in the faction 大臣或者妻子每周给的政治任务。
#Lose one point relation with liege 战败后领主与领袖的关系变化
Post 0907 changes end 释放领主后再次见面的好感变化。
# script_troop_get_player_relation 与NPC领主的好感变化,包括荣誉
#Troop Commentaries end 宣布NPC领主支持你成为国王时,各个选项的宣称加成。
#script_npc_decision_checklist_troop_follow_or_not 发动战役时领主的跟随意愿,还有集结范围设置