PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehlerhaftes Event



Hemothep
13.05.09, 08:54
Mein kleines Randomevent will nicht triggern, es funktioniert auch nicht per Aufruf über Console. Kennt jemand den Grund?


event = {
id = 666001
random = yes
campaign = no

picture = market_regulations

trigger = {
constitution = { type = monarchie }
atwar = no
}

name = "Loyale Untertanen in %s"
desc = "Unsere Vasallen und Untertanen in %s fühlen sich geborgen in der Stabilität unserer Monarchie!"

action_a = {
name = "Schön"
ai_chance = 50
command = { type = pop_militancy which = cultural_majority value = -1 where = -1 }
command = { type = pop_consciousness which = cultural_majority value = -1 where = -1 }
command = { type = convert_pop_type which = cultural_majority value = conservative where = -1 when = 15 }

}

action_b = {
name = "Baut eine Kaserne in ihrer Nähe und rekrutiert sie."
ai_chance = 50
command = { type = treasury value = -500 }
command = { type = pop_militancy which = soldiers value = -2 where = -1 }
command = { type = pop_consciousness which = soldiers value = -2 where = -1 }
command = { type = pop_dominant_issue which = soldiers value = jingoism where = -1 }
command = { type = convert_pop_type which = cultural_majority value = conservative where = -1 when = 20 }
command = { type = convert_pop_type which = conservative value = soldiers where = -1 when = 10 }
command = { type = convert_pop_type which = cultural_majority value = reactionary where = -1 when = 5 }
command = { type = convert_pop_type which = reactionary value = soldiers where = -1 when = 20 }

}
}

Preussenhusar
13.05.09, 08:55
stimmt monarchie wirklich ?
nicht monarchy ?




event = {
id = 1510
random = no
country = AUS

picture = sophia
trigger = {
NOT = {
constitution = { type = monarchy }
}
random = 1
}


PH

Hemothep
13.05.09, 09:18
Danke, es gibt zwar Krautsalat in der [state] Funktion, aber zumindest triggert es jetzt.