Page 1 of 1

change made to a mod component count not working in a save

Posted: Tue Jan 19, 2016 6:29 am
by devilwarriors
Hi,

I'm trying to up the count of component of a mod to match marathon cost and for some reason the change are not showing up in my marathon save, but if I load another save that was not using the mod at the time it will work and show the change I made.

It's like mod are cached or something.. what happening here?

anyone know?

Re: change made to a mod component count not working in a save

Posted: Tue Jan 19, 2016 11:50 am
by matjojo
you need to reload the data I think there is a command for it. but the easiest is just rebooting the game.

Re: change made to a mod component count not working in a save

Posted: Tue Jan 19, 2016 12:25 pm
by Klonan
matjojo wrote:you need to reload the data I think there is a command for it. but the easiest is just rebooting the game.

Code: Select all

/c game.local_player.force.reset_recipes()

Re: change made to a mod component count not working in a save

Posted: Tue Jan 19, 2016 2:04 pm
by matjojo
Klonan wrote:
matjojo wrote:you need to reload the data I think there is a command for it. but the easiest is just rebooting the game.

Code: Select all

/c game.local_player.force.reset_recipes()
Well, that certainly is easier than rebooting. Thanks!

Re: change made to a mod component count not working in a save

Posted: Tue Jan 19, 2016 2:13 pm
by Klonan
matjojo wrote:
Klonan wrote:
matjojo wrote:you need to reload the data I think there is a command for it. but the easiest is just rebooting the game.

Code: Select all

/c game.local_player.force.reset_recipes()
Well, that certainly is easier than rebooting. Thanks!
Oh well no, you still have to restart if you make changed to a mod,

Reset recipes works when you have a save game with a mod, then make changes to the mod.
When you load the game again, the save game will have the old recipes still, so reset_recipes() will refresh the recipes to the new ones that were loaded whne the game starts

Re: change made to a mod component count not working in a save

Posted: Tue Jan 19, 2016 3:05 pm
by matjojo
Klonan wrote:*snippy snippet*

Oh well no, you still have to restart if you make changed to a mod,

Reset recipes works when you have a save game with a mod, then make changes to the mod.
When you load the game again, the save game will have the old recipes still, so reset_recipes() will refresh the recipes to the new ones that were loaded whne the game starts
ow, that changes it a bit, thanks again!

Re: change made to a mod component count not working in a save

Posted: Tue Jan 19, 2016 10:27 pm
by devilwarriors
yeah restarting is not enought..

Thanks for the help people!!