在写好一个modifier之后,我们可以使用add_character_modifier = XXX来给角色添加modifier,使用has_character_modifier = XXX来判断角色是否有该modifier,使用remove_character_character_modifier = XXX来移除一个角色的某个modifier。在添加的时候,可以加时间字段来限制该modifier的持续时间,前面部分中的flag也是同样的用法。
root.mother.father.killer = { #Things we want to do with the killer of the father of the mother of the root character. } We can also directly compare scopes for equality: trigger = { root.mother = scope:other_character.mother }
modifier = {factor = 0has_character_flag = converted_culture_this_lifetime}不会假意改文化拥有flag“converted_culture_this_lifetime”的ai点决议概率*0converted_culture_this_lifetime的flag会从转变为首都文化以外的其他转文化事件获得(比如说拥抱海外文化)}以上内容要是哪里理解错误了请告诉我,毕竟我还只是...
has_character_modifier = severe_illness has_character_modifier = bedridden_illness has_character_flag = developing_illness has_character_flag = disease_not_serious has_character_flag = got_smallpox has_character_flag = got_pneumonia has_character_flag = got_syphilis has_character_flag = got_tube...
Each character in the game has a hidden "weight" value which ranges from -100 to 100. If your weight is -50 or below, you gain the Malnourished modifier, and the "Gain Weight" decision becomes available to you. If your weight is 50 or above, you gain the Obese modifier, and the "...
- Fixed events that were causing married characters to become lovers with another character even when they should have been loyal to their spouse- 有些事件会让已婚人物变成其他角色的情人,即使他们已婚并且应该对伴侣忠诚。现在这个bug已经被修复了。- Added a modifier that reduces the risk of AI ...
这里就是流产事件。这个FLAG由 game/common/character_interactions/pregnancy_events.txt里添加:pregnancy....
ruler_designer_cost = 40 #没看懂(统治者设计者花费40) flag = higher_chance_of_dying_in_battle desc = { first_valid = { triggered_desc = { trigger = { NOT = { exists = this } } desc = trait_brave_desc } desc = trait_brave_character_desc } } ai_energy = low_positive_ai_value...
": [ "add_opinion = {", "\ttarget = scope:count_reinhard_von_lohengramm", "\tmodifier = rebellious_vassal_opinion", "\topinion = 25", "\tyears = 10", "}" ], "description": "pre-filled opinion effect for affecting the opinion of the scope character towards the scoped character....
ve greatly expanded upon modifier support in buildings, now buildings can not only apply modifiers to you in general but they can also apply specific modifiers based on culture parameters which are applied by traditions. These can be used in the modifiers affecting the character, province, county...