Fires a news event.
Example:
news_event = {
id = news.251 # The event to fire.
# Optional Fields:
hours = 12 # The number of hours to wait before firing the event.
days = 5 # The number of days to wait before firing the event.
months = 1 # The number of months to wait before firing the event, where a month is treated as 30 days.
# Note: hours, days, and months can all be used and will simply be added together.
random_hours = 18 # A random amount of hours to be added to the delay before firing, from 0 up to but not including random_hours.
random_days = 2 # A random amount of days to be added to the delay before firing, from 0 up to but one hour less than random_days.
# Note: random_hours and random_days can both be used and will simply be added together.
random = 6 # Equivalent to random_hours; preserverd for backwards compatibility.
random = { chance = 50 ... } # Specify a set of child effects to execute as part of this effect, with a percentage chance of randomly happening or not (as a group, not individually).
tooltip = news.251.t # Manually specify which tooltip to use for this effect.
}
实战 · 配合 · 坑
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
实战用法
news_event 最常用于重大历史事件触发后向全球玩家广播战略动态,例如某国宣战、完成特定国策或科技突破时,让所有人通过新闻界面感知世界变化。在 mod 中常配合 country_event 使用——先用 country_event 处理当事国的内部逻辑,再用 news_event 向世界发布公告。