Hello @all,
I'm working on a new feature for my (german) mod: crowns(is this correct?, my english isn't that good; earl, baron...are ment)
I want to change the playername if the player buys a crown(Peter;buys crown->Earl Peter) but i don't know how
please help
at the moment in the module_game_menus.py the following is written:
module_scripts.py:
and module_strings.py:
thx for help
I'm working on a new feature for my (german) mod: crowns(is this correct?, my english isn't that good; earl, baron...are ment)
I want to change the playername if the player buys a crown(Peter;buys crown->Earl Peter) but i don't know how

at the moment in the module_game_menus.py the following is written:
Code:
##crowns##
("camp_buy_crown",
[(this_or_next|party_slot_eq, "p_town_1", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_2", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_3", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_4", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_5", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_6", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_7", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_8", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_9", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_10", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_11", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_12", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_13", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_14", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_15", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_16", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_17", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_town_18", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_1", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_2", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_3", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_4", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_5", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_6", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_7", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_8", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_9", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_10", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_11", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_12", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_13", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_14", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_15", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_16", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_17", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_18", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_19", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_20", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_21", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_22", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_23", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_24", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_25", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_26", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_27", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_28", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_29", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_30", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_31", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_32", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_33", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_34", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_35", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_36", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_37", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_38", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_39", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_castle_40", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_1", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_2", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_3", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_4", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_5", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_6", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_7", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_8", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_9", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_10", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_11", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_12", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_13", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_14", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_15", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_16", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_17", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_18", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_19", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_20", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_21", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_22", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_23", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_24", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_25", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_26", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_27", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_28", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_29", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_30", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_31", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_32", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_33", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_34", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_35", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_36", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_37", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_38", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_39", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_40", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_41", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_42", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_43", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_44", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_45", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_46", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_47", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_48", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_49", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_50", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_51", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_52", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_53", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_54", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_55", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_56", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_57", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_58", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_59", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_60", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_61", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_62", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_63", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_64", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_65", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_66", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_67", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_68", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_69", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_70", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_71", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_72", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_73", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_74", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_75", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_76", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_77", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_78", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_79", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_80", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_81", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_82", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_83", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_84", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_85", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_86", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_87", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_88", slot_town_lord, "trp_player"),
(this_or_next|party_slot_eq, "p_village_89", slot_town_lord, "trp_player"),
(party_slot_eq, "p_village_90", slot_town_lord, "trp_player"),
],
"Kauft einen neuen Titel.",
[(jump_to_menu, "mnu_crown"),
],
),
##crowns##
Code:
##crowns##------------------------------------------------------------------------------
("crown,0,
"Waehlt den Titel, den ihr erwerben moechtet.",
"none",
[],
[
("crown1",[(eq, "$character_gender", tf_male)],"Herzog (200000 Dinare)",
[(display_message, "@Ihr bestecht den Schreiber des Koenigs"),
(display_message, "@und erhaltet den Titel Herzog!"),
(troop_remove_gold, "trp_player",200000),
(call_script, "script_game_reset_player_party_name_caption1"),
(call_script, "script_change_player_honor", 30),
(troop_raise_attribute, "trp_player",ca_intelligence,10),
(troop_raise_attribute, "trp_player",ca_charisma,10),
(troop_raise_attribute, "trp_player",ca_strength,10),
(troop_raise_attribute, "trp_player",ca_agility,10),
(troop_raise_skill, "trp_player","skl_trade",4),
(troop_raise_skill, "trp_player","skl_riding",4),
(troop_raise_skill, "trp_player","skl_ironflesh",4),
(troop_raise_skill, "trp_player","skl_looting",4),
(troop_raise_skill, "trp_player","skl_pathfinding",4),
(troop_raise_skill, "trp_player","skl_surgery",4),
(troop_raise_skill, "trp_player","skl_spotting",4),
(troop_raise_skill, "trp_player","skl_spotting",4),
(troop_raise_skill, "trp_player","skl_engineer",4),
(troop_raise_skill, "trp_player","skl_persuasion",4),
(troop_raise_skill, "trp_player","skl_inventory_management",4),
(troop_raise_skill, "trp_player","skl_tactics",4),
(troop_raise_skill, "trp_player","skl_trainer",4),
(troop_raise_skill, "trp_player","skl_tracking",4),
(troop_raise_skill, "trp_player","skl_wound_treatment",4),
(troop_raise_skill, "trp_player","skl_first_aid",4),
(troop_raise_skill, "trp_player","skl_leadership",4),
(troop_raise_skill, "trp_player","skl_prisoner_management",4),
(troop_raise_skill, "trp_player","skl_horse_archery",4),
(troop_raise_skill, "trp_player","skl_athletics",2),
(troop_raise_skill, "trp_player","skl_shield",4),
(troop_raise_skill, "trp_player","skl_power_draw",4),
(troop_raise_skill, "trp_player","skl_power_throw",4),
(troop_raise_skill, "trp_player","skl_power_strike",4),
(troop_raise_skill, "trp_player","skl_weapon_master",4),
(call_script, "script_change_troop_renown", "trp_player" ,500),
(call_script, "script_change_player_relation_with_troop","trp_kingdom_1_lord", 50),
(call_script, "script_change_player_relation_with_troop","trp_kingdom_2_lord", 50),
(call_script, "script_change_player_relation_with_troop","trp_kingdom_3_lord", 50),
(call_script, "script_change_player_relation_with_troop","trp_kingdom_4_lord", 50),
(call_script, "script_change_player_relation_with_troop","trp_kingdom_5_lord", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_1", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_2", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_3", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_4", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_5", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_6", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_7", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_8", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_9", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_10", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_11", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_12", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_13", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_14", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_15", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_16", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_17", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_18", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_19", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_1_20", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_1", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_2", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_3", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_4", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_5", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_6", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_7", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_8", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_9", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_10", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_11", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_12", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_13", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_14", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_15", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_16", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_17", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_18", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_19", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_2_20", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_1", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_2", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_3", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_4", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_5", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_6", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_7", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_8", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_9", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_10", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_11", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_12", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_13", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_14", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_15", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_16", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_17", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_18", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_19", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_3_20", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_1", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_2", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_3", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_4", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_5", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_6", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_7", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_8", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_9", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_10", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_11", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_12", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_13", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_14", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_15", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_16", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_17", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_18", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_19", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_4_20", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_1", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_2", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_3", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_4", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_5", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_6", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_7", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_8", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_9", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_10", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_11", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_12", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_13", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_14", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_15", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_16", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_17", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_18", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_19", 50),
(call_script, "script_change_player_relation_with_troop","trp_knight_5_20", 50),
(call_script, "script_change_player_relation_with_troop","trp_kingdom_1_pretender", 50),
(call_script, "script_change_player_relation_with_troop","trp_kingdom_2_pretender", 50),
(call_script, "script_change_player_relation_with_troop","trp_kingdom_3_pretender", 50),
(call_script, "script_change_player_relation_with_troop","trp_kingdom_4_pretender", 50),
(call_script, "script_change_player_relation_with_troop","trp_kingdom_5_pretender", 50),
(jump_to_menu, "mnu_camp_action"),
]
),
[color=blue]...[/color]
module_scripts.py:
Code:
##crowns##----------------------------------------------------------
("game_reset_player_party_name_crown1",
[(str_store_troop_name, "trp_player", "str_crown1"),
(party_set_name, "p_main_party", "str_crown1"),
]),
...
and module_strings.py:
Code:
#crowns##------------------------------------------------
("crown1", "Herzog {playername}"),
...
thx for help