Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Event{
- id = 5
- description = hidden
- MTTH = {
- months = 3
- modifier = {
- has_trait = lustful
- factor = 0.33
- }
- modifier = {
- has_trait = chaste
- factor = 2
- }
- }
- random_chance = {
- chance = 0.1
- modifier = {
- has_trait = lustful
- factor = 2.5
- }
- }
- Conditions{
- not_trait = infertile
- not_trait = pregnant
- }
- #This event will only have one possible response depending on the husband
- Response{
- name = Ok!
- Conditions{
- spouse = {
- not_trait = infertile
- }
- }
- Actions{
- add_trait = pregnant
- send_event = 6
- }
- }
- Response{
- name = Ok!
- Conditions{
- spouse = {
- has_trait= infertile
- }
- }
- Actions{
- random_list = {
- 0.1 = {
- send_event = 7
- }
- }
- }
- }
- Response{
- name = Ok!
- Conditions{
- spouse_alive = no
- }
- Actions{
- random_list = {
- 0.1 = {
- send_event = 7
- }
- }
- }
- }
- };
- Event{
- id = 6
- description = hidden
- trigger_only = yes
- MTTH = {
- months = 9
- }
- Response{
- name = Ok!
- Actions{
- random_list = {
- 0.85 = {
- have_kid = yes
- }
- 0.15 = {
- have_kid = no
- }
- }
- remove_trait = pregnant
- }
- }
- };
- Event{
- id = 7
- description = hidden
- trigger_only = yes
- MTTH = {
- months = 9
- }
- Conditions{
- #any_person will just fetch every one
- any_person = {
- #will return true if at least one of them matches these conditions
- limit = {
- male = yes
- has_trait = lustful
- not_trait = infertile
- }
- }
- }
- Response{
- name = Ok!
- Actions{
- #Get all villagers
- random_person = {
- #find one male who's lustful
- limit = {
- male = yes
- has_trait = lustful
- not_trait = infertile
- }
- set_character_flag = fathered_bastard
- }
- #now we can send back the actual get pregnant event
- send_event = 6
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement