PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem mit Event



[B@W] Abominus
25.11.12, 19:43
Greetings! :D


country_event = {

id = 121653

trigger = {

any_country = {
OR = {
government = native_north_american_government
government = native_south_american_government
}
any_owned = {
has_province_flag = plague
has_discovered = this
NOT = { is_core = yes }
port = yes
}
}

colonists = 3
NOT = { government = steppe_horde }
NOT = { government = native_north_american_government }
NOT = { government = native_south_american_government }

num_of_ports = 1
naval_tech = 20

}
mean_time_to_happen = {

months = 24

modifier = {
factor = 0.9
idea = quest_for_the_new_world
}
modifier = {
factor = 0.9
idea = colonial_ventures
}
modifier = {
factor = 0.9
idea = land_of_opportunity
}
modifier = {
factor = 0.5
has_country_flag = KOLONISATION
}
modifier = {
factor = 0.9
naval_tech = 30
}
modifier = {
factor = 0.5
colonists = 4
}
modifier = {
factor = 0.1
colonists = 5
}
modifier = {
factor = 0.5
naval_tech = 20
}
modifier = {
factor = 20
badboy = 5
}
modifier = {
factor = 0.5
NOT = { badboy = 5 }
}
}

title = "EVTNAME121651"
desc = "EVTDESC121651"

option = {
name = "EVTOPTA121652"
random_country = {
limit = {
OR = {
government = native_north_american_government
government = native_south_american_government
}
}
random_owned = {
limit = {
has_province_flag = plague
port = yes
}
secede_province = THIS
}
province_event = 121654
}
colonists = -1
infamy = 1
}
}

Beim Testen kommt nur ein leeres Event und in der Konsole wird das Event nach "port = yes" abgeschnitten. Vorschläge?

Edit: 2 Runden rumgefriemelt, hier gepostet, nur etwas ändert (any_owned in any_owned_province, offenbar gibt es ersteres nicht mehr als Triggerscope), und schon läuft es... na ja, fast. Das folgeevent triggert nicht:


province_event = {

id = 121654
is_triggered_only = yes

title = "EVTNAME121653"
desc = "EVTDESC121653"

option = {
name = "EVTOPTA121653"
FROM = {
secede_province = THIS
infamy = 1
}
infamy = -1
}
option = {
name = "EVTOPTB121653"
prestige = -0.10
}
}

sheep-dodger
25.11.12, 19:59
Ich würde ja mal das rausnehmen:

has_discovered = this
So wie ich es verstehe, würde das ja checken ob irgendein Land diese Provinz entdeckt hat (da das Scope fürs Land in any_country gewechselt wurde)

[B@W] Abominus
26.11.12, 10:01
Kannst es gern mal testen. Ich habe eine neue Arbeitsversion hochgeladen und hier http://www.si-games.com/forum/showthread.php?t=24564&p=830415#post830415 die Neuheiten eingetragen.