I am working with Yoda in several bugs from 1.39. There is a little bug in one of the events for Volta and the first battery.
In 1.39, you have 3 events for Volta and his battery: one for Austria (in Flavor_Physics), one for Milan (in Specific_Milan) and one for Italy (in Fantasy_Italy).
These events are :
The bug is in orange. But, as you can see, we have 3 versions for the same event, and each of these versions have in trigger :
owned = { province = 389 data = -1 }
I think we can have only one version of this event based on the province :
IIRC, Volta had worked without any subvention from a state. So I think, anyone who owned Milan could take profit from his works. But Yoda has suggested me that only europeans should have this event.
Suggestions ?
Edit : the event was in the file Fantasy_Italy, not Specific_Italy as I said previously (thanks to Yoda )
In 1.39, you have 3 events for Volta and his battery: one for Austria (in Flavor_Physics), one for Milan (in Specific_Milan) and one for Italy (in Fantasy_Italy).
These events are :
Code:
### Alessandro Volta (for HAB)
### (text from Weisstein's World of Scientific Biography)
### (http://scienceworld.wolfram.com/biography/)
event = {
id = 172055
trigger = {
domestic = { type = innovative value = 3 }
stability = 0
owned = { province = 389 data = -1 }
[COLOR=ORANGE]NOT = { event = 172054 } #BUG : event 172054 doesn't exist[/COLOR]
}
random = no
country = HAB
name = "EVENTNAME5241" #Volta and the first battery
desc = "EVENTHIST5241"
#-#Volta was an italian physicist who constructed a device for accumulating a large charge
by a series of inductions and groundings. He investigated the 'animal electricity' of Galvani and found
that the current was generated from the contact of dissimilar metals, and that the frog leg was only
acting as a detector. Using this principle, in 1800 he constructed the first battery to produce electricity.
Volta's method of stacking round plates of copper and zinc separated by disks of cardboard moistened
with salt solution was termed a Voltaic pile. By touching the copper and zinc disks together, Volta showed
them to be oppositely charged.
date = { day = 1 month = march year = 1800 }
offset = 360
deathdate = { day = 29 month = december year = 1801 }
action_a = {
name = "ACTIONNAME5241A" #Interesting! Any practical applications?
command = { type = infra value = 50 }
}
}
--------------------------------------------------------------
### Alessandro Volta (for MLO)
### (text from Weisstein's World of Scientific Biography)
### (http://scienceworld.wolfram.com/biography/)
### By mfigueras
event = {
id = 5241
trigger = {
domestic = { type = innovative value = 3 }
stability = 0
}
random = no
country = MLO
name = "EVENTNAME5241" #Volta and the first battery
desc = "EVENTHIST5241"
#-#Volta was an italian physicist who constructed a device for accumulating a large charge
by a series of inductions and groundings. He investigated the 'animal electricity' of Galvani and found
that the current was generated from the contact of dissimilar metals, and that the frog leg was only
acting as a detector. Using this principle, in 1800 he constructed the first battery to produce electricity.
Volta's method of stacking round plates of copper and zinc separated by disks of cardboard moistened
with salt solution was termed a Voltaic pile. By touching the copper and zinc disks together, Volta showed
them to be oppositely charged.
date = { day = 1 month = march year = 1800 }
offset = 360
deathdate = { day = 29 month = december year = 1801 }
action_a = {
name = "ACTIONNAME5241A" #Interesting! Any practical applications?
command = { type = infra value = 50 }
}
}
--------------------------------------------------------
#Alessandro Volta
event = {
id = 193046
trigger = {
NOT = {
exists = MLO
event = 5241
}
NOT = { event 172055 }
owned = { province = 389 data = -1 }
domestic = { type = innovative value = 3 }
stability = 0
}
random = no
country = ITA
name = "EVENTNAME5241" #Volta and the first battery
desc = "EVENTHIST5241"
#-#Volta was an italian physicist who constructed a device for accumulating a large charge
by a series of inductions and groundings. He investigated the 'animal electricity' of Galvani and found
that the current was generated from the contact of dissimilar metals, and that the frog leg was only
acting as a detector. Using this principle, in 1800 he constructed the first battery to produce electricity.
Volta's method of stacking round plates of copper and zinc separated by disks of cardboard moistened
with salt solution was termed a Voltaic pile. By touching the copper and zinc disks together, Volta showed
them to be oppositely charged.
date = {day = 1 month = march year = 1800 }
offset = 360
deathdate = {day = 29 month = december year = 1801 }
action_a = {
name = "ACTIONNAME5241A" #Interesting! Any practical applications?
command = { type = infra value = 50 }
command = { type = sleepevent which = 5241 } #MLO: Volta and the first battery
command = { type = sleepevent which = 172055 } #HAB: Volta and the first battery
}
}
The bug is in orange. But, as you can see, we have 3 versions for the same event, and each of these versions have in trigger :
owned = { province = 389 data = -1 }
I think we can have only one version of this event based on the province :
Code:
#Alessandro Volta
event = {
id = 172055
trigger = {
domestic = { type = innovative value = 3 }
stability = 0
}
random = no
province = 389 #Milan
name = "EVENTNAME5241" #Volta and the first battery
desc = "EVENTHIST5241"
#-#Volta was an italian physicist who constructed a device for accumulating a large charge
by a series of inductions and groundings. He investigated the 'animal electricity' of Galvani and found
that the current was generated from the contact of dissimilar metals, and that the frog leg was only
acting as a detector. Using this principle, in 1800 he constructed the first battery to produce electricity.
Volta's method of stacking round plates of copper and zinc separated by disks of cardboard moistened
with salt solution was termed a Voltaic pile. By touching the copper and zinc disks together, Volta showed
them to be oppositely charged.
date = { day = 1 month = march year = 1800 }
offset = 360
deathdate = { day = 29 month = december year = 1801 }
action_a = {
name = "ACTIONNAME5241A" #Interesting! Any practical applications?
command = { type = infra value = 50 }
}
}
Suggestions ?
Edit : the event was in the file Fantasy_Italy, not Specific_Italy as I said previously (thanks to Yoda )
Last edited: