Hello everyone, I am very new to scripting, I just started 3 days ago. Anyways I was looking around for something that would always gurantee polearm weapons for soldiers when it is placed in their inventory. I found the script for it, I put it in module_scripts, and put a trigger in module_mission_templates, and everything worked. The problem is that I wanted to gurantee polearm weapons for Sands of Faith (and hopefully other mods). The module system only has the native files, and there is no ModSys for Sands of Faith. I asked on ModMB, and a person named rebelmarineha told me I should get WinMerge and compare the Native txt file, and my test mod (the one the ModSys and script went into), copy what's different, and paste it in the SoF txt folder. It worked for the scripts.txt, I found the code and copy/pasted it in the SoF scripts folder, however the mission_templates.txt has too many differences and I don't know which code in the txt file Im looking for. What can I do?
The module_mission_templates trigger is (call_script, "script_force_weapon", ":agent_no"),
How it looks combined with the other triggers in the file
common_battle_init_banner = (
ti_on_agent_spawn, 0, 0, [],
[
(store_trigger_param_1, ":agent_no"),
(call_script, "script_force_weapon", ":agent_no"),
(agent_get_troop_id, ":troop_no", ":agent_no"),
(call_script, "script_troop_agent_set_banner", "tableau_game_troop_label_banner", ":agent_no", ":troop_no"),
])