其他分享
首页 > 其他分享> > hoi4 event编写

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"
	}

标签:executed,option,GetName,name,add,hoi4,编写,event,log
来源: https://blog.csdn.net/m0_61288541/article/details/121320693