Why is BUG 4621 marked as invalid in the Buglist?
Bug 4621
Event: Romanian Oil - Choice for Romanian player = 0
Severity: Normal
Status: Invalid
If I look in the 102.txt file you find events 5000-5011 that gives Germany oil each year
The event script is like below
##########################################################################
# Rumanian Oil to Germany
#########################################################################
event = {
id = 5000
random = no
country = GER
trigger = {
alliance = { country = ROM country = GER }
control = { province = 760 data = ROM }
}
name = "EVT_5000_NAME"
desc = "EVT_5000_DESC"
style = 0
date = { day = 0 month = june year = 1936 }
offset = 31
action_a = {
name = "OK"
command = { type = oilpool value = 2000 }
}
}
Note the trigger
1) alliance between Rumanian and Germany
2 Rumanian must control province = 760 (oil)
I find two errors in this
Rumanias oil is not reduced by 2000
Rumania has no choice in this event.
My suggestion is that you add a corrsponding Rumanian events(one for each German)
Like this, then the Rumanians got a choice and the oil does not magicaly appear out of no where.
##########################################################################
# Send Oil to Germany?
#########################################################################
event = {
id = 5020
random = no
country = ROM
trigger = {
alliance = { country = ROM country = GER }
control = { province = 760 data = ROM }
}
name = "EVT_5020_NAME"
desc = "EVT_5020_DESC"
style = 0
date = { day = 0 month = june year = 1936 }
offset = 31
action_a = {
name = "OK"
command = { type = oilpool value = -2000 }
command = { type = trigger which = 5000} # GER OIL
}
action_b = {
name = "CANCEL"
command = { }
}
}
Ofcourse you have to remove the triggers of event 5000-5011
because the are no triggered by the corsponding Rumanian event
like
...
# Triggered by ROM 5020
...
What do you say?
Bug 4621
Event: Romanian Oil - Choice for Romanian player = 0
Severity: Normal
Status: Invalid
If I look in the 102.txt file you find events 5000-5011 that gives Germany oil each year
The event script is like below
##########################################################################
# Rumanian Oil to Germany
#########################################################################
event = {
id = 5000
random = no
country = GER
trigger = {
alliance = { country = ROM country = GER }
control = { province = 760 data = ROM }
}
name = "EVT_5000_NAME"
desc = "EVT_5000_DESC"
style = 0
date = { day = 0 month = june year = 1936 }
offset = 31
action_a = {
name = "OK"
command = { type = oilpool value = 2000 }
}
}
Note the trigger
1) alliance between Rumanian and Germany
2 Rumanian must control province = 760 (oil)
I find two errors in this
Rumanias oil is not reduced by 2000
Rumania has no choice in this event.
My suggestion is that you add a corrsponding Rumanian events(one for each German)
Like this, then the Rumanians got a choice and the oil does not magicaly appear out of no where.
##########################################################################
# Send Oil to Germany?
#########################################################################
event = {
id = 5020
random = no
country = ROM
trigger = {
alliance = { country = ROM country = GER }
control = { province = 760 data = ROM }
}
name = "EVT_5020_NAME"
desc = "EVT_5020_DESC"
style = 0
date = { day = 0 month = june year = 1936 }
offset = 31
action_a = {
name = "OK"
command = { type = oilpool value = -2000 }
command = { type = trigger which = 5000} # GER OIL
}
action_b = {
name = "CANCEL"
command = { }
}
}
Ofcourse you have to remove the triggers of event 5000-5011
because the are no triggered by the corsponding Rumanian event
like
...
# Triggered by ROM 5020
...
What do you say?
Upvote
0