поставил,попробовал - ещё как работает, теперь сенеш. выдаёт кучу информ. по вопросам игры, как я и хотел.
попробую сам вставить меню рекрутов, если не справлюсь,надеюсь на помощь...
("recruit_nobiles",
[
(call_script, "script_cf_castle_recruit_nobiles_cond"),
]
,"Recruit Nobiles.",
[
(try_begin),
(call_script, "script_cf_enter_center_location_bandit_check"),
(else_try),
(jump_to_menu, "mnu_recruit_nobiles"),
(try_end),
]),
(
"recruit_nobiles",0,
"{s18}",
"none",
[(party_get_slot, ":nobiles_troop", "$current_town", slot_center_nobiles_troop_type),
(party_get_slot, ":nobiles_amount", "$current_town", slot_center_nobiles_troop_amount),
(party_get_free_companions_capacity, ":free_capacity", "p_main_party"),
(store_troop_gold, ":gold", "trp_player"),
(store_div, ":gold_capacity", ":gold", 500),#500 denars per man
(assign, ":party_capacity", ":free_capacity"),
(val_min, ":party_capacity", ":gold_capacity"),
(try_begin),
(gt, ":party_capacity", 0),
(val_min, ":nobiles_amount", ":party_capacity"),
(try_end),
(assign, reg5, ":nobiles_amount"),
(assign, reg7, 0),
(try_begin),
(gt, ":nobiles_amount", ":gold_capacity"),
(assign, reg7, 1), #not enough money
(try_end),
(try_begin),
(eq, ":nobiles_amount", 0),
(str_store_string, s18, "@No one here seems to be willing to join your party."),
(else_try),
(store_mul, reg6, ":nobiles_amount", 500),#500 denars per man
(str_store_troop_name_by_count, s3, ":nobiles_troop", ":nobiles_amount"),
(try_begin),
(eq, reg5, 1),
(str_store_string, s18, "@One {s3} nobiles to follow you."),
(else_try),
(str_store_string, s18, "@{reg5} {s3} nobiles to follow you."),
(try_end),
(set_background_mesh, "mesh_pic_recruits"),
(try_end),
],
[
("continue_not_enough_gold",
[
(eq, reg7, 1),
],
"I don't have enough money...",
[
(jump_to_menu,"mnu_castle"),
]),
("continue",
[
(eq, reg7, 0),
(eq, reg5, 0),
], #noone willing to join
"Continue...",
[
(party_set_slot, "$current_town", slot_center_nobiles_troop_amount, -1),
(jump_to_menu,"mnu_castle"),
]),
("recruit_them",
[
(eq, reg7, 0),
(gt, reg5, 0),
],
"Recruit them ({reg6} denars).",
[
(call_script, "script_castle_recruit_nobiles_recruit"),
(jump_to_menu,"mnu_castle"),
]),
("forget_it",
[
(eq, reg7, 0),
(gt, reg5, 0),
],
"Forget it.",
[
(jump_to_menu,"mnu_castle"),
]),
],
),
вот такую штуку с горем пополам переделал из модуля меню,но очень сомневаюсь,что будет работать.и если будет,то как его прикрутить к диалогу с сенешалем?а данный текст попробую вставить после меню города.
ругается на новый трупс...
создал новых каждой фракции,не помогло...