OSP Kit QoL Ye Olde Tavern Strumpets

Users who are viewing this thread

Apologies Jai, didn't notice your edit and haven't looked in since nobody is posting.  I stopped in to make sure I didn't post erroneous code that was left in my own game. 

Thanks for your results!  I'll note the placement issue if this ever gets finalized.

About the strange relation bonuses, if two factions are at war or dislike one another and you make nice with either of them, the other will automatically get suspicious of you - that's default game behavior.  In spite of this,  I figure that if this type of service is openly practiced, then someone somewhere in the high ranks are getting a cut.  So, I went with a relation gain to the madame's faction as well as to her host town, because they're all getting a cut, you see?  If you'd like to suggest another way to handle this, I'm certainly open to suggestions.
 
ah that is cool but it was not her host town that gained favor for me, her host town became suspicious and another faction gained favor
 
Is there a reasonable explanation as to why the following, or any variation thereof, will not work?  This is one of the response choices with the tavern keep dialog after a drunk fight.

  [anyone|plyr, "player_duel_response", [],
  "Better {him/her} than me!", "close_window", [
  ]],

=====
To further elaborate, in the "try to take what you want-n-fight about it" version, the gender isn't being accounted for and always defaults to him-that bastard-whatever male gender.  This is something that always just works, so I have no idea how to force a check nor what needs done.  :???:
 
The belligerent drunk is always a drunk male. If you set {him/her}, it defaults to the player. First use agent_get_troop_id on $g_main_attacker_agent, and then fetch the result of troop_get_type to a register.
 
Somebody said:
The belligerent drunk is always a drunk male. If you set {him/her}, it defaults to the player. First use agent_get_troop_id on $g_main_attacker_agent, and then fetch the result of troop_get_type to a register.
Thanks Somebody, now I know how to check for gender.  What I ended up doing was adding a global to both scripts, activate drunk and activate strumpet without a specific gender check because it's already guaranteed according to which script is called. The dialog as such:

Code:
  [anyone|plyr, "player_duel_response", 
	[
		(eq,"$g_attacker_gender",0),
	],	 "Better him than me!", "close_window", [
   ]],
   
  [anyone|plyr, "player_duel_response",
	[
		(eq,"$g_attacker_gender",1),
	],   "That ***** had it coming!","close_window",[]],


In other news: FFS!  What is the problem with the operations in this dialog?  Any variation that I've tried, including store_conversation_troop, will compile without error.  This along with the current arrangement produce no script errors but will not work.  Using agent_get_troop_id causes script error notifications within the game, though it was used by itself and in conjunction with store_conversation_troop within a try_begin.  I'm assuming that store_conversation_troop stores the name rather than the troop ID, since it refuses to work?  I'm trying for a small bank of multiple instances of the same offer, based on the individual madame - which then would zero out once the offer is received, yet keep the others intact.  I can't see how this_or_next would work for this and somehow, it feels as if I'm missing some basic rule here.  val_add was originally "assign" until the most recent round of failure.

