Jump to content

Modding help - opinion modifiers


joemann

Recommended Posts

Posted

I have managed to get my event working by abandoning the {if_else} language and reverting to {if} , {if} and adding <break = yes>.

 

narrative_event = {
    id = RSLVisits.230
    desc = "RSLVisits230"
    picture = discipline_spouse_01
    title = rsl_disciplining_spouse
    
    is_triggered_only = yes # Triggered from .2
    immediate = {
    
            if = {                     # She seems to like it
                limit = {
                     is_submissive = yes
                    
                }
                random_list = {
                    70 = { ##accepts punishment        
                    event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }}
                    host = { narrative_event = { id = RSLVisits.9200 }} ## spank bottom
                    
                    }
                    30 = { ## loves punishment
                    event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }}
                    event_target:rsl_visit_target = { add_character_modifier = { name = rsl_good_sex duration = 30 }}
                    host = { narrative_event = { id = RSLVisits.9201 }} ## play with bottom make her come
                    add_trait = submissive
                    
                    
                    }
                }    
            break = yes
            }

 

etc

 

I would now like to add opinion modifiers , which change the opinions of both spouses towards each other only, depending on the event but not necessarily with the same weight (so husband could be +5 and spouse -10. How and where do you do that?

 

Do I use an event modifier or a character modifier?

 A separate one  for each character ?  According to the wiki the code for an opinion modifier would be

 

opinion = {

             modifier = < xxx>

             who = root or from,  can I add a second "who"  to cover the second character?

            

 

Do I include it in the above event .230 or in the narrative events that are triggered by it .9200 and .9201?

 

Your help is much appreciated!

 

 

 

 

Posted

Yeah, you need two separate opinion modifiers.

Assuming the scope is the wife and FROM is yourself, you can do this easily by adding

" opinion = { ... who = FROM } " (which would handle her opinion towards you)

and

"reverse_opinion = { ... who = FROM }" (which would handle your opinion towards her)

to your command block.

Also, I might have misunderstood, but you seem to think that opinion modifiers and character modifiers are the same thing (they're not). Sorry if I did not get your meaning though, and gl with your modding!

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...