在写好一个modifier之后,我们可以使用add_character_modifier = XXX来给角色添加modifier,使用has_character_modifier = XXX来判断角色是否有该modifier,使用remove_character_character_modifier = XXX来移除一个角色的某个modifier。在添加的时候,可以加时间字段来限制该modifier的持续时间,前面部分中的flag也是同样的用法。
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...
For example, is_ai = yes would return true for an AI character, and false for a player. This could be used to disable an event for a player, by using it in a trigger block of an event. Triggers that compare values can also return the value itself. ...
- 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 ...
type = character_event trigger = { any_courtier_or_guest = { likes_the_event_target = yes } } # rest of event defined normally: effects, options, etc } Trigger Localization Custom Triggers Creating Custom Triggers Logical Operators/Triggers ...
这里就是流产事件。这个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...
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...
- Fixed Unify the Burgundies preventing culture conversion if the character was already Occitain- 修正了统一勃艮第的事件在玩家已经是欧西坦人却无法改变文化的bug。- Fixed a bug sometimes preventing concubines from being shown properly in the marriage window.- 修复了一个会导致侍妾无法正确地在婚姻窗口...