Modding Q&A [For Quick Questions and Answers]

Users who are viewing this thread

Status
Not open for further replies.
Patta said:
im always getting the error "object of tipe int has no leng" (or at least its nearly the same as this error) This happens when i want to compile... what could it be? i just updatet on the newest module system version some days ago, and till now, al worked fine...
Sounds like a python error "Object of type int has no len()" - which likely means you have corrupted one of the process_*.py files in the module system (which should not be edited, unless you really know what you are doing); so you could try copying all files starting with process_ from the latest clean module system. If that still doesn't work, the problem might be in one of a few header_ files (which are also unlikely to require being edited by modders) so you could copy all those from clean as well; or you could search all files for "len(" followed by a number. If you still get the error, you probably need to start from scratch again; copy your changes across bit by bit, building each time.
 
I think it's just one of his tuples having the wrong amount/order of items. Process files assume the nth element is a list (trigger list, item list...) and try to call len() on it, but due to wrong amount/order it ends up being called on an int object.
 
Just a quick one; is it possible to change the font colour (it is currently gold/yellow) of the number that shows you how much gold you currently have in Multiplayer, and if so - what should I search for?
I know how I would change the font colour, but the problem is that I've been looking around in 'module_presentations' for a while now and I just can't find it's entry anywhere. The closest thing I could find was the presentation that shows you how much your gear costs when you buy it.

I've started to fear that it might be hard-coded considering how it is always there no matter what you're doing in MP. :???:
 
Davee said:
Just a quick one; is it possible to change the font colour (it is currently gold/yellow) of the number that shows you how much gold you currently have in Multiplayer, and if so - what should I search for?
It is in the file game_variables.txt
I don't know of any way to change it in the Mod System...just edit that .txt once you've compiled the mod.
 
