As there has been some debate lately surrounding not beeing able to convert aristocrats to something and so forth, I have scripted some random events to deal with this. (Triggers and removal of resources are to be made upon input)
Code:
###################################################################
#POP conversion events, so far only in BETA, made by Zuckergußgebäck#
###################################################################
### Converts soldiers to officers
event = {
id = 24505
random = yes
invention = no
name = "Certain soldiers have performed well in battle"
desc = "Some of your soldiers have distinguished themselves in combat, and are to be rewarded for their duties."
action_a = {
name = "We will promote them"
command = { type = treasury value = -4000 }
command = { type = convert_pop_type which = soldiers value = officers when = 2 }
}
action_b = {
name = "We have a need for experienced footmen"
command = { type = pop_consciousness which = soldiers value = 2 }
}
}
### Converts Capitalists to aristocrats
event = {
id = 24506
random = yes
invention = no
name = "Factory owners have brought prosperity to the land"
desc = "A few very rich factory owners have done great services to the national economy, and it has been propsed that they will be knighted."
action_a = {
name = "We will knight them"
command = { type = treasury value = -4000 }
command = { type = convert_pop_type which = capitalists value = aristocrats when = 2 }
}
action_b = {
name = "We have a need for factory owners"
command = { type = pop_consciousness which = capitalists value = 2 }
}
}
### Converts Aristocrats to officers
event = {
id = 24507
random = yes
invention = no
name = "Nobles express their wish to join the army"
desc = "Some young noblemen have expressed their wish to join the army."
action_a = {
name = "I do not see why they should not?"
command = { type = treasury value = -4000 }
command = { type = convert_pop_type which = aristocrats value = officers when = 2 }
}
action_b = {
name = "They are amateurs!"
command = { type = pop_consciousness which = aristocrats value = 2 }
}
}
### Converts Officers to aristocrats
event = {
id = 24508
random = yes
invention = no
name = "Officers perform well in battle"
desc = "A few bright military geniouses have performed well as commanders, there is now some talk about knighting them."
action_a = {
name = "We will knight them"
command = { type = treasury value = -4000 }
command = { type = convert_pop_type which = officers value = aristocrats when = 2 }
}
action_b = {
name = "We have a need for skilled military leadership"
command = { type = pop_consciousness which = officers value = 2 }
}
}
### Converts Craftsmen to Capitalists
event = {
id = 24509
random = yes
invention = no
name = "Moving up the social ladder"
desc = "Some labourers have through skill and cunning managed to rise in the ranks to factory owners"
action_a = {
name = "Great!"
command = { type = treasury value = -4000 }
command = { type = convert_pop_type which = craftsmen value = capitalists when = 1 } #This was rare, so I put 1 instead of 2
}
action_b = {
name = "There must be some excuse to confiscate their property?"
command = { type = pop_consciousness which = craftsmen value = 3 }#And because it is rare, it must create more outrage
}
}
### Converts clerks to capitalists
event = {
id = 24510
random = yes
invention = no
name = "Moving up the social ladder"
desc = "Some clerks have through skill and cunning managed to rise in the ranks to factory owners"
action_a = {
name = "Great!"
command = { type = treasury value = -4000 }
command = { type = convert_pop_type which = clerks value = capitalists when = 1 } #This was rare, so I put 1 instead of 2
}
action_b = {
name = "There must be some excuse to confiscate their property?"
command = { type = pop_consciousness which = clerks value = 3 }#And because it is rare, it must create more outrage
}
}
### Converts Craftsmen to Clerks
event = {
id = 24511
random = yes
invention = no
name = "Lower classes becomes educated"
desc = "Some brillian Craftsmen have through their intelligence and education been appointed to clerks."
action_a = {
name = "Great!"
command = { type = treasury value = -4000 }
command = { type = convert_pop_type which = craftsmen value = clerks when = 1 } #This was rare, so I put 1 instead of 2
}
action_b = {
name = "Dangerous ideas are spreading, this must be stamped out!"
command = { type = pop_consciousness which = craftsmen value = 2 }#But I do not foresee much outrage
}
}
### Converts Labourers to craftsmen
event = {
id = 24512
random = yes
invention = no
name = "Urbanisation"
desc = "Former coal-mine workers are fleeing from unemployment to the cities!"
action_a = {
name = "Great!"
command = { type = treasury value = -4000 }
command = { type = convert_pop_type which = labourers value = craftsmen when = 3 } #Not very rare
}
action_b = {
name = "Force them to return to the mines"
command = { type = pop_consciousness which = craftsmen value = 3 }#MUCH outrage
}
}
### Converts farmers to craftsmen
event = {
id = 24513
random = yes
invention = no
name = "Famine forces farmers to migrate"
desc = "A small famine in part of the country has forced farmers to sell their homes and move to the city."
action_a = {
name = "Great!"
command = { type = treasury value = -4000 }
command = { type = convert_pop_type which = farmers value = craftsmen when = 3 } #Not very rare
}
action_b = {
name = "Force them to return to the fields"
command = { type = pop_consciousness which = farmers value = 3 }#MUCH outrage
}
}
### Converts clerks to clergy
event = {
id = 24514
random = yes
invention = no
name = "The clerks goes religious "
desc = "Some of our clerks have got religion and are all pursuing an ecclestical education!!"
action_a = {
name = "Nice to see such an interest for the faith!"
command = { type = treasury value = -4000 }
command = { type = convert_pop_type which = clerks value = clergymen when = 2 } #Rare
}
action_b = {
name = "How utterly ridiculous!"
command = { type = pop_consciousness which = clerks value = 2 }#Little outrage
}
}
Last edited: