[建議] 西班牙內戰事件修正
原版西班牙內戰事件有bug,造成小佛贏的機率很低。
我們先看原版怎麼寫,主要是兩個事件,
event 3100和3107,在republican_spain.txt內。
#########################################################################
# Spanish Civil War
#########################################################################
event = {
id = 3100
random = no
country = SPR
trigger = {
NOT = {
exists = SPA
}
atwar = no
OR = {
government = communist
government = democratic
}
}
name = "EVT_3100_NAME"
desc = "EVT_3100_DESC"
style = 0
picture = "SCW"
date = { day = 17 month = july year = 1936 }
action_a = {
name = "OK" # En la Defensa de la Democracia!
(中間數行恕刪)
command = { type = civil_war which = SPA }
(中間數行恕刪)
command = { type = relation which = ENG value = 10 }
command = { type = relation which = FRA value = 10 }
command = { type = relation which = SOV value = 5 }
command = { type = relation which = USA value = 5 }
command = { type = relation which = GER value = -15 }
command = { type = relation which = ITA value = -10 }
command = { type = relation which = POR value = -10 }
(中間數行恕刪)
command = { type = dissent value = 15 }
command = { type = trigger which = 3107 }
問題出在這一行,event 3107在原版無法發生。
}
}
#########################################################################
# Spanish Civil War - Follow up event - Ceding oversea provinces to SPA
#########################################################################
event = {
id = 3107
random = no
country = SPR
# triggered by SPR 3100
name = "EVT_3100_NAME"
desc = "EVT_3100_DESC"
style = 0
picture = "SCW"
action_a = {
name = "OK" # En la Defensa de la Democracia!
command = { type = secedeprovince which = SPA value = 535 } # Mallorca
command = { type = secedeprovince which = SPA value = 537 } # Ibiza
command = { type = secedeprovince which = SPA value = 954 } # Melilla
command = { type = secedeprovince which = SPA value = 955 } # Villa Sanjurjo
command = { type = secedeprovince which = SPA value = 957 } # Ceuta
command = { type = secedeprovince which = SPA value = 961 } # Lanzarote
command = { type = secedeprovince which = SPA value = 962 } # Fuerteventura
command = { type = secedeprovince which = SPA value = 963 } # Gran Canaria
command = { type = secedeprovince which = SPA value = 964 } # Tenerife
command = { type = secedeprovince which = SPA value = 965 } # La Palma
command = { type = secedeprovince which = SPA value = 967 } # Ifni
command = { type = secedeprovince which = SPA value = 971 } # El Aai狍
command = { type = secedeprovince which = SPA value = 972 } # Villa Cisneros
command = { type = secedeprovince which = SPA value = 1091 } # Bata
}
}
這是event 3107,是由event 3100所觸發,
但3100發生的同時還沒有國西(SPA),
所以不會發生割海外殖民地給國西的事件。
以下是改進方案,實行過確實可以。
#########################################################################
# Spanish Civil War
#########################################################################
event = {
id = 3100
random = no
country = SPR
(中間數行都不動)
# command = { type = trigger which = 3107 }
此行前面加個#
}
}
#########################################################################
# Spanish Civil War - Follow up event - Ceding oversea provinces to SPA
#########################################################################
event = {
id = 3107
random = no
country = SPR
(中間不變)
trigger = {
event = 3100
}
date = { day = 18 month = july year = 1936 }
offset = 1
deathdate = { day = 30 month = december year = 1947 }
加上以上六行。
以下不變,恕刪。
action_a = {
}
}
原因下篇詳述。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.125.84
※ 編輯: Euglena 來自: 140.112.125.84 (02/20 11:12)
推
02/20 12:18, , 1F
02/20 12:18, 1F
→
02/20 12:28, , 2F
02/20 12:28, 2F
→
02/20 12:54, , 3F
02/20 12:54, 3F
→
02/20 15:01, , 4F
02/20 15:01, 4F
→
02/20 15:02, , 5F
02/20 15:02, 5F
→
02/20 15:03, , 6F
02/20 15:03, 6F
→
02/20 15:03, , 7F
02/20 15:03, 7F
討論串 (同標題文章)
Paradox 近期熱門文章
13
27
PTT遊戲區 即時熱門文章
65
117