Code:
  [anyone,"madame_privilege_n",[],"Of course {playername}, I shall hold this offer for when we next speak.","close_window",
	[
		(try_for_range,":cur_madame",tavern_madame_begin,"trp_tavern_minstrel_1"),
		#(agent_get_troop_id,":cur_madame",":madame"),
			(eq,":cur_madame","trp_madame_1"),
			(val_add,"$g_madame_privilege_1",1),
		(else_try),
			(eq,":cur_madame","trp_madame_2"),
			(val_add,"$g_madame_privilege_2",1),
		(else_try),
			(eq,":cur_madame","trp_madame_3"),
			(val_add,"$g_madame_privilege_3",1),
		(else_try),
			(eq,":cur_madame","trp_madame_4"),
			(val_add,"$g_madame_privilege_4",1),
		(else_try),
			(eq,":cur_madame","trp_madame_5"),
			(val_add,"$g_madame_privilege_5",1),
		(else_try),
			(eq,":cur_madame","trp_madame_6"),
			(val_add,"$g_madame_privilege_6",1),
		(else_try),
			(eq,":cur_madame","trp_madame_7"),
			(val_add,"$g_madame_privilege_7",1),
		(try_end),			
	]],
  
  [anyone,"start",
	[		
		(is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),
		(store_conversation_troop,":tlk_madame"),
		(str_store_troop_name,s69,":tlk_madame"),		
		(call_script, "script_troop_get_player_relation",":tlk_madame"),        		
		(ge,reg0,10),
			(try_for_range,":cur_madame",tavern_madame_begin,"trp_tavern_minstrel_1"),
			#(agent_get_troop_id,":cur_madame",":madame"),
				(eq,":cur_madame", "trp_madame_1"),
				(eq,"$g_madame_privilege_1",1),			
			(else_try),
				(eq,":cur_madame", "trp_madame_2"),
				(eq,"$g_madame_privilege_2",1),			
			(else_try),
				(eq,":cur_madame", "trp_madame_3"),
				(eq,"$g_madame_privilege_3",1),			
			(else_try),
				(eq,":cur_madame", "trp_madame_4"),
				(eq,"$g_madame_privilege_4",1),			
			(else_try),
				(eq,":cur_madame", "trp_madame_5"),
				(eq,"$g_madame_privilege_5",1),			
			(else_try),
				(eq,":cur_madame", "trp_madame_6"),
				(eq,"$g_madame_privilege_6",1),			
			(else_try),
				(eq,":cur_madame", "trp_madame_7"),
				(eq,"$g_madame_privilege_7",1),			
			(try_end),		
		
	],   "{s69} never breaks a promise {playername}.","madame_privilege",

Also to add the current progress for the dialog module, as it is in the tester game.
Code:
#Ye Olde Tavern Strumpets
#making use of the relationship system
#need to find the way to get these characters listed and described
#consider adding male strumpets - not sure if it fits the general era
#two copies of the same character sometimes spawn in the same place - ?
#probably need to change remainder store_conversation_troop to $g_talk_troop
  [anyone, "start",
    [   
	    (is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),				
		(store_conversation_troop,":tlk_madame"),
		(str_store_troop_name,s69,":tlk_madame"),		
	    (call_script, "script_troop_get_player_relation",":tlk_madame"),        		
		(ge,reg0,10),
		#(store_current_hours,":cur_hours"),
		#(ge,":cur_hours","$buy_strumpets_last_time"),
			(try_for_range,":cur_madame",tavern_madame_begin,"trp_tavern_minstrel_1"),
			#(agent_get_troop_id,":cur_madame",":madame"),
				(eq,":cur_madame","trp_madame_1"),
				(eq,"$g_madame_privilege_1",0),
			(else_try),
				(eq,":cur_madame","trp_madame_2"),
				(eq,"$g_madame_privilege_2",0),
			(else_try),
				(eq,":cur_madame","trp_madame_3"),
				(eq,"$g_madame_privilege_3",0),
			(else_try),
				(eq,":cur_madame","trp_madame_4"),
				(eq,"$g_madame_privilege_4",0),
			(else_try),
				(eq,":cur_madame","trp_madame_5"),
				(eq,"$g_madame_privilege_5",0),
			(else_try),
				(eq,":cur_madame","trp_madame_6"),
				(eq,"$g_madame_privilege_6",0),
			(else_try),
				(eq,":cur_madame","trp_madame_7"),
				(eq,"$g_madame_privilege_7",0),
			(try_end),			     
	],  "Mmm {playername}. As a preferred customer, there be privileges!","madame_privilege",[]],
  
  [anyone|plyr, "madame_privilege",
	[
		#(store_conversation_troop,":cur_madame"),
		#(str_store_troop_name,s69,":cur_madame"),
	],   "That sounds very fine, {s69}.^What have ye in mind?","madame_privilege_explained",[]],
		
  [anyone, "madame_privilege_explained",
	[
		(party_get_num_companions,reg30,"p_main_party"),
		(gt,reg30,1),
        (store_mul,reg35,reg30,5),
		(val_sub,reg35,-5),
        (store_troop_gold,":gold","trp_player"),        
        (ge,":gold",reg35),
	],   "Thou may treat all of thine troops for half off!^As for ye and me, it's my treat, no cost!","madame_privilege_rspns",[]],
	
  [anyone, "madame_privilege_explained",
	[
		(party_get_num_companions,reg30,"p_main_party"),
		(eq,reg30,1),        
	],   "Thou deserve a quickie {playername}.  My treat!","madame_privilege_quickie",[]],

	[anyone|plyr,"madame_privilege_quickie",[],"On to the bedroll!","close_window",
	[
		(finish_mission),
		(rest_for_hours,2,5,0),
		(assign,"$g_leave_town",1),
		(add_xp_as_reward,10),
	]
  ],
  
  [anyone|plyr,"madame_privilege_quickie",[],"Not today I'm afraid, I must be on my way","close_window",
	[
		(store_conversation_troop,":cur_madame"),
		(call_script,"script_change_player_relation_with_troop",":cur_madame",-1),
	]
  ],
  	
  [anyone, "madame_privilege_explained",
	[
		(party_get_num_companions,reg30,"p_main_party"),
		(gt,reg30,1),
        (store_mul,reg35,reg30,5),
		(val_sub,reg35,-5),
        (store_troop_gold,":gold","trp_player"),        
        (lt,":gold",reg35),		
	],   "Soon as ye can afford {reg35} denars, more or less, come find me^and ye shall see what {s69} has in store.","madame_privilege_broke",[]],
	
  [anyone|plyr,"madame_privilege_broke",[],"I look forward to what ye may have in store","close_window",[]],
  [anyone|plyr,"madame_privilege_broke",[],"I have yet an even better idea, strumpet...","madame_betrayed",[]],
  
  [anyone|plyr,"madame_privilege_rspns",[], "{s69}, how can I refuse? I'm yers to use and abuse!","close_window",
	[		
		(finish_mission),
		(rest_for_hours,12,5,0),
		(assign,"$g_leave_town",1),
		(troop_remove_gold, "trp_player", reg35),
		(call_script, "script_change_player_relation_with_faction_ex", "$g_talk_troop_faction", 5),
		(call_script, "script_change_player_party_morale", 20),
		(call_script, "script_change_player_honor", 5),
		(call_script, "script_change_player_relation_with_center", "$current_town",5),
		(add_xp_as_reward, 100),
		(str_store_string,s68,"str_madame_group"),
        (store_current_hours,":fut_hours"),
		(val_add, ":fut_hours", 24),
		(assign, "$buy_strumpets_last_time", ":fut_hours"),		
				(try_for_range,":cur_madame",tavern_madame_begin,"trp_tavern_minstrel_1"),
		#(agent_get_troop_id,":cur_madame",":madame"),
					(eq,":cur_madame", "trp_madame_1"),					
					(assign,"$g_madame_privilege_1",0),
				(else_try),
					(eq,":cur_madame", "trp_madame_2"),					
					(assign,"$g_madame_privilege_2",0),
				(else_try),
					(eq,":cur_madame", "trp_madame_3"),					
					(assign,"$g_madame_privilege_3",0),
				(else_try),
					(eq,":cur_madame", "trp_madame_4"),					
					(assign,"$g_madame_privilege_4",0),
				(else_try),
					(eq,":cur_madame", "trp_madame_5"),					
					(assign,"$g_madame_privilege_5",0),
				(else_try),
					(eq,":cur_madame", "trp_madame_6"),					
					(assign,"$g_madame_privilege_6",0),
				(else_try),
					(eq,":cur_madame", "trp_madame_7"),					
					(assign,"$g_madame_privilege_7",0),				
				(try_end),		
	]],
  [anyone|plyr,"madame_privilege_rspns",[], "{s69}, I have no time, we are merely breaking from the fray.","madame_privilege_rspns_a",[]],
  [anyone|plyr,"madame_privilege_rspns_a",[], "Shall I count on yer generosity another day?","madame_privilege_n",[]],
  [anyone|plyr,"madame_privilege_rspns",[], "Strumpet, hear my offer, it's even better than yours...","madame_betrayed",[]],
  
  [anyone,"madame_privilege_n",[],"Of course {playername}, I shall hold this offer for when we next speak.","close_window",
	[
		(try_for_range,":cur_madame",tavern_madame_begin,"trp_tavern_minstrel_1"),
		#(agent_get_troop_id,":cur_madame",":madame"),
			(eq,":cur_madame","trp_madame_1"),
			(val_add,"$g_madame_privilege_1",1),
		(else_try),
			(eq,":cur_madame","trp_madame_2"),
			(val_add,"$g_madame_privilege_2",1),
		(else_try),
			(eq,":cur_madame","trp_madame_3"),
			(val_add,"$g_madame_privilege_3",1),
		(else_try),
			(eq,":cur_madame","trp_madame_4"),
			(val_add,"$g_madame_privilege_4",1),
		(else_try),
			(eq,":cur_madame","trp_madame_5"),
			(val_add,"$g_madame_privilege_5",1),
		(else_try),
			(eq,":cur_madame","trp_madame_6"),
			(val_add,"$g_madame_privilege_6",1),
		(else_try),
			(eq,":cur_madame","trp_madame_7"),
			(val_add,"$g_madame_privilege_7",1),
		(try_end),			
	]],
  
  [anyone,"start",
	[
		(try_begin),
		(is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),
		(store_conversation_troop,":tlk_madame"),
		(str_store_troop_name,s69,":tlk_madame"),		
		(call_script, "script_troop_get_player_relation",":tlk_madame"),        		
		(ge,reg0,10),
			(try_for_range,":cur_madame",tavern_madame_begin,"trp_tavern_minstrel_1"),
			#(agent_get_troop_id,":cur_madame",":madame"),
				(eq,":cur_madame", "trp_madame_1"),
				(eq,"$g_madame_privilege_1",1),			
			(else_try),
				(eq,":cur_madame", "trp_madame_2"),
				(eq,"$g_madame_privilege_2",1),			
			(else_try),
				(eq,":cur_madame", "trp_madame_3"),
				(eq,"$g_madame_privilege_3",1),			
			(else_try),
				(eq,":cur_madame", "trp_madame_4"),
				(eq,"$g_madame_privilege_4",1),			
			(else_try),
				(eq,":cur_madame", "trp_madame_5"),
				(eq,"$g_madame_privilege_5",1),			
			(else_try),
				(eq,":cur_madame", "trp_madame_6"),
				(eq,"$g_madame_privilege_6",1),			
			(else_try),
				(eq,":cur_madame", "trp_madame_7"),
				(eq,"$g_madame_privilege_7",1),			
			(try_end),
		
		
		(try_end),
	],   "{s69} never breaks a promise {playername}.","madame_privilege",
			[
				
			]
  ],
	
  [anyone, "start",
	[
	    (is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),
		(store_conversation_troop,":cur_madame"),
	    (call_script, "script_troop_get_player_relation",":cur_madame"),
        (lt,reg0,10),		
		(ge,reg0,-5),
		(store_current_hours,":cur_hours"),
		(ge,":cur_hours","$buy_strumpets_last_time"),		
	],   "{My lord/My lady}. What can I, a humble servant of the flesh do for ye?", "madame_talk",[(play_sound, "snd_mmm"),]],
	
  [anyone,"start",
    [
	    (is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),
		(store_conversation_troop,":cur_madame"),
	    (call_script, "script_troop_get_player_relation",":cur_madame"),		
		(lt,reg0,-5),
		#(ge,reg0,-15),
		(store_current_hours,":cur_hours"),
		(ge,":cur_hours","$buy_strumpets_last_time"),
	],   "My sister professionals forgive ye much more easily than I.^I'll have nothing at all to do with ye until amends are made.","madame_amends",[]],
	
  [anyone,"start",
    [
	    (is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),
		(store_conversation_troop,":cur_madame"),
	    (call_script, "script_troop_get_player_relation",":cur_madame"),		
		(lt,reg0,-5),
		(store_current_hours,":cur_hours"),
		(lt,":cur_hours","$buy_strumpets_last_time"),
		(str_store_troop_name,s69,":cur_madame"),
	],   "Guards!","madame_squeals",[]],
  
  [anyone|plyr,"madame_squeals",[],"What are you doing?! {s69}?","madame_squeals_x",[]],
  [anyone,"madame_squeals_x",[],"{playername}, ye best leave, now.","close_window",[(finish_mission),]],#thinking of adding strumpet guards and a fight with them here.
	
  [anyone|plyr,"madame_amends",[],"What would ye that I do?","madame_amends_demands",[]],
  [anyone|plyr,"madame_amends",[],"Then suffer ye losses!","close_window",[]],
  
  [anyone,"madame_amends_demands",[],"Thou will pay me a sum of 2000 denars for my loss and humiliation.","madame_amends_demands_ans",[]],
  
  [anyone|plyr,"madame_amends_demands_ans",
    [
	    (store_troop_gold,":gold","trp_player"),
		(ge,":gold",2000),
    ],   "Very well, here be yer retribution","close_window",
	    [
		     (troop_remove_gold, "trp_player", 2000),
			 (store_conversation_troop,":cur_madame"),
			 (call_script,"script_change_player_relation_with_troop",":cur_madame",10),
			 (call_script, "script_change_player_honor", 1),]],
	
  [anyone|plyr,"madame_amends_demands_ans",
    [
	    (store_troop_gold,":gold","trp_player"),
		(lt,":gold",2000),
	],   "Alas, I shant be able to pay right away. Perhaps another day.","close_window",[]],
	
  [anyone|plyr,"madame_amends_demands_ans",
	[
		(store_troop_gold,":gold","trp_player"),
		(ge,":gold",2000),
	],   "Sweet as ye be, yer simply not worth that to me.","close_window",[]],
	
  [anyone|plyr,"madame_amends_demands_ans",[],"Humiliation is ye life strumpet, now live it!","madame_betrayed",[]],
  
  [anyone,"start",
	[
	    (is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),
		(store_conversation_troop,":cur_madame"),
	    (call_script, "script_troop_get_player_relation",":cur_madame"),        		
        (ge,reg0,-5),
		(store_current_hours,":cur_hours"),
		(lt,":cur_hours", "$buy_strumpets_last_time"),		
	],"{s68}","close_window",[]],

  [anyone, "madame_choose",[],"{playername}, I am at ye service anyway ye like.", "madame_talk",[]],
		
  [anyone|plyr, "madame_talk", 
	[	
		(party_get_num_companions,reg30,"p_main_party"),
		(gt,reg30,1),
        (store_mul,reg35,reg30,10),
        (store_troop_gold,":gold","trp_player"),        
        (ge,":gold",reg35),	
	],"We work hard, now we need play. On the to bedrolls, come what may this day!","madame_ans1",[]],
  
  [anyone|plyr, "madame_talk", 
	[	
		(store_troop_gold,":gold","trp_player"),
		(ge,":gold",15),		
	],"Just ye and me, queen strumpet.", "madame_ans2",[]],
		
  [anyone|plyr,"madame_talk",[],"My men and I will take what we want from ye.","madame_betrayed",[]],
  
  [anyone|plyr, "madame_talk",[],"Filthy whore, I love war!", "madame_angry",
		[
		    (store_conversation_troop,":cur_madame"),
			(call_script,"script_change_player_relation_with_troop",":cur_madame",-1),
			(store_current_hours,":fut_hours"),
			(val_add, ":fut_hours", 18),
			(assign, "$buy_strumpets_last_time", ":fut_hours"),			
		]
  ],

  [anyone|plyr, "madame_talk", [],"No thanks.", "close_window",[(play_sound, "snd_sigh"),]],

  [anyone, "madame_ans1", [], 
  "To the gods and goddesses we shall dedicate our orgy!^{playername}, a fee of {reg35} denars should suffice for our trife.","madame_ans1a",[]],

#  [anyone, "madame_ans2", [],"{playername} is selfish I see, 15 will suffice for ye and me.", "madame_ans2a",[]],
  [anyone, "madame_ans2", [],"What a greedy {cock/****} ye be, 15 will suffice for ye and me.", "madame_ans2a",[]],
  
  [anyone,"madame_betrayed",[],"We shant rest until we taste the fruits of revenge!  Is that really what ye want?","madame_betray_ans",[]],
  
  [anyone|plyr,"madame_betray_ans",[],"On second thought, we leave ye be.","close_window",
		[
			(str_store_string,s68,"str_madame_play"),
			(store_current_hours,":fut_hours"),
			(val_add, ":fut_hours", 36),
			(assign, "$buy_strumpets_last_time", ":fut_hours"),
            (store_conversation_troop,":x_madame"),			
		    (call_script, "script_troop_change_relation_with_troop", "trp_player", ":x_madame", -1),
            (str_store_troop_name,s69,":x_madame"),			
		]
  ],
  
  [anyone|plyr,"madame_betray_ans",[],"Men!  Defile these creatures as ye will!  I'll have this one!","madame_betray_rsp",
		[
			(store_current_hours,":fut_hours"),
			(val_add, ":fut_hours", 168),
			(assign, "$buy_strumpets_last_time", ":fut_hours"),
		]
  ],
  
  [anyone|plyr,"madame_betray_ans",[],"Oops!","close_window",[]],
  
  [anyone,"madame_betray_rsp",
		[
			(store_conversation_troop,":x_madame"),
			(str_store_troop_name,s69,":x_madame"),		
		],   "Thou vile, evil soul! Let it be known that^{s69} will stand for no such thing!","close_window",
				[	
					(call_script, "script_activate_tavern_strumpet"),  		  				       
					(call_script, "script_neutral_behavior_in_fight"),
					(set_spawn_radius,1),
					(spawn_around_party,"p_main_party","pt_betrayed_strumpets"),
					(call_script, "script_change_player_honor",-10),
					(call_script, "script_change_player_relation_with_faction_ex", "$g_talk_troop_faction", -5),
					(call_script, "script_change_player_party_morale", 5),
					(call_script, "script_change_player_relation_with_center", "$current_town",-5),
					(store_conversation_troop,":x_madame"),
					(call_script, "script_change_player_relation_with_troop", ":x_madame", -10),
					(str_store_string,s68,"str_madame_betrayed"),
				]
  ],
  
  [anyone|plyr, "madame_ans2a", [],"Then ye and me it shall be, here are your 15 coins.", "close_window",
	[
		(finish_mission),
	    (rest_for_hours,4,5,0),
		(assign,"$g_leave_town",1),			
		(store_current_hours,":fut_hours"),
		(val_add, ":fut_hours", 12),
		(assign, "$buy_strumpets_last_time", ":fut_hours"),
		(troop_remove_gold, "trp_player", 15),
		(call_script, "script_change_player_party_morale", -10),
		(call_script, "script_change_player_honor", -1),
		(add_xp_as_reward, 10),
		(str_store_string,s68,"str_madame_paid"),
		(store_conversation_troop,":cur_madame"),
		(call_script,"script_change_player_relation_with_troop",":cur_madame",1),		
	]
  ],

  [anyone|plyr, "madame_ans2a", [],"Actually, I'm not feeling it.", "madame_choose",[]],
  
  [anyone|plyr, "madame_ans1a", [],"To the higher powers! Here are yer {s30} coins.", "close_window",
    [
	    (finish_mission),
		(rest_for_hours,12,5,0),
		(assign,"$g_leave_town",1),
		(store_current_hours,":fut_hours"),
		(val_add, ":fut_hours", 24),
		(assign, "$buy_strumpets_last_time", ":fut_hours"),
		(troop_remove_gold, "trp_player", reg35),
		(call_script, "script_change_player_relation_with_faction_ex", "$g_talk_troop_faction",2),
		(call_script, "script_change_player_party_morale", 20),
		(call_script, "script_change_player_honor", 5),
		(call_script, "script_change_player_relation_with_center", "$current_town",2),
		(add_xp_as_reward, 100),
		(str_store_string,s68,"str_madame_group"),
        (store_conversation_troop,":cur_madame"),
		(call_script,"script_change_player_relation_with_troop",":cur_madame",2),		
	]
  ],

  [anyone|plyr, "madame_ans1a", [],"Actually, I'm not feeling it.", "madame_choose",[]],

  [anyone, "madame_angry", [],
  "Oh? Everyone! {playername} is an impotent flounder!  And ye expect to rule when ye are not virile enough for me?  The people will hear of this!", "close_window",
	[
		(store_conversation_troop,":cur_madame"),
		(call_script, "script_change_player_relation_with_troop",":cur_madame",-1),
		(call_script, "script_change_player_relation_with_faction_ex", "$g_talk_troop_faction",-1),
		(call_script, "script_change_player_relation_with_center", "$current_town",-1),
		(str_store_string,s68,"str_madame_offended"),]],  

#/Ye Olde Tavern Strumpets
and
Code:
  [anyone, "start", [
  (is_between, "$g_talk_troop", tavernkeepers_begin, tavernkeepers_end),
  (gt, "$g_main_attacker_agent", 0),
  (neg|agent_is_alive, "$g_main_attacker_agent"),
#Ye Olde Tavern Strumpets
  (try_begin),
	(neg|agent_is_alive,"$g_main_attacker_agent"),
	(agent_get_troop_id,":type","$g_main_attacker_agent"),
	(is_between,":type",tavern_madame_begin,"trp_tavern_minstrel_1"),
	(str_store_troop_name,s69,":type"),
	(str_store_string,s9,"str_madame_attack"),
	(troop_remove_gold,"trp_player",500),
#/Ye Olde Tavern Strumpets

Code:
#Ye Olde Tavern Strumpets - Betrayed Strumpets
  [party_tpl|pt_betrayed_strumpets,"start",
	[(eq,"$talk_context",tc_party_encounter),			
	],"Aye, thought ye could get away with robbery and rape?","betrayed_strumpet1",[]],
  [anyone|plyr,"betrayed_strumpet1",
	[	(party_get_num_companions,":how_many","p_main_party"),
		(store_mul,reg6,":how_many",20),
		(store_troop_gold,":troop_gold","trp_player"),        
		(ge,":troop_gold",reg6),			
	],"I've thought it over.  Rather than spill blood here today, I'll pay ye double and we'll be on our way.","betrayed_strumpet1a",[]],

  [anyone,"betrayed_strumpet1a",[(troop_remove_gold,"trp_player",reg6),
								],"For double the pay, have ye way.  We accept yer offer, dogs.","close_window",
									[(assign,"$g_leave_encounter",1),(remove_party,"$g_encountered_party"),]],
	
  [anyone|plyr,"betrayed_strumpet1",
	[	
	],"Filthy beasts!  We're going to gut ye like the swine ye be!","close_window",
		[(call_script, "script_change_player_honor", -10),(encounter_attack),			
		]
  ],
#Ye Old Tavern Strumpets - Betrayed Strumpets
So, until any possible suggestions, I'm going to try using the global rather than the local variables for troop.  Everything just looks sloppy, where usage is concerned, but this is a learning process.
 
First of all, use a slot to accomplish what you're trying to do - then use (troop_set_slot, "$g_talk_troop", slot_madame_whatever, 1) instead of using so many globals.

And while I appreciate your usage of s69, it does not exist in the native module system. While there doesn't appear to be a limit, the highest defined is s67. Which is why some of your code will not work. store_conversation_troop/agent is called at the first dialog to automatically get $g_talk_troop/agent - no need to do so again.
 
Okay Somebody, I'll try that.  I guess in your example the slots are acting as a switch.  May I ask, why is that better than a global switch?  The best I can tell is that  (this_or_next|eq,"slot_madame_whatever",1) would work.  Of course, I still find slots confusing, there must be more to them than switching and value storage.

As for the strings, I'm still too green with the module system to know which strings and registers are rarely used, so I added two, s68 and s69, to the common header, in order to avoid conflicts.  s68 holds strings for up to a game week while s69 is there for its own sake.  :mrgreen:

======
Wait, this is all I need? 
(troop_get_slot,":switch","$g_talk_troop","slot_tavern_madame"),
(eq,":switch",1),

If that's correct, I'm suddenly in love with slots!
 
Somebody said:
Not even that. Use troop_slot_eq.

Wow.  I'm grateful to you Somebody.  They should put up somewhere in big, bold letters: "Learn all you can about slots first!"

=======
Okay, so here is the dialog and it looks much better now, in my opinion.  Once this is tested, I'll post everything for the full version.
Code:
#Ye Olde Tavern Strumpets
  [anyone, "start",
    [   
	    (is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),
		(troop_slot_eq,"$g_talk_troop",slot_tavern_madame_offer,0),		
		(str_store_troop_name,s69,"$g_talk_troop"),		
	    (call_script, "script_troop_get_player_relation","$g_talk_troop"),        		
		(ge,reg0,10),
		#(store_current_hours,":cur_hours"),
		#(ge,":cur_hours","$buy_strumpets_last_time"),					     
	],   "Mmm {playername}. As a preferred customer, there be privileges!","madame_privilege",[]],
  
  [anyone|plyr, "madame_privilege",[],"That sounds very fine, {s69}.^What have ye in mind?","madame_privilege_explained",[]],
		
  [anyone, "madame_privilege_explained",
	[
		(party_get_num_companions,reg30,"p_main_party"),
		(gt,reg30,1),
        (store_mul,reg35,reg30,5),
		(val_sub,reg35,-5),
        (store_troop_gold,":gold","trp_player"),        
        (ge,":gold",reg35),
	],   "Thou may treat all of thine troops for half off!^As for ye and me, it's my treat, no cost!","madame_privilege_rspns",[]],
	
  [anyone, "madame_privilege_explained",
	[
		(party_get_num_companions,reg30,"p_main_party"),
		(eq,reg30,1),        
	],   "Thou deserve a quickie {playername}.  My treat!","madame_privilege_quickie",[]],

	[anyone|plyr,"madame_privilege_quickie",[],"On to the bedroll!","close_window",
	[
		(finish_mission),
		(rest_for_hours,2,5,0),
		(assign,"$g_leave_town",1),
		(add_xp_as_reward,10),	
	]
  ],
  
  [anyone|plyr,"madame_privilege_quickie",[],"Not today I'm afraid, I must be on my way","close_window",
	[(call_script,"script_change_player_relation_with_troop","$g_talk_troop",-1),]],
  	
  [anyone, "madame_privilege_explained",
	[
		(party_get_num_companions,reg30,"p_main_party"),
		(gt,reg30,1),
        (store_mul,reg35,reg30,5),
		(val_sub,reg35,-5),
        (store_troop_gold,":gold","trp_player"),        
        (lt,":gold",reg35),		
	],   "Soon as ye can afford {reg35} denars, more or less, come find me^and ye shall see what {s69} has in store.","madame_privilege_broke",[]],
	
  [anyone|plyr,"madame_privilege_broke",[],"I look forward to what ye may have in store","close_window",[]],
  [anyone|plyr,"madame_privilege_broke",[],"I have yet an even better idea, strumpet...","madame_betrayed",[]],
  
  [anyone|plyr,"madame_privilege_rspns",[], "{s69}, how can I refuse? I'm yers to use and abuse!","close_window",
		[		
			(finish_mission),
			(rest_for_hours,12,5,0),
			(assign,"$g_leave_town",1),
			(troop_remove_gold, "trp_player", reg35),
			(call_script, "script_change_player_relation_with_faction_ex", "$g_talk_troop_faction", 5),
			(call_script, "script_change_player_party_morale", 20),
			(call_script, "script_change_player_honor", 5),
			(call_script, "script_change_player_relation_with_center", "$current_town",5),
			(add_xp_as_reward, 100),
			(str_store_string,s68,"str_madame_group"),
			(store_current_hours,":fut_hours"),
			(val_add, ":fut_hours", 24),
			(assign, "$buy_strumpets_last_time", ":fut_hours"),	
			(troop_set_slot,"$g_talk_troop",slot_tavern_madame_offer,0),
		]
  ],
  [anyone|plyr,"madame_privilege_rspns",[], "{s69}, I have no time, we are merely breaking from the fray.","madame_privilege_rspns_a",[]],
  [anyone|plyr,"madame_privilege_rspns_a",[], "Shall I count on yer generosity another day?","madame_privilege_n",[]],
  [anyone|plyr,"madame_privilege_rspns",[], "Strumpet, hear my offer, it's even better than yours...","madame_betrayed",[]],
  
  [anyone,"madame_privilege_n",[],"Of course {playername}, I shall hold this offer for when we next speak.","close_window",
	[(troop_set_slot,"$g_talk_troop",slot_tavern_madame_offer,1),]],
  
  [anyone,"start",
	[		
		(is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),
		(troop_slot_eq,"$g_talk_troop",slot_tavern_madame_offer,1),				
		(call_script, "script_troop_get_player_relation","$g_talk_troop"),        		
		(ge,reg0,10),
		(party_get_num_companions,reg30,"p_main_party"),
		(gt,reg30,1),
        (store_mul,reg35,reg30,5),
		(val_sub,reg35,-5),
        (store_troop_gold,":gold","trp_player"),        
        (ge,":gold",reg35),	
		(str_store_troop_name,s69,"$g_talk_troop"),			
	],   "{s69} never breaks a promise {playername}.","madame_privilege_rspns",[]],
	
  [anyone,"start",
	[
		(is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),
		(troop_slot_eq,"$g_talk_troop",slot_tavern_madame_offer,1),				
		(call_script, "script_troop_get_player_relation","$g_talk_troop"),        		
		(ge,reg0,10),
		(party_get_num_companions,reg30,"p_main_party"),
		(gt,reg30,1),
        (store_mul,reg35,reg30,5),
		(val_sub,reg35,-5),
        (store_troop_gold,":gold","trp_player"),        
        (lt,":gold",reg35),	
		(str_store_troop_name,s69,"$g_talk_troop"),			
	],   "{s69} never breaks a promise {playername}. Find me when you have {reg35} denars.","close_window",[]],
	
  [anyone, "start",
	[
	    (is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),		
	    (call_script, "script_troop_get_player_relation","$g_talk_troop"),
        (lt,reg0,10),		
		(ge,reg0,-5),
		(store_current_hours,":cur_hours"),
		(ge,":cur_hours","$buy_strumpets_last_time"),		
	],   "{My lord/My lady}. What can I, a humble servant of the flesh do for ye?", "madame_talk",[(play_sound, "snd_mmm"),]],
	
  [anyone,"start",
    [
	    (is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),		
	    (call_script, "script_troop_get_player_relation","$g_talk_troop"),		
		(lt,reg0,-5),
		#(ge,reg0,-15),
		(store_current_hours,":cur_hours"),
		(ge,":cur_hours","$buy_strumpets_last_time"),
	],   "My sister professionals forgive ye much more easily than I.^I'll have nothing at all to do with ye until amends are made.","madame_amends",[]],
	
  [anyone,"start",
    [
	    (is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),		
	    (call_script, "script_troop_get_player_relation","$g_talk_troop"),		
		(lt,reg0,-5),
		(store_current_hours,":cur_hours"),
		(lt,":cur_hours","$buy_strumpets_last_time"),
		(str_store_troop_name,s69,"$g_talk_troop"),
	],   "Guards!","madame_squeals",[]],
  
  [anyone|plyr,"madame_squeals",[],"What are you doing?! {s69}?","madame_squeals_x",[]],#fight sequence?
  [anyone,"madame_squeals_x",[],"{playername}, ye best leave, now.","close_window",[(finish_mission),(call_script,"script_update_tavern_madames"),]],
	
  [anyone|plyr,"madame_amends",[],"What would ye that I do?","madame_amends_demands",[]],
  [anyone|plyr,"madame_amends",[],"Then suffer ye losses!","close_window",[]],
  
  [anyone,"madame_amends_demands",[],"Thou will pay me a sum of 2000 denars for my loss and humiliation.","madame_amends_demands_ans",[]],
  
  [anyone|plyr,"madame_amends_demands_ans",
    [
	    (store_troop_gold,":gold","trp_player"),
		(ge,":gold",2000),
    ],   "Very well, here be yer retribution","close_window",
	    [
		     (troop_remove_gold, "trp_player", 2000),
			 (store_conversation_troop,":cur_madame"),
			 (call_script,"script_change_player_relation_with_troop",":cur_madame",10),
			 (call_script, "script_change_player_honor", 1),
		]
	],
	
  [anyone|plyr,"madame_amends_demands_ans",
    [
	    (store_troop_gold,":gold","trp_player"),
		(lt,":gold",2000),
	],   "Alas, I shant be able to pay right away. Perhaps another day.","close_window",[]],
	
  [anyone|plyr,"madame_amends_demands_ans",
	[
		(store_troop_gold,":gold","trp_player"),
		(ge,":gold",2000),
	],   "Sweet as ye be, yer simply not worth that to me.","close_window",[]],
	
  [anyone|plyr,"madame_amends_demands_ans",[],"Humiliation is ye life strumpet, now live it!","madame_betrayed",[]],
  
  [anyone,"start",
	[
	    (is_between, "$g_talk_troop", tavern_madame_begin, "trp_tavern_minstrel_1"),		
	    (call_script, "script_troop_get_player_relation","$g_talk_troop"),        		
        (ge,reg0,-5),
		(store_current_hours,":cur_hours"),
		(lt,":cur_hours", "$buy_strumpets_last_time"),		
	],   "{s68}","close_window",[]],

  [anyone, "madame_choose",[],"{playername}, I am at ye service anyway ye like.", "madame_talk",[]],
		
  [anyone|plyr, "madame_talk", 
	[	
		(party_get_num_companions,reg30,"p_main_party"),
		(gt,reg30,1),
        (store_mul,reg35,reg30,10),
        (store_troop_gold,":gold","trp_player"),        
        (ge,":gold",reg35),	
	],"We work hard, now we need play. On the to bedrolls, come what may this day!","madame_ans1",[]],
  
  [anyone|plyr, "madame_talk", 
	[	
		(store_troop_gold,":gold","trp_player"),
		(ge,":gold",15),		
	],"Just ye and me, queen strumpet.", "madame_ans2",[]],
		
  [anyone|plyr,"madame_talk",[],"My men and I will take what we want from ye.","madame_betrayed",[]],
  
  [anyone|plyr, "madame_talk",[],"Filthy whore, I love war!", "madame_angry",
		[
		    (store_conversation_troop,":cur_madame"),
			(call_script,"script_change_player_relation_with_troop",":cur_madame",-1),
			(store_current_hours,":fut_hours"),
			(val_add, ":fut_hours", 18),
			(assign, "$buy_strumpets_last_time", ":fut_hours"),			
		]
  ],

  [anyone|plyr, "madame_talk", [],"No thanks.", "close_window",[(play_sound, "snd_sigh"),]],

  [anyone, "madame_ans1", [], "To the gods and goddesses we shall dedicate our orgy!^{playername}, a fee of {reg35} denars should suffice for our trife.","madame_ans1a",[]],

#  [anyone, "madame_ans2", [],"{playername} is selfish I see, 15 will suffice for ye and me.", "madame_ans2a",[]],
  [anyone, "madame_ans2", [],"What a greedy {cock/****} ye be, 15 will suffice for ye and me.", "madame_ans2a",[]],
  
  [anyone,"madame_betrayed",[],"We shant rest until we taste the fruits of revenge! Is that really what ye want?","madame_betray_ans",[]],
  
  [anyone|plyr,"madame_betray_ans",[],"On second thought, we leave ye be.","close_window",
		[
			(str_store_string,s68,"str_madame_play"),
			(store_current_hours,":fut_hours"),
			(val_add, ":fut_hours", 36),
			(assign, "$buy_strumpets_last_time", ":fut_hours"),
            (store_conversation_troop,":x_madame"),			
		    (call_script, "script_troop_change_relation_with_troop", "trp_player", ":x_madame", -2),
            (str_store_troop_name,s69,":x_madame"),			
		]
  ],
  
  [anyone|plyr,"madame_betray_ans",[],"Men! Defile these creatures as ye will! I'll have this one!","madame_betray_rsp",
		[
			(store_current_hours,":fut_hours"),
			(val_add, ":fut_hours", 168),
			(assign, "$buy_strumpets_last_time", ":fut_hours"),
		]
  ],
  
  [anyone|plyr,"madame_betray_ans",[],"Oops!","close_window",[]],
  
  [anyone,"madame_betray_rsp",[], "Thou vile, evil soul! Let it be known that^{s69} will stand for no such thing!","close_window",
		[	
			(call_script, "script_activate_tavern_strumpet"),  		  				       
			(call_script, "script_neutral_behavior_in_fight"),
			(set_spawn_radius,1),
			(spawn_around_party,"p_main_party","pt_betrayed_strumpets"),
			(call_script, "script_change_player_honor",-10),
			(call_script, "script_change_player_relation_with_faction_ex", "$g_talk_troop_faction", -5),
			(call_script, "script_change_player_party_morale", 5),
			(call_script, "script_change_player_relation_with_center", "$current_town",-5),
			(store_conversation_troop,":x_madame"),
			(call_script, "script_change_player_relation_with_troop", ":x_madame", -10),
			(str_store_string,s68,"str_madame_betrayed"),
		]
  ],
  
  [anyone|plyr, "madame_ans2a", [],"Then ye and me it shall be, here are your 15 coins.", "close_window",
		[
			(finish_mission),
			(rest_for_hours,4,5,0),
			(assign,"$g_leave_town",1),			
			(store_current_hours,":fut_hours"),
			(val_add, ":fut_hours", 12),
			(assign, "$buy_strumpets_last_time", ":fut_hours"),
			(troop_remove_gold, "trp_player", 15),
			(call_script, "script_change_player_party_morale", -10),
			(call_script, "script_change_player_honor", -1),
			(add_xp_as_reward, 10),
			(str_store_string,s68,"str_madame_paid"),
			(store_conversation_troop,":cur_madame"),
			(call_script,"script_change_player_relation_with_troop",":cur_madame",1),		
		]
  ],

  [anyone|plyr, "madame_ans2a", [],"Actually, I'm not feeling it.", "madame_choose",[]],
  
  [anyone|plyr, "madame_ans1a", [],"To the higher powers! Here are yer {s30} coins.", "close_window",
		[
			(finish_mission),
			(rest_for_hours,12,5,0),
			(assign,"$g_leave_town",1),
			(store_current_hours,":fut_hours"),
			(val_add, ":fut_hours", 24),
			(assign, "$buy_strumpets_last_time", ":fut_hours"),
			(troop_remove_gold, "trp_player", reg35),
			(call_script, "script_change_player_relation_with_faction_ex", "$g_talk_troop_faction",2),
			(call_script, "script_change_player_party_morale", 20),
			(call_script, "script_change_player_honor", 5),
			(call_script, "script_change_player_relation_with_center", "$current_town",2),
			(add_xp_as_reward, 100),
			(str_store_string,s68,"str_madame_group"),			
			(call_script,"script_change_player_relation_with_troop","$g_talk_troop",2),		
		]
  ],

  [anyone|plyr, "madame_ans1a", [],"Actually, I'm not feeling it.", "madame_choose",[]],

  [anyone, "madame_angry", [],"Oh? Everyone! {playername} is an impotent flounder! And ye expect to rule when ye are not virile enough for me? The people will hear of this!", "close_window",
		[			
			(call_script, "script_change_player_relation_with_troop","$g_talk_troop",-1),
			(call_script, "script_change_player_relation_with_faction_ex", "$g_talk_troop_faction",-1),
			(call_script, "script_change_player_relation_with_center", "$current_town",-1),
			(str_store_string,s68,"str_madame_offended"),
		]
  ],  
#/Ye Olde Tavern Strumpets
 
Ah, but Lumos, the sentence is now in existence!  :smile:

New information on the front page of this thread. 

 
This is just great :grin: Thanks


Is it intentional to make them wear courtly_outfit? It's the one that male lords use, at least in my game and I'm pretty sure I haven't changed it.
I'm thinking of making them look something like my current female character
mb12c.jpg
but then she wouldn't be unique anymore...

btw those Betrayed Strumpets are so poor fighters and yet so high level that I will rape them every time I meet them, no matter if I lose some honor and stuff :twisted: :twisted: so much XP&money...
 
Glad you like it Tumetsu.  They are meant to wear the court_dress and I confused it with courtly_outfit.  Changed the source but forgot about the module, I'll fix that.  In my game they all use the altered version of dthun's rogue armor that I posted*(picture of), plus I gave the armor unrealistic ratings, around 200 I think, to make them more of a challenge since I play with them in xeno's stuff.

In native, the madame kicks my ass at first.  There's a bug with the menu screen when that happens that I'll try to address later, just noticed it last night.  Also, with a new native game and resisting the temptation to import my actual character that I've carried with me from game to game from the beginning, those strumpets obliterated my team of 30 mid-level or less troops.  :shock:

You'd probably find them more challenging if they had battle worthy armor, but then they wouldn't look like a band of strumpets out for revenge.  They are meant to be tough at first and easy prey as you progress.  Perhaps they should be equipped with swords and a varied chance of shields?  Still then, they loose the image and appeal of being raging strumpets...  Ending in the current result, super high skill with next to nothing to protect them and a weapon that can hardly be considered as such.  Of course, source users can balance it however they like.  I'm open to suggestions for the module version, even though its main purpose is to provide a simple way for people test drive them.  :eek:

======
No, fixed the module and forgot the script.  :roll:
=======
The source now uses the Court Dress for the default outfit.
 
I guessed that outfit thing.

In fact I think that the Strumpet-party is actually not so easy prey in Native because there is 200 of them and if you don't have big (or full-horse) army they will just swarm you.
But in my test game I destroyed  two groups of them alone with just my bow and trusty horse. After I had killed ~25 of them they started to run away and I just needed to cut the deserters down to get those others run too... Well, my bow wasn't one of the normal ones but still

I haven't yet tested the code with xeno's stuff but buffing armor and giving them special daggers might make them efficient enough
 
Please help with installing the latest version of the modular system. When you install the instructions gives the errors -

module_dialogs.py    NameError: name 'pt_betrayed_strumpets' is not defined

module_party_templates.py  NameError: name 'courage_30' is not defined


Traceback (most recent call last):
  File "process_init.py", line 2, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_global_variables.py", line 6, in <module>
    from module_dialogs import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_dialogs.py", line 19824, in <module>
    [party_tpl|pt_betrayed_strumpets,"start",
NameError: name 'pt_betrayed_strumpets' is not defined
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Traceback (most recent call last):
  File "process_map_icons.py", line 6, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Exporting faction data...
Exporting item data...
Traceback (most recent call last):
  File "process_items.py", line 66, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Exporting scene data...
Traceback (most recent call last):
  File "process_scenes.py", line 15, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Exporting troops data
Exporting particle data...
Traceback (most recent call last):
  File "process_scene_props.py", line 7, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_tableau_materials.py", line 8, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_presentations.py", line 8, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_party_tmps.py", line 2, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_parties.py", line 6, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Exporting quest data...
Exporting info_page data...
Traceback (most recent call last):
  File "process_scripts.py", line 7, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_mission_tmps.py", line 8, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_game_menus.py", line 8, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_simple_triggers.py", line 5, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_dialogs.py", line 6, in <module>
    from module_dialogs import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_dialogs.py", line 19824, in <module>
    [party_tpl|pt_betrayed_strumpets,"start",
NameError: name 'pt_betrayed_strumpets' is not defined
Traceback (most recent call last):
  File "process_global_variables_unused.py", line 3, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Exporting postfx_params...

______________________________

Script processing has ended.
Press any key to exit. . .
 
FALX said:
Please help with installing the latest version of the modular system. When you install the instructions gives the errors -

module_dialogs.py    NameError: name 'pt_betrayed_strumpets' is not defined

module_party_templates.py  NameError: name 'courage_30' is not defined


Traceback (most recent call last):
  File "process_init.py", line 2, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_global_variables.py", line 6, in <module>
    from module_dialogs import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_dialogs.py", line 19824, in <module>
    [party_tpl|pt_betrayed_strumpets,"start",
NameError: name 'pt_betrayed_strumpets' is not defined
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Traceback (most recent call last):
  File "process_map_icons.py", line 6, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Exporting faction data...
Exporting item data...
Traceback (most recent call last):
  File "process_items.py", line 66, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Exporting scene data...
Traceback (most recent call last):
  File "process_scenes.py", line 15, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Exporting troops data
Exporting particle data...
Traceback (most recent call last):
  File "process_scene_props.py", line 7, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_tableau_materials.py", line 8, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_presentations.py", line 8, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_party_tmps.py", line 2, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_parties.py", line 6, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Exporting quest data...
Exporting info_page data...
Traceback (most recent call last):
  File "process_scripts.py", line 7, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_mission_tmps.py", line 8, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_game_menus.py", line 8, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_simple_triggers.py", line 5, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Traceback (most recent call last):
  File "process_dialogs.py", line 6, in <module>
    from module_dialogs import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_dialogs.py", line 19824, in <module>
    [party_tpl|pt_betrayed_strumpets,"start",
NameError: name 'pt_betrayed_strumpets' is not defined
Traceback (most recent call last):
  File "process_global_variables_unused.py", line 3, in <module>
    from process_operations import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\process_operations.py", line 17, in <module>
    from module_party_templates import *
  File "L:\M&B_W&B\Nativ_extern\mb_warband_module_system_1143\Module_system
1.143\module_party_templates.py", line 82, in <module>
    ("betrayed_strumpets","Betrayed Strumpets",icon_woman_b|pf_quest_party|pf_do
nt_attack_civilians,0,fac_outlaws,banditness|courage_30|aggressiveness_30,[(trp_
betrayed_strumpet,200,250)]),
NameError: name 'courage_30' is not defined
Exporting postfx_params...

______________________________

Script processing has ended.
Press any key to exit. . .

You just need to add a new party with the name error dialog shows. I suck at item flags.

Saw this for first time. Would be a nice base for my brothel feature, credits is surely given.
 
Thank you for this help and hint.

We have a common interest in the brothels . I need to make a Geisha 芸者    and the ritual of the tea ceremony after the beer ...)
 
Back
Top Bottom