Changing missions? please help

Users who are viewing this thread

Ben Hussey

Sergeant Knight
So far on my mod I have managed everything except...
as It is a battle of hastings mod i have removed all plate armour etc. that is not historically correct, however when you get missions some will be requesting items I no longer have available to buy,
Is there a way of changing this?
thanks a load,
Ben Hussey
 
I think the following might work (I haven't tried it yet)

Open up module_dialogs.py and go to where the following is written:

[anyone,"governer_tell_mission", [[eq,"$random_quest_no","qst_supply_armor"]],
"I am raising a new company of troops {playername}.\
Soon they will be ready for battle except that we can't fully equip them from my armory.\
I need to purchase some of the armor from outside.\
Now, I want you to bring me {reg1} {s3}.\
I will pay handsomely for you effort as soon as you have brought them.", "governer_mission_told", [
[store_random,reg(1),4],[val_add,reg(1),3],
[assign,"$armor_quest_number",reg(1)],
[store_random_armor,reg(3)],
[assign,"$armor_quest_item_kind",reg(3)],
[str_store_item_name,3,reg(3)],
[store_conversation_troop,reg(25)],[str_store_troop_name,1,reg(25)],
[store_encountered_party,reg(26)],[str_store_party_name,2,reg(26)],
[setup_quest_text,"$random_quest_no"],
]],

and replace it with this:

[anyone,"governer_tell_mission", [[eq,"$random_quest_no","qst_supply_armor"],
[store_random_armor,reg(3)],
[neq,"itm_plate_armor", reg(3)]],
"I am raising a new company of troops {playername}.\
Soon they will be ready for battle except that we can't fully equip them from my armory.\
I need to purchase some of the armor from outside.\
Now, I want you to bring me {reg1} {s3}.\
I will pay handsomely for you effort as soon as you have brought them.", "governer_mission_told", [
[store_random,reg(1),4],[val_add,reg(1),3],
[assign,"$armor_quest_number",reg(1)],
[assign,"$armor_quest_item_kind",reg(3)],
[str_store_item_name,3,reg(3)],
[store_conversation_troop,reg(25)],[str_store_troop_name,1,reg(25)],
[store_encountered_party,reg(26)],[str_store_party_name,2,reg(26)],
[setup_quest_text,"$random_quest_no"],
]],

The only thing I've changed is to take the random item choice command from the consequences bloc to the conditions bloc, and added the additional condition that the randomly-chosen armor not be plate armor. It if is, then armor quest will not fire at all, and the Count will merely tell you he has no job for you.

But I haven't actually been able to tell if this really works.
 
Back
Top Bottom