• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Well, you could put a start date on the event so it could be researched by then.

M
 
Good idea Orlando :) I'll do some tonight.

M
 
Orlando,

I am not doing them as spread events... but I do have an... innovative thought on how to do them and still have them be from Muslim to Catholic :)

Terp:
Yes, there is going to be a package soon... ;)

M
 
Code:
#########################
#A Moslem work on optics has been discovered
#########################
province_event = {
        id = 20814
        name = "A Moslem work on optics has been discovered"
        picture = "event_moslem"

        trigger = {
                        condition = {
				type = and
				condition = { type = religion value = muslim }
				condition = { type = ruler_religion value = catholic }
				condition = {
				type = or
				condition = { type = province value = 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 211 }
			        }

        mean_time_to_happen = {
                months = 2000

                modifier = {
                        condition = { type = has_advance value = {  monastic_schools = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { cathedral_schools = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { universities = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { academic_disciplines  = yes } }
                        factor = .95
                }
                modifier = {
                        condition = { type = has_advance value = { aristotelian_logics  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { scholastics  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { astrology  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { romantic_poetry  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_advance value = { troubadours  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_improvement value = { monastery  = yes } }
                        factor = .95
                }
                modifier = {
                        condition = { type = has_improvement value = { university  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_improvement value = { library  = yes } }
                        factor = .92
                }
                modifier = {
                        condition = { type = has_improvement value = { thieves_guild  = yes } }
                        factor = 1.45
                }
                modifier = {
                        condition = { type = has_improvement value = { smugglers_ring  = yes } }
                        factor = 1.55
                }
                modifier = {
                        condition = { type = has_improvement value = { highway_robber_band  = yes } }
                        factor = 1.75
                }

                modifier = {
                        condition = { type = has_province_effect value = { bubonic_plague  = yes } }
                        factor = 2
                }
                modifier = {
                        condition = { type = has_province_effect value = { dysentery  = yes } }
                        factor = 2
                }
                modifier = {
                        condition = { type = has_province_effect value = { looted   = yes } }
                        factor = 1.3
                }
                modifier = {
                        condition = { type = has_province_effect value = { malaria  = yes } }
                        factor = 1.5
                }
                modifier = {
                        condition = { type = has_province_effect value = { pneumonic_plague  = yes } }
                        factor = 1.7
                }
                modifier = {
                        condition = { type = has_province_effect value = { small_pox  = yes } }
                        factor = 1.7
                }
                modifier = {
                        condition = { type = has_province_effect value = { typhoid_fever  = yes } }
                        factor = 1.5
                }
        }

        action_a = {#Perhaps the heathens know something we don't
                effect = { type = ruler_prestige value = 15 }
        }

}
#########################
#A Moslem work on chemistry has been discovered
#########################
province_event = {
        id = 20815
        name = "A Moslem work on chemistry has been discovered"
        picture = "event_moslem"

        trigger = {
                        condition = {
				type = and
				condition = { type = religion value = muslim }
				condition = { type = ruler_religion value = catholic }
				condition = {
				type = or
				condition = { type = province value = 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 211 }
			        }

        mean_time_to_happen = {
                months = 2000

                modifier = {
                        condition = { type = has_advance value = {  monastic_schools = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { cathedral_schools = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { universities = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { academic_disciplines  = yes } }
                        factor = .95
                }
                modifier = {
                        condition = { type = has_advance value = { aristotelian_logics  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { scholastics  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { astrology  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { romantic_poetry  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_advance value = { troubadours  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_improvement value = { monastery  = yes } }
                        factor = .95
                }
                modifier = {
                        condition = { type = has_improvement value = { university  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_improvement value = { library  = yes } }
                        factor = .92
                }
                modifier = {
                        condition = { type = has_improvement value = { thieves_guild  = yes } }
                        factor = 1.45
                }
                modifier = {
                        condition = { type = has_improvement value = { smugglers_ring  = yes } }
                        factor = 1.55
                }
                modifier = {
                        condition = { type = has_improvement value = { highway_robber_band  = yes } }
                        factor = 1.75
                }

                modifier = {
                        condition = { type = has_province_effect value = { bubonic_plague  = yes } }
                        factor = 2
                }
                modifier = {
                        condition = { type = has_province_effect value = { dysentery  = yes } }
                        factor = 2
                }
                modifier = {
                        condition = { type = has_province_effect value = { looted   = yes } }
                        factor = 1.3
                }
                modifier = {
                        condition = { type = has_province_effect value = { malaria  = yes } }
                        factor = 1.5
                }
                modifier = {
                        condition = { type = has_province_effect value = { pneumonic_plague  = yes } }
                        factor = 1.7
                }
                modifier = {
                        condition = { type = has_province_effect value = { small_pox  = yes } }
                        factor = 1.7
                }
                modifier = {
                        condition = { type = has_province_effect value = { typhoid_fever  = yes } }
                        factor = 1.5
                }
        }

        action_a = {#Perhaps the heathens know something we don't
                effect = { type = ruler_prestige value = 15 }
        }

}
#########################
#A Moslem work on mathematics has been discovered
#########################
province_event = {
        id = 20816
        name = "A Moslem work on mathmatics has been discovered"
        picture = "event_moslem"

        trigger = {
                        condition = {
				type = and
				condition = { type = religion value = muslim }
				condition = { type = ruler_religion value = catholic }
				condition = {
				type = or
				condition = { type = province value = 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 211 }
			        }

        mean_time_to_happen = {
                months = 2000

                modifier = {
                        condition = { type = has_advance value = {  monastic_schools = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { cathedral_schools = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { universities = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { academic_disciplines  = yes } }
                        factor = .95
                }
                modifier = {
                        condition = { type = has_advance value = { aristotelian_logics  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { scholastics  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { astrology  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { romantic_poetry  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_advance value = { troubadours  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_improvement value = { monastery  = yes } }
                        factor = .95
                }
                modifier = {
                        condition = { type = has_improvement value = { university  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_improvement value = { library  = yes } }
                        factor = .92
                }
                modifier = {
                        condition = { type = has_improvement value = { thieves_guild  = yes } }
                        factor = 1.45
                }
                modifier = {
                        condition = { type = has_improvement value = { smugglers_ring  = yes } }
                        factor = 1.55
                }
                modifier = {
                        condition = { type = has_improvement value = { highway_robber_band  = yes } }
                        factor = 1.75
                }

                modifier = {
                        condition = { type = has_province_effect value = { bubonic_plague  = yes } }
                        factor = 2
                }
                modifier = {
                        condition = { type = has_province_effect value = { dysentery  = yes } }
                        factor = 2
                }
                modifier = {
                        condition = { type = has_province_effect value = { looted   = yes } }
                        factor = 1.3
                }
                modifier = {
                        condition = { type = has_province_effect value = { malaria  = yes } }
                        factor = 1.5
                }
                modifier = {
                        condition = { type = has_province_effect value = { pneumonic_plague  = yes } }
                        factor = 1.7
                }
                modifier = {
                        condition = { type = has_province_effect value = { small_pox  = yes } }
                        factor = 1.7
                }
                modifier = {
                        condition = { type = has_province_effect value = { typhoid_fever  = yes } }
                        factor = 1.5
                }
        }

        action_a = {#Perhaps the heathens know something we don't
                effect = { type = ruler_prestige value = 15 }
        }

}
#########################
#A Moslem work on astronomy has been discovered
#########################
province_event = {
        id = 20817
        name = "A Moslem work on astronomy has been discovered"
        picture = "event_moslem"

        trigger = {
                        condition = {
				type = and
				condition = { type = religion value = muslim }
				condition = { type = ruler_religion value = catholic }
				condition = {
				type = or
				condition = { type = province value = 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 211 }
			        }

        mean_time_to_happen = {
                months = 2000

                modifier = {
                        condition = { type = has_advance value = {  monastic_schools = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { cathedral_schools = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { universities = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { academic_disciplines  = yes } }
                        factor = .95
                }
                modifier = {
                        condition = { type = has_advance value = { aristotelian_logics  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { scholastics  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { astrology  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { romantic_poetry  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_advance value = { troubadours  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_improvement value = { monastery  = yes } }
                        factor = .95
                }
                modifier = {
                        condition = { type = has_improvement value = { university  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_improvement value = { library  = yes } }
                        factor = .92
                }
                modifier = {
                        condition = { type = has_improvement value = { thieves_guild  = yes } }
                        factor = 1.45
                }
                modifier = {
                        condition = { type = has_improvement value = { smugglers_ring  = yes } }
                        factor = 1.55
                }
                modifier = {
                        condition = { type = has_improvement value = { highway_robber_band  = yes } }
                        factor = 1.75
                }

                modifier = {
                        condition = { type = has_province_effect value = { bubonic_plague  = yes } }
                        factor = 2
                }
                modifier = {
                        condition = { type = has_province_effect value = { dysentery  = yes } }
                        factor = 2
                }
                modifier = {
                        condition = { type = has_province_effect value = { looted   = yes } }
                        factor = 1.3
                }
                modifier = {
                        condition = { type = has_province_effect value = { malaria  = yes } }
                        factor = 1.5
                }
                modifier = {
                        condition = { type = has_province_effect value = { pneumonic_plague  = yes } }
                        factor = 1.7
                }
                modifier = {
                        condition = { type = has_province_effect value = { small_pox  = yes } }
                        factor = 1.7
                }
                modifier = {
                        condition = { type = has_province_effect value = { typhoid_fever  = yes } }
                        factor = 1.5
                }
        }

        action_a = {#Perhaps the heathens know something we don't
                effect = { type = ruler_prestige value = 15 }
        }

}
#########################
#A Moslem work on surgical techniques has been discovered
#########################
province_event = {
        id = 20818
        name = "A Moslem work on surgical techniques has been discovered"
        picture = "event_moslem"

        trigger = {
                        condition = {
				type = and
				condition = { type = religion value = muslim }
				condition = { type = ruler_religion value = catholic }
				condition = {
				type = or
				condition = { type = province value = 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 211 }
			        }

        mean_time_to_happen = {
                months = 2000

                modifier = {
                        condition = { type = has_advance value = {  monastic_schools = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { cathedral_schools = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { universities = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { academic_disciplines  = yes } }
                        factor = .95
                }
                modifier = {
                        condition = { type = has_advance value = { aristotelian_logics  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { scholastics  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { astrology  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { romantic_poetry  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_advance value = { troubadours  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_improvement value = { monastery  = yes } }
                        factor = .95
                }
                modifier = {
                        condition = { type = has_improvement value = { university  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_improvement value = { library  = yes } }
                        factor = .92
                }
                modifier = {
                        condition = { type = has_improvement value = { thieves_guild  = yes } }
                        factor = 1.45
                }
                modifier = {
                        condition = { type = has_improvement value = { smugglers_ring  = yes } }
                        factor = 1.55
                }
                modifier = {
                        condition = { type = has_improvement value = { highway_robber_band  = yes } }
                        factor = 1.75
                }

                modifier = {
                        condition = { type = has_province_effect value = { bubonic_plague  = yes } }
                        factor = 2
                }
                modifier = {
                        condition = { type = has_province_effect value = { dysentery  = yes } }
                        factor = 2
                }
                modifier = {
                        condition = { type = has_province_effect value = { looted   = yes } }
                        factor = 1.3
                }
                modifier = {
                        condition = { type = has_province_effect value = { malaria  = yes } }
                        factor = 1.5
                }
                modifier = {
                        condition = { type = has_province_effect value = { pneumonic_plague  = yes } }
                        factor = 1.7
                }
                modifier = {
                        condition = { type = has_province_effect value = { small_pox  = yes } }
                        factor = 1.7
                }
                modifier = {
                        condition = { type = has_province_effect value = { typhoid_fever  = yes } }
                        factor = 1.5
                }
        }

        action_a = {#Perhaps the heathens know something we don't
                effect = { type = ruler_prestige value = 15 }
        }

}
#########################
#A Moslem work on geography has been discovered
#########################
province_event = {
        id = 20819
        name = "A Moslem work on geography has been discovered"
        picture = "event_moslem"

        trigger = {
			     condition = {
				type = and
				condition = { type = religion value = muslim }
				condition = { type = ruler_religion value = catholic }
				condition = {
				type = or
				condition = { type = province value = 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 211 }
			        }

        mean_time_to_happen = {
                months = 2000

                modifier = {
                        condition = { type = has_advance value = {  monastic_schools = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { cathedral_schools = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { universities = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { academic_disciplines  = yes } }
                        factor = .95
                }
                modifier = {
                        condition = { type = has_advance value = { aristotelian_logics  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { scholastics  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { astrology  = yes } }
                        factor = .97
                }
                modifier = {
                        condition = { type = has_advance value = { romantic_poetry  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_advance value = { troubadours  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_improvement value = { monastery  = yes } }
                        factor = .95
                }
                modifier = {
                        condition = { type = has_improvement value = { university  = yes } }
                        factor = .9
                }
                modifier = {
                        condition = { type = has_improvement value = { library  = yes } }
                        factor = .92
                }
                modifier = {
                        condition = { type = has_improvement value = { thieves_guild  = yes } }
                        factor = 1.45
                }
                modifier = {
                        condition = { type = has_improvement value = { smugglers_ring  = yes } }
                        factor = 1.55
                }
                modifier = {
                        condition = { type = has_improvement value = { highway_robber_band  = yes } }
                        factor = 1.75
                }

                modifier = {
                        condition = { type = has_province_effect value = { bubonic_plague  = yes } }
                        factor = 2
                }
                modifier = {
                        condition = { type = has_province_effect value = { dysentery  = yes } }
                        factor = 2
                }
                modifier = {
                        condition = { type = has_province_effect value = { looted   = yes } }
                        factor = 1.3
                }
                modifier = {
                        condition = { type = has_province_effect value = { malaria  = yes } }
                        factor = 1.5
                }
                modifier = {
                        condition = { type = has_province_effect value = { pneumonic_plague  = yes } }
                        factor = 1.7
                }
                modifier = {
                        condition = { type = has_province_effect value = { small_pox  = yes } }
                        factor = 1.7
                }
                modifier = {
                        condition = { type = has_province_effect value = { typhoid_fever  = yes } }
                        factor = 1.5
                }
        }

        action_a = {#Perhaps the heathens know something we don't
                effect = { type = ruler_prestige value = 15 }
        }

}

Code:
ACTIONNAME20814A;Perhaps the heathens know something we don't;;;;;;;;;;X
ACTIONNAME20815A;Perhaps the heathens know something we don't;;;;;;;;;;X
ACTIONNAME20816A;Perhaps the heathens know something we don't;;;;;;;;;;X
ACTIONNAME20817A;Perhaps the heathens know something we don't;;;;;;;;;;X
ACTIONNAME20818A;Perhaps the heathens know something we don't;;;;;;;;;;X
ACTIONNAME20819A;Perhaps the heathens know something we don't;;;;;;;;;;X

M
 
Music charms the savage beast

Code:
#########################
#A travelling minstrel seeks your patronage
#########################
character_event = {
	id = 20820
	name = "A travelling minstrel seeks your patronage"
	picture = "event_arts"

	trigger = {
		condition = { type = trait value = depression }
	}


	mean_time_to_happen = {
		months = 150

		modifier = {
			condition = { type = health value = 10 }
			factor = 1.5
		}
		modifier = {
			condition = {
				type = not
				value = { type = health value = 7 }
			}
			factor = 0.9
		}
		modifier = {
			condition = {
				type = not
				value = { type = health value = 5 }
			}
			factor = 0.9
		}
		modifier = {
			condition = {
				type = not
				value = { type = health value = 4 }
			}
			factor = 0.93
		}
		modifier = {
			condition = {
				type = not
				value = { type = health value = 3 }
			}
			factor = 0.93
		}
		modifier = {
			condition = {
				type = not
				value = { type = health value = 2 }
			}
			factor = 0.14
		}
	}

	action_a = { 	#Give him patronage
		ai_chance = 4
		effect = { type = prestige value = 40 }
		effect = { type = gold value = -100 }
		effect = { type = piety value = -20 }
		effect = { 
			type = random 
			chance = 10
			effect = {
					type = remove_trait
					value = depression
					}
			}
		effect = { 
			type = random 
			chance = 25
			effect = {
					type = remove_trait
					value = stress_symptom
					}
			}
		effect = { 
			type = random 
			chance = 5
			effect = {
					type = add_trait
					value = maniac
					}
			}
		effect = { 
			type = random 
			chance = 5
			effect = {
					type = add_trait
					value = energetic
					}
			}
		effect = { 
			type = random 
			chance = 5
			effect = {
					type = add_trait
					value = trusting
					}
			}
		effect = { 
			type = random 
			chance = 5
			effect = { type = fertility value = 5 }
			}
		effect = { 
			type = random 
			chance = 5
			effect = { type = fertility value = 10 }
			}



	}
	action_b = { 	#Tell him to ply his trade elsewhere!
		ai_chance = 5
		effect = { 
			type = random 
			chance = 15
			effect = {
					type = add_trait
					value = suspicious
					}
			}
		effect = { 
			type = random 
			chance = 15
			effect = {
					type = add_trait
					value = temperate
					}
			}
		effect = { type = prestige value = -20 }
		effect = { type = fertility value = -2 }
		# effect = { type = trigger for = random_neighbor value = 20800 }
	}
}
Hi there Bismarck here's the event.

Cheers,
Richmond
 
Last edited by a moderator:
Richmond516 said:
You can't mix a thing from a provincial event and a thing from a character event right? Like it can't check for the presence of troubadours or things like that before firing? I was wondering what I was doing wrong and I discovered that minor point of difference ;P

Similarly you can't have things from a character trait affect a province and vice versa right?
It's kinda possible to do it now, if people used CSC.

Tell me if you need help to rewrire events here, taking CSC possibility into account.

Cheers,

Cat
 
Yeah, I think I could use the help actually, because it does seem to make things a little more complicated now.

M