lockeslylcrit Posted November 3, 2019 Posted November 3, 2019 3 hours ago, joemann said: I have another question. When you make an event or a decision and you want it to apply or to be used by all characters, not just the player or the scoped characters how do you do this? Just set up your from_potential. That's what controls who does a targetted_decision (or simply the potential in a normal decision) 3 hours ago, joemann said: For targeted decisions do you use the ai_target_filter = all in combination with the ai_will_do ? It says this is CPU heavy but in how far is this a problem? all should never be used except for decisions that aren't going to be used except maybe once or twice by a single person. The CPU checks the filter first, then the potentials. You're better off trying to find a workaround if you want to do something that everyone can use.  3 hours ago, joemann said: For on_action events some appear to trigger automatically for all characters, I assume these are all the commands where the wiki does not specify a specific scope. Is that correct? on_actions will always trigger for any character in the game as long as the conditions apply. If a woman gets pregnant, then the on_pregnancy will trigger, regardless of who it is. It's the individual triggers within the events that determine who gets the event.  Â
dwjlien Posted November 4, 2019 Posted November 4, 2019 Got an event that creates courtiers. Is there way to specify their graphical portrait culture separate to their culture culture? create_character = { portrait_culture_group = norse graphical_culture = norsegfx set_graphical_culture = norsegfx graphical_culture = {norsegfx} set_graphical_culture = {norsegfx} I tried variations of that with no success. Was wanting Norwegian looks but Frankish culture. Ultimately I found just creating them norwegian and changing their culture after creation works - but then they all "wrong" names.  So either a solution to specify graphical culture on creation, or to rename them subsequently would work, if anyone knows. Cheers.
lockeslylcrit Posted November 4, 2019 Posted November 4, 2019 8 hours ago, dwjlien said: Got an event that creates courtiers. Is there way to specify their graphical portrait culture separate to their culture culture? create_character = { portrait_culture_group = norse graphical_culture = norsegfx set_graphical_culture = norsegfx graphical_culture = {norsegfx} set_graphical_culture = {norsegfx} I tried variations of that with no success. Was wanting Norwegian looks but Frankish culture. Ultimately I found just creating them norwegian and changing their culture after creation works - but then they all "wrong" names.  So either a solution to specify graphical culture on creation, or to rename them subsequently would work, if anyone knows. Cheers.  create_character = { random_traits = no religion = ROOT culture = oldfrankish female = no # blahblahblah } new_character = { set_graphical_culture = norse }  1
joemann Posted November 4, 2019 Posted November 4, 2019 I am struggling with a scripted effect that I know should work ( a similar effect works without a problem).  This is the event that triggers the scripted effect  Spoiler narrative_event = {    id = RSLVisits.134    desc = "RSLVisits134"    picture = virgin4    title = rsl_deflowered       is_triggered_only = yes # Triggered from .129       immediate = {          event_target:rsl_player_target = {                               save_event_target_as = dick_person                               set_variable = { which = size_differential_pussy which = dick_size }       }             event_target:rsl_visit_target = {                               save_event_target_as = pussy_person                                    set_variable = { which = size_differential_pussy value = 0 }                               change_variable = { which = size_differential_pussy which = event_target:dick_person }       }          }       option = {          name = rsl_option_further                   event_target:dick_person = {                                  if = {                                    limit = { trait = virgin }                                                                      remove_trait = virgin                                     opinion = {                                           modifier = rsl_opinion_took_virginity                                           who = event_target:pussy_person                                     }                                  }            }          event_target:dick_person = {                                                                   add_character_modifier = { name = rsl_good_sex duration = 45 }          }                     event_target:pussy_person = {                                  remove_trait = virgin                                  hidden_tooltip = { character_event = { id = RSLCore.9000 }} # Pregnancy check          }          event_target:pussy_person = {                                        pussy_impact_evaluation = yes        # this is the scripted effect                               update_pussy = yes                                        }                              narrative_event = { id = RSLVisits.1341 }    }      } This is the scripted effect itself Spoiler pussy_impact_evaluation = {             if = {                limit = {                      check_variable = { which = size_differential_pussy which = pussy_size } # checks that ROOT's dick_size is greater than FROM's pussy_size                                     }                      subtract_variable = { which = size_differential_pussy which = pussy_size }  #tooltip shows that this calculation is executed             }                                        # calculate FROM's new size                   if = {                      limit = {                         is_variable_equal = { which = size_differential_pussy value = 6 }                      }                         random_list = {                                       45 = {                                  change_variable = { which = pussy_size value = 3 }                                  set_character_flag = pussy_size_increase_3                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_very_sore_pussy days = 45 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 45 }                            }                            30 = {                                  change_variable = { which = pussy_size value = 4 }                                  set_character_flag = pussy_size_increase_4                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_torn_pussy days = 60 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 60 }                            }                                 20 = {                                  change_variable = { which = pussy_size value = 5 }                                  set_character_flag = pussy_size_increase_5                                  set_character_flag = fucked                                  add_trait = wounded                                  add_character_modifier = { name = rsl_torn_pussy days = 90 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 90 }                            }                            5 = {                                  change_variable = { which = pussy_size value = 6 }                                  set_character_flag = pussy_size_increase_6                                  set_character_flag = fucked                                  add_trait = wounded                                  add_character_modifier = { name = rsl_torn_pussy days = 120 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 120 }                            }                         }                   }                       if = {                      limit = {                         is_variable_equal = { which = size_differential_pussy value = 5 }                      }                         random_list = {                            50 = {                                                                                              change_variable = { which = pussy_size value = 3 }                                  set_character_flag = pussy_size_increase_3                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_very_sore_pussy days = 45 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 45 }                            }                            30 = {                                                                change_variable = { which = pussy_size value = 4 }                                  set_character_flag = pussy_size_increase_4                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_torn_pussy days = 60 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 60 }                            }                               15 = {                                                                change_variable = { which = pussy_size value = 5 }                                  set_character_flag = pussy_size_increase_5                                  set_character_flag = fucked                                  add_trait = wounded                                  add_character_modifier = { name = rsl_torn_pussy days = 90 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 90 }                            }                            5 = {                                  change_variable = { which = pussy_size value = 6 }                                  set_character_flag = pussy_size_increase_6                                  set_character_flag = fucked                                  add_trait = wounded                                  add_character_modifier = { name = rsl_torn_pussy days = 120 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 120 }                            }                                         }                   }                    if = {                      limit = {                         is_variable_equal = { which = size_differential_pussy value = 4 }                      }                         random_list = {                                       1 = {                                                                                              change_variable = { which = pussy_size value = 2 }                                  set_character_flag = pussy_size_increase_2                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 10 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 10 }                            }                            2 = {                                                                change_variable = { which = pussy_size value = 3 }                                  set_character_flag = pussy_size_increase_3                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_very_sore_pussy days = 45 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 45 }                            }                               2 = {                                                                                           change_variable = { which = pussy_size value = 4 }                               set_character_flag = pussy_size_increase_4                               set_character_flag = fucked                               add_character_modifier = { name = rsl_torn_pussy days = 90 }                               add_character_modifier = { name = rsl_pain_level_2 days = 90 }                            }                            90 = {                                                                                              change_variable = { which = pussy_size value = 5 }                                  set_character_flag = pussy_size_increase_5                                  set_character_flag = fucked                                  add_trait = wounded                                  add_character_modifier = { name = rsl_torn_pussy days = 90 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 90 }                            }                                         }                   }                   if = {                      limit = {                         is_variable_equal = { which = size_differential_pussy value = 3 }                      }                                    random_list = {                                   1 = {                                                                                              change_variable = { which = pussy_size value = 1 }                                  set_character_flag = pussy_size_increase_1                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 5 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 5 }                            }                            2 = {                                                                  change_variable = { which = pussy_size value = 2 }                                  set_character_flag = pussy_size_increase_2                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 10 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 10 }                            }                              2 = {                                                                                              change_variable = { which = pussy_size value = 3 }                                  set_character_flag = pussy_size_increase_3                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_very_sore_pussy days = 45 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 45 }                            }                              95 = {                                                                                              change_variable = { which = pussy_size value = 4 }                                  set_character_flag = pussy_size_increase_4                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_torn_pussy days = 90 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 90 }                            }                           }                   }                   if = {                      limit = {                         is_variable_equal = { which = size_differential_pussy value = 2 }                      }                         random_list = {                                       20 = {                                                                                              change_variable = { which = pussy_size value = 0 }                                  set_character_flag = pussy_size_increase_0                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 1 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 1 }                            }                            50 = {                                                                change_variable = { which = pussy_size value = 1 }                                  set_character_flag = pussy_size_increase_1                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 5 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 5 }                            }                              25 = {                                                                                              change_variable = { which = pussy_size value = 2}                                  set_character_flag = pussy_size_increase_2                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 10 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 10 }                            }                              5 = {                                                                                              change_variable = { which = pussy_size value = 3 }                                  set_character_flag = pussy_size_increase_3                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_very_sore_pussy days = 45 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 45 }                            }                           }                          }                   if = {                      limit = {                         is_variable_equal = { which = size_differential_pussy value = 1 }                      }                         random_list = {                            55 = {                                                                                              change_variable = { which = pussy_size value = 0 }                                                                  set_character_flag = pussy_size_increase_0                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 1 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 1 }                            }                            40 = {                                                                change_variable = { which = pussy_size value = 1 }                                                                  set_character_flag = pussy_size_increase_1                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 5 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 5 }                            }                            5 = {                                                                                              change_variable = { which = pussy_size value = 2 }                                                   set_character_flag = pussy_size_increase_2                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 10 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 10 }                            }                                    }                          }                   if = {                      limit = {                         is_variable_equal = { which = size_differential_pussy value = 0 }                      }                            change_variable = { which = pussy_size value = 0 }                            set_character_flag = pussy_size_increase_0                            set_character_flag = fucked                                           }                   } The scripted effect does get triggered because in game I can see the tooltip that indicates that the first calculation is executed but the rest of the effects are not. So no adjustment of sizes, no adding of flags (which breaks the event chain because they are used as triggers in followup events) There must be an obvious mistake in the effect but I have looked at it so often I'm missing it. Help needed.
lockeslylcrit Posted November 4, 2019 Posted November 4, 2019 50 minutes ago, joemann said: I am struggling with a scripted effect that I know should work ( a similar effect works without a problem).  This is the event that triggers the scripted effect  This is the scripted effect itself The scripted effect does get triggered because in game I can see the tooltip that indicates that the first calculation is executed but the rest of the effects are not. So no adjustment of sizes, no adding of flags (which breaks the event chain because they are used as triggers in followup events) There must be an obvious mistake in the effect but I have looked at it so often I'm missing it. Help needed. check_variable = { which = size_differential_pussy which = pussy_size } # checks that ROOT's dick_size is greater than FROM's pussy_size I'm seeing nowhere in the event nor the scripted_effect that sets pussy_size, so you are essentially checking size_differential_pussy against 0. I'm guessing this and dick_size are set elsewhere?  change_variable = { which = size_differential_pussy which = event_target:dick_person } which really doesn't like using any scope except for the standards (FROM, PREV, THIS, ROOT, etc). Try this instead: immediate = { event_target:rsl_player_target = { save_event_target_as = dick_person set_variable = { which = size_differential_pussy which = dick_size } event_target:rsl_visit_target = { save_event_target_as = pussy_person set_variable = { which = size_differential_pussy value = 0 } change_variable = { which = size_differential_pussy which = PREV } } } } Check and see which character's size_differential_pussy gets modified, and work around that. 1
joemann Posted November 4, 2019 Posted November 4, 2019 Thanks for the help. Dick_size and pussy_size are set through ala's body mod for all characters. I don't think the problem is there, if I check through charinfo these values are correctly reflected for e.
joemann Posted November 4, 2019 Posted November 4, 2019 Thanks for the help.  Quote I'm seeing nowhere in the event nor the scripted_effect that sets pussy_size, so you are essentially checking size_differential_pussy against 0. I'm guessing this and dick_size are set elsewhere? Dick_size and pussy_size are set through ala's body mod for all characters. I don't think the problem is there, if I check through charinfo these values are correctly reflected for each character.So is the size differential.  Quote which really doesn't like using any scope except for the standards (FROM, PREV, THIS, ROOT, etc). Try this instead:   I have just tried your solution and it yields the same result. So the size differential is calculated correctly ( dick_size of male character in this case is 4.75 pussy size of female is 1 the size differential calculated for female is 3.75) but the remaining part of the script is not executed. It should modify the pussy size for the female character and give her some flags but it doesn't happen. Nothing happens to the man either. I conclude that which can handle the event_target (it does so in an almost identical scripted_effect) and the problem lies elsewhere.  With a size_differential of 3.75 which part of the script would be applicable?  Spoiler  if = {                      limit = {                         is_variable_equal = { which = size_differential_pussy value = 3 }                      } or  Spoiler  if = {                      limit = {                         is_variable_equal = { which = size_differential_pussy value = 4 }                      } Could the problem be that size_differential_pussy variable 3.75 is not variable_equal to neither 3 nor 4, and that the scripted effect defaults to 0 which is what happens in practice. Â
joemann Posted November 4, 2019 Posted November 4, 2019 Quote Could the problem be that size_differential_pussy variable 3.75 is not variable_equal to neither 3 nor 4, and that the scripted effect defaults to 0 which is what happens in practice This was the problem. I reread the wiki and replaced is_variable_equal with check_variable and now it works! Thanks for helping. Sometimes suggestions from others force you to look at the problem from a different angle. 1
lockeslylcrit Posted November 4, 2019 Posted November 4, 2019 As an addendum, if you want to get an exact range without having to deal with order of operations, add in a second check_variable with a NOT. Â if = { limit = { check_variable = { which = variable_a value = 3 } NOT = { check_variable = { which = variable_a value = 4 } } # blahblah } else_if = { limit = { check_variable = { which = variable_a value = 4 } NOT = { check_variable = { which = variable_a value = 5 } } # blahblah } The first checks the variable to see if it's anywhere between 3 and 3.9999~ The second checks between 4 and 4.9999~ Â This ensures you can have your variable checks in any order you want, instead of having to put the check for the largest number first in the list and go down from there. 1
dwjlien Posted November 4, 2019 Posted November 4, 2019 Â Â Thank you lockrslycrit? I now have norse faced courtiers. Your knowledge and spirit of sharing is hugely appreciated.
joemann Posted November 5, 2019 Posted November 5, 2019 Thank you lockrslycrit for the addendum, I think I will need it. My solution worked in the sense that the script executed, but it triggered every <if> block below size_differential 4 . Suddenly the female character had three flags and all three of the follow up events were triggered. I tried to rectify this by adding break = yes in each< if >block of the scripted effect but although now only one<> if block is triggered and the corresponding flag assigned it breaks the event chain.? Â I'll try your solution now.
joemann Posted November 5, 2019 Posted November 5, 2019 In the end I solved it by using the else_if command.  Spoiler pussy_impact_evaluation = {             if = {                limit = {                      check_variable = { which = size_differential_pussy which = pussy_size } # checks that ROOT's dick_size is greater than FROM's pussy_size                                     }                      subtract_variable = { which = size_differential_pussy which = pussy_size }             }                                        # calculate FROM's new size                   if = {                      limit = {                         check_variable = { which = size_differential_pussy value = 6 }                                           }                         random_list = {                                       15 = {                                  change_variable = { which = pussy_size value = 3 }                                  set_character_flag = pussy_size_increase_3                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_very_sore_pussy days = 45 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 45 }                            }                            40 = {                                  change_variable = { which = pussy_size value = 4 }                                  set_character_flag = pussy_size_increase_4                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_torn_pussy days = 60 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 60 }                            }                                 30 = {                                  change_variable = { which = pussy_size value = 5 }                                  set_character_flag = pussy_size_increase_5                                  set_character_flag = fucked                                  add_trait = wounded                                  add_character_modifier = { name = rsl_torn_pussy days = 90 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 90 }                            }                            15 = {                                  change_variable = { which = pussy_size value = 6 }                                  set_character_flag = pussy_size_increase_6                                  set_character_flag = fucked                                  add_trait = wounded                                  add_character_modifier = { name = rsl_torn_pussy days = 120 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 120 }                            }                         }                                           }                       else_if = {                      limit = {                         check_variable = { which = size_differential_pussy value = 5 }                                           }                         random_list = {                            20 = {                                                                                              change_variable = { which = pussy_size value = 3 }                                  set_character_flag = pussy_size_increase_3                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_very_sore_pussy days = 45 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 45 }                            }                            40 = {                                                                change_variable = { which = pussy_size value = 4 }                                  set_character_flag = pussy_size_increase_4                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_torn_pussy days = 60 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 60 }                            }                               20 = {                                                                change_variable = { which = pussy_size value = 5 }                                  set_character_flag = pussy_size_increase_5                                  set_character_flag = fucked                                  add_trait = wounded                                  add_character_modifier = { name = rsl_torn_pussy days = 90 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 90 }                            }                            10 = {                                  change_variable = { which = pussy_size value = 6 }                                  set_character_flag = pussy_size_increase_6                                  set_character_flag = fucked                                  add_trait = wounded                                  add_character_modifier = { name = rsl_torn_pussy days = 120 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 120 }                            }                                         }                                           }                    else_if = {                      limit = {                         check_variable = { which = size_differential_pussy value = 4 }                                           }                         random_list = {                                       10 = {                                                                                              change_variable = { which = pussy_size value = 2 }                                  set_character_flag = pussy_size_increase_2                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 10 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 10 }                            }                            20 = {                                                                change_variable = { which = pussy_size value = 3 }                                  set_character_flag = pussy_size_increase_3                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_very_sore_pussy days = 45 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 45 }                            }                               40 = {                                                                                           change_variable = { which = pussy_size value = 4 }                               set_character_flag = pussy_size_increase_4                               set_character_flag = fucked                               add_character_modifier = { name = rsl_torn_pussy days = 90 }                               add_character_modifier = { name = rsl_pain_level_2 days = 90 }                            }                            30 = {                                                                                              change_variable = { which = pussy_size value = 5 }                                  set_character_flag = pussy_size_increase_5                                  set_character_flag = fucked                                  add_trait = wounded                                  add_character_modifier = { name = rsl_torn_pussy days = 90 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 90 }                            }                                                     }                   }                   else_if = {                      limit = {                         check_variable = { which = size_differential_pussy value = 3 }                                           }                                    random_list = {                                   10 = {                                                                                              change_variable = { which = pussy_size value = 1 }                                  set_character_flag = pussy_size_increase_1                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 5 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 5 }                            }                            20 = {                                                                  change_variable = { which = pussy_size value = 2 }                                  set_character_flag = pussy_size_increase_2                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 10 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 10 }                            }                              30 = {                                                                                              change_variable = { which = pussy_size value = 3 }                                  set_character_flag = pussy_size_increase_3                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_very_sore_pussy days = 45 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 45 }                            }                              40 = {                                                                                              change_variable = { which = pussy_size value = 4 }                                  set_character_flag = pussy_size_increase_4                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_torn_pussy days = 90 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 90 }                            }                                                      }                                           }                   else_if = {                      limit = {                         check_variable = { which = size_differential_pussy value = 2 }                                     }                         random_list = {                                       20 = {                                                                                              change_variable = { which = pussy_size value = 0 }                                  set_character_flag = pussy_size_increase_0                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 1 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 1 }                            }                            50 = {                                                                change_variable = { which = pussy_size value = 1 }                                  set_character_flag = pussy_size_increase_1                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 5 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 5 }                            }                              25 = {                                                                                              change_variable = { which = pussy_size value = 2}                                  set_character_flag = pussy_size_increase_2                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 10 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 10 }                            }                              5 = {                                                                                              change_variable = { which = pussy_size value = 3 }                                  set_character_flag = pussy_size_increase_3                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_very_sore_pussy days = 45 }                                  add_character_modifier = { name = rsl_pain_level_2 days = 45 }                            }                           }                                        }                   else_if = {                      limit = {                         check_variable = { which = size_differential_pussy value = 1 }                                        }                         random_list = {                            55 = {                                                                                              change_variable = { which = pussy_size value = 0 }                                                                  set_character_flag = pussy_size_increase_0                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 1 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 1 }                            }                            40 = {                                                                change_variable = { which = pussy_size value = 1 }                                                                  set_character_flag = pussy_size_increase_1                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 5 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 5 }                            }                            5 = {                                                                                              change_variable = { which = pussy_size value = 2 }                                                   set_character_flag = pussy_size_increase_2                                  set_character_flag = fucked                                  add_character_modifier = { name = rsl_sore_pussy days = 10 }                                  add_character_modifier = { name = rsl_pain_level_1 days = 10 }                            }                                    }                                           }                   else_if = {                      limit = {                         1s_variable_equal = { which = size_differential_pussy value = 0 }                      }                            change_variable = { which = pussy_size value = 0 }                            set_character_flag = pussy_size_increase_0                            set_character_flag = fucked                                           }                   }  Â
AlexWyrmin Posted November 5, 2019 Posted November 5, 2019 769.1.1 = { effect = { death = yes limit = { OR = { diplomacy <= 15 martial <= 15 stewardship <= 15 intrigue <= 15 } } } My goal was to have someone who would "need" to be on my council at the starting date kick the bucket on the same day unless he was really good at something. I've already run some tests, but I've had a run of RNG bad luck and I'd like to know if I got the synthax right.
lockeslylcrit Posted November 5, 2019 Posted November 5, 2019 3 hours ago, AlexWyrmin said: 769.1.1 = { effect = { death = yes limit = { OR = { diplomacy <= 15 martial <= 15 stewardship <= 15 intrigue <= 15 } } } My goal was to have someone who would "need" to be on my council at the starting date kick the bucket on the same day unless he was really good at something. I've already run some tests, but I've had a run of RNG bad luck and I'd like to know if I got the synthax right. 769.1.1 = { effect = { if = { limit = { OR = { diplomacy <= 15 martial <= 15 stewardship <= 15 intrigue <= 15 } } death = yes } } } Â
AlexWyrmin Posted November 5, 2019 Posted November 5, 2019 35 minutes ago, lockeslylcrit said: 769.1.1 = { effect = { if = { limit = { OR = { diplomacy <= 15 martial <= 15 stewardship <= 15 intrigue <= 15 } } death = yes } } } Â *facepalm* I pulled a Yoda in C++Â ?
AlexWyrmin Posted November 6, 2019 Posted November 6, 2019 Does anyone know the ID for the event making your wife lustful by reading spicy literature?
lockeslylcrit Posted November 6, 2019 Posted November 6, 2019 1 hour ago, AlexWyrmin said: Does anyone know the ID for the event making your wife lustful by reading spicy literature? 73001 in court_events.txt
AlexWyrmin Posted November 6, 2019 Posted November 6, 2019 1 hour ago, lockeslylcrit said: 73001 in court_events.txt Thank you.
dwjlien Posted November 7, 2019 Posted November 7, 2019 Stumped figuring out how to see if a characters religion allows BS or PC orPSC Marriage  If = { Limit = { From = { ?from allows incest check ?} } piety = 50 } Â
lockeslylcrit Posted November 7, 2019 Posted November 7, 2019 9 minutes ago, dwjlien said: Stumped figuring out how to see if a characters religion allows BS or PC orPSC Marriage  If = { Limit = { From = { ?from allows incest check ?} } piety = 50 }   if = { limit = { FROM = { is_close_relative = ROOT OR = { religion = messalian religion = zoroastrian has_religion_feature = religion_holy_family } } } piety = 50 } There is no good way of checking except to to check the religions themselves 1
dwjlien Posted November 7, 2019 Posted November 7, 2019 Quick, good, fast and ever reliable, you're the hitachi wand of posters. Â Thanks for the info, shame there's no shortcut
lockeslylcrit Posted November 7, 2019 Posted November 7, 2019 12 minutes ago, dwjlien said: Thanks for the info, shame there's no shortcut  /scripted_triggers/ can_allow_incest = { OR = { religion = messalian religion = zoroastrian has_religion_feature = religion_holy_family } } Then just call upon can_allow_incest whenever you want to make a shortcut.  Example: if = { limit = { FROM = { is_close_relative = ROOT can_allow_incest = yes } } piety = 50 } Â
dwjlien Posted November 7, 2019 Posted November 7, 2019 oh fuckity. This has common events? Fuck me sideways.
lockeslylcrit Posted November 7, 2019 Posted November 7, 2019 5 minutes ago, dwjlien said: oh fuckity. This has common events? Fuck me sideways. There's nothing in vanilla. The above example was written by myself for you to use in your own scripted_triggers
dwjlien Posted November 7, 2019 Posted November 7, 2019 I gotchya, I just never seen scripted triggers before, they're like common events in RPGMaker n the like, you can call repeatedly from elsewhere. WIsh id known earlier is what i meant by of fuckity!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now