hoi4 event编写

triger

trigger = {
		tag = CHI
		date > 2017.8.1
		date < 2017.8.4
	}

option

option = {
name = china.1.a
log = “[GetDateText]: [This.GetName]: china.1.a executed”
## add_stability = 0.05# 增加稳定性
}
trigger = {
tag = CHI
date > 2017.8.1
date < 2017.8.4
}

option = {
	name = china.2.a
	log = "[GetDateText]: [This.GetName]: china.2.a executed"
	 ## add_war_support = 0.05 # 增加战争支持
}
option = {
		name = china.3.a
		log = "[GetDateText]: [This.GetName]: china.3.a executed"
		ai_chance = {
			factor = 100
		}

		add_political_power = -10

		add_stability = -0.10

		hidden_effect = {
			add_popularity = {
				ideology = communism
				popularity = -0.05
			}
			recalculate_party = yes
		}
	}

add_manpower = x

option = {
		name = china.4.a
		log = "[GetDateText]: [This.GetName]: china.4.a executed"
		subtract_from_variable = {
			var = treasury
			value = 0.53
		}
		add_manpower = -57
		537 = { damage_building = { type = infrastructure damage = 0.4 } damage_building = { type = industrial_complex damage = 0.2 } }
	}

army_experience = x

option = {
		name = sino_indian.9.a #A glorious victory!
		trigger = { original_tag = CHI }
		CHI = { transfer_state = 475 }
		army_experience = 25
		log = "[GetDateText]: [This.GetName]: sino_indian.9.a executed"
	}

idea={}

option = {
		name = sco.11.a #We are grateful for the help!
		effect_tooltip = {
			add_timed_idea = {
				idea = SCO_development_assistance
				days = 90
			}
		}
		log = "[GetDateText]: [This.GetName]: sco.11.a executed"
	}
上一篇:使用百度API获取位置信息


下一篇:SpringBoot整合Jest操作ES