这是不是用的脚本语言啊?
event = {
id = 10000
trigger = {
owned = {
province = 649
data = -1
}
}
random = no
country = CHI
name = "EVENTNAME10000"
desc = "EVENTHIST10000"
date = { day = 1 month = january year = 1420 }
offset = 300
deathdate = { day = 1 month = january year = 1421 }
action_a ={ # Yes, let us move to the Northern Capital!#
name = "ACTIONNAME10000A"
command = { type = capital which = 649 }
command = { type = provincetax which = 649 value = 1 }
command = { type = fortress which = 649 value = 1 }
command = { type = treasury value = -300 }
command = { type = stability value = -1 }
}
action_b ={ #No, we will remain in the Southern Capital#
name = "ACTIONNAME10000B"
command = { type = domestic which = centralization value = 1 }
command = { type = stability value = -2 }
}
}
event = {
id = 27531
random = no
country = CHI
persistent = yes
trigger = {
ai = yes
minister = 52008
NOT = { minister = 52097 }
OR = {
AND = {
day = 1
NOT = { day = 2 }
}
NOT = { local_flag = CHIArmyZhang }
}
}
name = "AI_EVENT"
style = 0
date = { day = 1 month = january year = 1936 }
offset = 1
deathdate = { day = 29 month = december year = 1948 }
action_a = {
command = { type = local_setflag which = CHIArmyZhang }
command = { type = local_clrflag which = CHIArmyGu }
command = { type = chiefofarmy which = 52008 }
command = { type = dissent value = -1 }
}
}
[解决办法]
这个给的是一堆数据描述
是不是用的脚本语言不好说
[解决办法]
应该是某种函数式的语言,erlang?
[解决办法]
这种还没见过~