Mount & Blade: With Fire & Sword
0 of 0

File information

Last updated

Original upload

Created by

givemetehfilez

Uploaded by

givemetehfilez

Virus scan

Safe to use

About this mod

Makes the achievement progress show up properly in Steam

Permissions and credits
Extract to the Modules folder, overwriting everything. You may have to start a new character for this fix to take effect. Probably does not
work with any mods.

The Great Trader achievement actually does work, but the achievement progress doesn't show up in Steam because the profit stat isn't assigned
to it like the Trader achievement is.

Original code: (lines 14970 - 14977 of module_game_menus.py)

              (try_begin),
                (get_achievement_stat, ":total_profit_till_now", ACHIEVEMENT_TRADER, 0),
                (val_add, ":total_profit_till_now", ":profit"),
                (set_achievement_stat, ACHIEVEMENT_TRADER, 0, ":total_profit_till_now"),
                (try_begin),
                  (ge, ":total_profit_till_now", 100000),
                  (unlock_achievement, ACHIEVEMENT_TRADER),                  
                (try_end),

Fixed code:


  (try_begin),
(get_achievement_stat, ":total_profit_till_now", ACHIEVEMENT_TRADER, 0),
 (val_add, ":total_profit_till_now", ":profit"),
 (set_achievement_stat, ACHIEVEMENT_TRADER, 0, ":total_profit_till_now"),
 (get_achievement_stat, ":total_profit_till_now", ACHIEVEMENT_GREAT_TRADER, 0),
 (val_add, ":total_profit_till_now", ":profit"),
 (set_achievement_stat, ACHIEVEMENT_GREAT_TRADER, 0, ":total_profit_till_now"),
 (try_begin),
(ge, ":total_profit_till_now", 100000),
(unlock_achievement, ACHIEVEMENT_TRADER),
 (try_end),