Caba`drin said:
Davee said:
Just a quick one; is it possible to change the font colour (it is currently gold/yellow) of the number that shows you how much gold you currently have in Multiplayer, and if so - what should I search for?
It is in the file game_variables.txt
I don't know of any way to change it in the Mod System...just edit that .txt once you've compiled the mod.
Seems to be working. Many thanks!

Now just to get the colours right...
 
Am I missing something with agent_set_position?
I cannot get NPC mounted troops to move with this command.
Non-mounted troops get shifted without issuse with the following code:
Code:
               (try_for_agents, ":agent"),
                    (agent_is_alive, ":agent"),
                    (agent_is_non_player, ":agent"),
                    (agent_get_team, ":team", ":agent"),
                    (eq, ":team", "$fplayer_team_no"),
                    (agent_get_division, ":class", ":agent"),
                    (eq, ":class", ":ith_order_group"),
                    (try_begin),
                        (agent_get_horse, ":horse", ":agent"),
                        (ge, ":horse", 0),
                        (assign, ":agent", ":horse"),
                    (try_end),
                    (agent_set_position, ":agent", pos2),                
                (try_end),

EDIT Gotcha. Thanks Somebody...I had assumed the horses would be assigned to the division with their riders, so I thought excluding (agent_is_human) from the checks would have included them. Clearly not. Code block edited and works.

The only funny thing is that foot troops will automatically spread out when spawned on top of one another like this...but the horses remain largely in a stack.
 
You have the particle life at 0.0 and the emit velocity at 0. You need to mess with these until you get a good result. Also, you probably will want to get rid of the global_emit flag so that it changes direction with the lightsaber.
 
ithilienranger said:
You have the particle life at 0.0 and the emit velocity at 0. You need to mess with these until you get a good result. Also, you probably will want to get rid of the global_emit flag so that it changes direction with the lightsaber.

None of this really makes it glow more :-S it still is pretty dull, thanks for suggestion though :smile:
 
One more from me. I'm trying to figure out why the faction leaders are net getting assigned ages and families ingame. All the lords and ladies are fine except the kings.

Only thing I can figure is that I need to let the script know to search for them, but that's what these lines should do, located just below the last lord's age code:

      (try_for_range, ":cur_troop", kings_begin, lords_end),
      (troop_set_slot, ":cur_troop", slot_troop_occupation, slto_kingdom_hero),
  (try_end), 

I double checked module_constants to make sure kings_begin wasn't messed up, but it seems to be in order. Anyone got any ideas?

(Pardon the amount of commented out code.)
Code:
("initialize_aristocracy",
   [
     #LORD OCCUPATIONS, BLOOD RELATIONSHIPS, RENOWN AND REPUTATIONS
    
##	  King ages
	  # (try_for_range, ":cur_troop", kings_begin, kings_end),
		# (troop_set_slot, ":cur_troop", slot_troop_occupation, slto_kingdom_hero),
		# (store_random_in_range, ":age", 50, 60),
		# (troop_set_slot, ":cur_troop", slot_troop_age, ":age"),
		# (eq, ":cur_troop", "trp_kingdom_2_lord"),
		# (troop_set_slot, ":cur_troop", slot_troop_age, 47),	
	  # (try_end),
      
	
     (troop_set_slot, "trp_kingdom_1_lord", slot_troop_age, 33), #Charles V
     (troop_set_slot, "trp_kingdom_1_lord", slot_troop_spouse, "trp_kingdom_1_lady_12"),
     (troop_set_slot, "trp_kingdom_1_lady_12", slot_troop_age, 33), #Joanna of bourbon	 
     (troop_set_slot, "trp_kingdom_1_lady_12", slot_troop_father, "trp_kingdom_l_lady_13"),	 
	 
     (troop_set_slot, "trp_kingdom_l_lady_13", slot_troop_age, 58), #Isabella of Valois
	 
#START PLANTAGENATE FAMILY		 

     (troop_set_slot, "trp_kingdom_2_lord", slot_troop_age, 59), #edward III
     (troop_set_slot, "trp_kingdom_2_lord", slot_troop_spouse, "trp_kingdom_1_lady_6"),
     (troop_set_slot, "trp_kingdom_1_lady_6", slot_troop_age, 57), #philipa
	 
     (troop_set_slot, "trp_knight_2_7", slot_troop_age, 41), #black prince
     (troop_set_slot, "trp_knight_2_7", slot_troop_father, "trp_kingdom_2_lord"),
     (troop_set_slot, "trp_knight_2_7", slot_troop_mother, "trp_kingdom_1_lady_6"),
     (troop_set_slot, "trp_knight_2_7", slot_troop_spouse, "trp_kingdom_1_lady_2"),

     (troop_set_slot, "trp_kingdom_1_lady_2", slot_troop_age, 43),	#joan #Thomas Holland "knight_4_20" is her son but not the black prince's
     (troop_set_slot, "trp_kingdom_1_lady_2", slot_troop_spouse, "trp_knight_2_7"),
	 
     (troop_set_slot, "trp_knight_4_20", slot_troop_age, 41), #Thomas Holland
     (troop_set_slot, "trp_knight_4_20", slot_troop_mother, "trp_kingdom_1_lady_2"),
     (troop_set_slot, "trp_knight_4_20", slot_troop_spouse, "trp_kingdom_1_lady_11"),
	 
     (troop_set_slot, "trp_kingdom_1_lady_11", slot_troop_age, 43),	#Alice Holland
     (troop_set_slot, "trp_kingdom_1_lady_11", slot_troop_spouse, "trp_knight_4_20"),
	 

	 
     (troop_set_slot, "trp_knight_4_2", slot_troop_age,28), #John of Gaunt
     (troop_set_slot, "trp_knight_4_2", slot_troop_spouse, "trp_knight_1_lady_3"),
     (troop_set_slot, "trp_knight_4_2", slot_troop_father, "trp_kingdom_2_lord"),
     (troop_set_slot, "trp_knight_4_2", slot_troop_mother, "trp_kingdom_1_lady_6"), 

     (troop_set_slot, "trp_knight_1_lady_3", slot_troop_age, 43),	#Beatrice de Chalon
     (troop_set_slot, "trp_knight_1_lady_3", slot_troop_spouse, "trp_knight_4_2"),  	 

     (troop_set_slot, "trp_knight_1_16", slot_troop_age,31), #Enguerrand de Coucy
     (troop_set_slot, "trp_knight_1_16", slot_troop_spouse, "trp_kingdom_1_lady_7"),
     (troop_set_slot, "trp_knight_1_16", slot_troop_father, "trp_kingdom_2_lord"),
     (troop_set_slot, "trp_knight_1_16", slot_troop_mother, "trp_kingdom_1_lady_6"),   	

     (troop_set_slot, "trp_kingdom_1_lady_7", slot_troop_age,39),  #Isabella de Coucy
     (troop_set_slot, "trp_kingdom_1_lady_7", slot_troop_spouse, "trp_knight_1_16"),

     (troop_set_slot, "trp_knight_4_4", slot_troop_age,33),  #Lionel of Antwerp *died in 68, before mod start
     (troop_set_slot, "trp_knight_4_4", slot_troop_father, "trp_kingdom_2_lord"),
     (troop_set_slot, "trp_knight_4_4", slot_troop_mother, "trp_kingdom_1_lady_6"),
     (troop_set_slot, "trp_knight_4_4", slot_troop_spouse, "trp_kingdom_1_lady_8"),	 
	 
     (troop_set_slot, "trp_kingdom_1_lady_8", slot_troop_age,18),  #Violante, italian wife 
     (troop_set_slot, "trp_kingdom_1_lady_8", slot_troop_spouse, "trp_knight_4_4"),
	 
     (troop_set_slot, "trp_knight_2_5", slot_troop_age,33),  #Edmund of Langley
     (troop_set_slot, "trp_knight_2_5", slot_troop_father, "trp_kingdom_2_lord"),
     (troop_set_slot, "trp_knight_2_5", slot_troop_mother, "trp_kingdom_1_lady_6"),
     (troop_set_slot, "trp_knight_2_5", slot_troop_spouse, "trp_kingdom_1_lady_8"),	 	 

     (troop_set_slot, "trp_kingdom_1_lady_9", slot_troop_age,16),  #Infanta Isabella of Castile *Married him in '72, after the mod time.  
     (troop_set_slot, "trp_kingdom_1_lady_9", slot_troop_spouse, "trp_knight_2_5"),
	 
#END PLANTAGENATE FAMILY	 
  
     (troop_set_slot, "trp_knight_1_1", slot_troop_age, 20),# Alain de Rohan   
     (troop_set_slot, "trp_knight_1_1", slot_troop_spouse, "trp_kingdom_1_lady_1"),
	 
     (troop_set_slot, "trp_kingdom_1_lady_1", slot_troop_age, 15), #Lady Beatrice de Clisson
     (troop_set_slot, "trp_kingdom_1_lady_1", slot_troop_father, "trp_knight_5_11"), #father Olivier de Clisson
    
     (troop_set_slot, "trp_knight_1_2", slot_troop_age,28),   
     (troop_set_slot, "trp_knight_1_2", slot_troop_spouse, "trp_knight_1_lady_3"),
   
     (troop_set_slot, "trp_knight_1_4", slot_troop_age, 33),   
     (troop_set_slot, "trp_knight_1_4", slot_troop_spouse, "trp_kingdom_l_lady_5"),
     (troop_set_slot, "trp_kingdom_l_lady_5", slot_troop_spouse, "trp_knight_1_4"),
    
  
     (troop_set_slot, "trp_knight_1_5", slot_troop_age,66),
	 
     (troop_set_slot, "trp_knight_1_6", slot_troop_age,50),   
     (troop_set_slot, "trp_knight_1_6", slot_troop_spouse, "trp_kingdom_1_lady_8"),
    
    
     (troop_set_slot, "trp_knight_1_8", slot_troop_age,36),   
     (troop_set_slot, "trp_knight_1_8", slot_troop_spouse, "trp_kingdom_1_lady_10"),

 #########$   
     (troop_set_slot, "trp_knight_1_9", slot_troop_age,51),  #du guesclin 
     (troop_set_slot, "trp_knight_1_9", slot_troop_spouse, "trp_kingdom_1_lady_12"),
#     (troop_set_slot, "trp_kingdom_1_lady_1", slot_troop_father, "trp_knight_1_9"),
#      (troop_set_slot, "trp_knight_1_lady_3", slot_troop_father, "trp_knight_1_9"),
      
      (troop_set_slot, "trp_knight_1_10", slot_troop_age,66),
      (troop_set_slot, "trp_knight_1_11", slot_troop_age,66),
      (troop_set_slot, "trp_knight_1_12", slot_troop_age,18),
      (troop_set_slot, "trp_knight_1_13", slot_troop_age,66),
      (troop_set_slot, "trp_knight_1_14", slot_troop_age,66),	 
    
      

 
     #The first thing - family structure
     #lords 1 to 8 are patriarchs with one live-at-home son and one daughter. They come from one of six possible ancestors, thus making it likely that there will be two sets of siblings
     #lords 9 to 12 are unmarried landowners with sisters
     #lords 13 to 20 are sons who still live in their fathers' houses
     #For the sake of simplicity, we can assume that all male aristocrats in prior generations either married commoners or procured their brides from the Old Country, thus discounting intermarriage

     (try_for_range, ":cur_troop", kingdom_ladies_begin, kingdom_ladies_end),
      (troop_set_slot, ":cur_troop", slot_troop_occupation, slto_kingdom_lady),
     (try_end),
   # 
   #  (assign, ":cur_lady", "trp_kingdom_1_lady_1"),
#
      (try_for_range, ":cur_troop", kings_begin, lords_end),
# 
      (troop_set_slot, ":cur_troop", slot_troop_occupation, slto_kingdom_hero),
   (try_end),      
#      (store_random_in_range, ":father_age_at_birth", 23, 26),
##      (store_random_in_range, ":mother_age_at_birth", 19, 22),
#      
#      #(try_begin),
#      #   (is_between, ":cur_troop", "trp_knight_1_1", "trp_knight_2_1"),
#      #   (store_sub, ":npc_seed", ":cur_troop", "trp_knight_1_1"),
#      #   (assign, ":ancestor_seed", 1),
##
##      (else_try),
##         (is_between, ":cur_troop", "trp_knight_2_1", "trp_knight_3_1"),
##         (store_sub, ":npc_seed", ":cur_troop", "trp_knight_2_1"),
##         (assign, ":ancestor_seed", 7),
##         
##      (else_try),
##         (is_between, ":cur_troop", "trp_knight_3_1", "trp_knight_4_1"),
##         (store_sub, ":npc_seed", ":cur_troop", "trp_knight_3_1"),
##         (assign, ":ancestor_seed", 13),
##         
##      (else_try),
##         (is_between, ":cur_troop", "trp_knight_4_1", "trp_knight_5_1"),
##         (store_sub, ":npc_seed", ":cur_troop", "trp_knight_4_1"),
##         (assign, ":ancestor_seed", 19),
##
##      (else_try),
##         (is_between, ":cur_troop", "trp_knight_5_1", "trp_knight_6_1"),
##         (store_sub, ":npc_seed", ":cur_troop", "trp_knight_5_1"),
##         (assign, ":ancestor_seed", 25),
##         
##      (else_try),
##         (is_between, ":cur_troop", "trp_knight_6_1", "trp_kingdom_1_pretender"),
##         (store_sub, ":npc_seed", ":cur_troop", "trp_knight_6_1"),
##         (assign, ":ancestor_seed", 31),
##         

##      
#      
#      (try_begin),
#         (lt, ":npc_seed", 8), #NPC seed is the order in the faction
#         (assign, ":reputation", ":npc_seed"),
#         (store_random_in_range, ":age", 45, 64),
#         
#         #(store_random_in_range, ":father", 0, 6), #six possible fathers
#         #(val_add, ":father", ":ancestor_seed"),
#         #(troop_set_slot, ":cur_troop", slot_troop_father, ":father"),
#         
#         #wife
#         (troop_set_slot, ":cur_troop", slot_troop_spouse, ":cur_lady"),
#         (troop_set_slot, ":cur_lady", slot_troop_spouse, ":cur_troop"),
#         (store_random_in_range, ":wife_reputation", 20, 26),
#         (try_begin),
#            (eq, ":wife_reputation", 20),
#            (assign, ":wife_reputation", lrep_conventional),
#         (try_end),
#         (troop_set_slot, ":cur_lady", slot_lord_reputation_type, ":wife_reputation"),
#         
#         
#         (call_script, "script_init_troop_age", ":cur_lady", 49),
#         (call_script, "script_add_lady_items", ":cur_lady"),
#         
#         (val_add, ":cur_lady", 1),
#
#         #daughter
#         (troop_set_slot, ":cur_lady", slot_troop_father, ":cur_troop"),
#         (store_sub, ":mother", ":cur_lady", 1),
#         (call_script, "script_init_troop_age", ":cur_lady", 19),
#         (troop_set_slot, ":cur_lady", slot_troop_mother, ":cur_lady"),
#         (store_random_in_range, ":lady_reputation", lrep_conventional, 34), #33% chance of father-derived
#         (try_begin),
#            (le, ":lady_reputation", 25),
#            (troop_set_slot, ":cur_lady", slot_lord_reputation_type, ":lady_reputation"),
#         (else_try),   
#            (eq, ":lady_reputation", 26),
#            (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_conventional),
#         (else_try),   
#            (eq, ":lady_reputation", 27),
#            (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_moralist),
#         (else_try),
#            (assign, ":guardian_reputation", ":reputation"),
#            (try_begin),
#               (this_or_next|eq, ":guardian_reputation", lrep_martial),
#                  (eq, ":guardian_reputation", 0),
#               (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_conventional),
#            (else_try),      
#               (eq, ":guardian_reputation", lrep_quarrelsome),
#               (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_otherworldly),
#            (else_try),      
#               (eq, ":guardian_reputation", lrep_selfrighteous),
#         (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_ambitious),
#            (else_try),      
#            (eq, ":guardian_reputation", lrep_cunning),
#               (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_adventurous),
#            (else_try),      
#               (eq, ":guardian_reputation", lrep_goodnatured),
#               (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_adventurous),
#         (else_try),      
#               (eq, ":guardian_reputation", lrep_debauched),
#               (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_ambitious),
#            (else_try),      
#               (eq, ":guardian_reputation", lrep_upstanding),
#               (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_moralist),
#            (try_end),
#         (try_end),
#         
#         (call_script, "script_add_lady_items", ":cur_lady"),
#         (val_add, ":cur_lady", 1),
#         #high renown
#
#      (else_try),   #Older unmarried lords
#         (is_between, ":npc_seed", 8, 12),
#         
#         (store_random_in_range, ":age", 25, 36),         
#         (store_random_in_range, ":reputation", 0, 8),         
#         
#         (store_random_in_range, ":sister_reputation", 20, 26),
#         (try_begin),
#            (eq, ":sister_reputation", 20),
#            (assign, ":sister_reputation", lrep_conventional),
#         (try_end),
#         (troop_set_slot, ":cur_lady", slot_lord_reputation_type, ":sister_reputation"),
#         
#         (troop_set_slot, ":cur_lady", slot_troop_guardian, ":cur_troop"),
#
#         (call_script, "script_init_troop_age", ":cur_lady", 21),
#         (call_script, "script_add_lady_items", ":cur_lady"),
#         
#         (val_add, ":cur_lady", 1),
#         
#      (else_try),   #Younger unmarried lords
#         #age is father's minus 20 to 25
#         (store_sub, ":father", ":cur_troop", 12),
#         (troop_set_slot, ":cur_troop", slot_troop_father, ":father"),
#         (troop_get_slot, ":mother", ":father", slot_troop_spouse),
#         (troop_set_slot, ":cur_troop", slot_troop_mother, ":mother"),
#         
#         (troop_get_slot, ":father_age", ":father", slot_troop_age),
#         (store_sub, ":age", ":father_age", ":father_age_at_birth"),
#
#         (try_begin), #50% chance of having father's rep
#            (store_random_in_range, ":reputation", 0, 16),
#
#            (gt, ":reputation", 7),
#            (troop_get_slot, ":reputation", ":father", slot_lord_reputation_type),
#         (try_end),
#      (try_end),

   (try_for_range, ":cur_lady", kingdom_ladies_begin, kingdom_ladies_end),
   (store_random_in_range, ":lady_reputation", lrep_conventional, 34), #33% chance of father-derived
         (try_begin),
            (le, ":lady_reputation", 25),
            (troop_set_slot, ":cur_lady", slot_lord_reputation_type, ":lady_reputation"),
         (else_try),   
            (eq, ":lady_reputation", 26),
            (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_conventional),
         (else_try),   
            (eq, ":lady_reputation", 27),
            (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_moralist),
         (else_try),
            (assign, ":guardian_reputation", ":reputation"),
            (try_begin),
               (this_or_next|eq, ":guardian_reputation", lrep_martial),
                  (eq, ":guardian_reputation", 0),
               (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_conventional),
            (else_try),      
               (eq, ":guardian_reputation", lrep_quarrelsome),
               (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_otherworldly),
            (else_try),      
               (eq, ":guardian_reputation", lrep_selfrighteous),
         (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_ambitious),
            (else_try),      
            (eq, ":guardian_reputation", lrep_cunning),
               (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_adventurous),
            (else_try),      
               (eq, ":guardian_reputation", lrep_goodnatured),
               (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_adventurous),
         (else_try),      
               (eq, ":guardian_reputation", lrep_debauched),
               (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_ambitious),
            (else_try),      
               (eq, ":guardian_reputation", lrep_upstanding),
               (troop_set_slot, ":cur_lady", slot_lord_reputation_type, lrep_moralist),
            (try_end),
         (try_end),
         
         (call_script, "script_add_lady_items", ":cur_lady"),
         (val_add, ":cur_lady", 1),
      
      
      (try_begin),
         (eq, ":reputation", 0),
         (assign, ":reputation", 1),
      (try_end),
      
        (troop_set_slot, ":cur_troop", slot_lord_reputation_type, ":reputation"),

      (call_script, "script_init_troop_age", ":cur_troop", ":age"),
     (try_end),
    
     (try_begin),
       (eq, "$cheat_mode", 1),
       (assign, reg3, "$cheat_mode"),
       (display_message, "@{!}DEBUG -- Assigned lord reputation and relations"),
      
#       (display_message, "str_assigned_lord_reputation_and_relations_cheat_mode_reg3"), #This string can be removed
     (try_end),
    
     (try_for_range, ":cur_troop", pretenders_begin, pretenders_end),
      (troop_set_slot, ":cur_troop", slot_troop_occupation, slto_inactive_pretender),
      (store_random_in_range, ":age", 25, 30),
      (troop_set_slot, ":cur_troop", slot_troop_age, ":age"),
      (eq, ":cur_troop", "trp_kingdom_5_pretender"),
      (troop_set_slot, ":cur_troop", slot_troop_age, 45),      
     (try_end),
   ]),
 
...may or may not have lost my mind. OpenBRF used to work fine. Now, whenever I load a .brf, it won't display any textures, and the "why the checkerboard pattern?" bit says that it can't understand the <insert correct pathway here>.dds file. I've re-downloaded OpenBRF again and no change. Any ideas what might I have mussed up unknowingly?
 
I didnt ;P I just left it, you should maybe try to open a .dds file again and remove openbrf from the list if possible
 
Llew2 said:
Only thing I can figure is that I need to let the script know to search for them, but that's what these lines should do, located just below the last lord's age code:

      (try_for_range, ":cur_troop", kings_begin, lords_end),
      (troop_set_slot, ":cur_troop", slot_troop_occupation, slto_kingdom_hero),
  (try_end), 

I double checked module_constants to make sure kings_begin wasn't messed up, but it seems to be in order. Anyone got any ideas?

(Pardon the amount of snipped out code.)
*snip*
The slots are being assigned correctly. However, if you'll notice, in Native, kings do not display their age or families. You'll have to change the conditional check as follows:
Code:
...
	  #Family notes
      (try_begin),
        (this_or_next|is_between, ":troop_no", kings_begin, kingdom_ladies_end), #lords_begin -> kings_begin
        (eq, ":troop_no", "trp_player"),
...
(try_for_range, ":aristocrat", lords_begin, kingdom_ladies_end), #same here
...
There are two instances of the last line. The first adds up the number of relations, while the second finds the relationship between all other lords.
 
Status
Not open for further replies.
Back
Top Bottom