[0.12.4] Codes not work in mods

Bugs that are actually features.
Post Reply
Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

[0.12.4] Codes not work in mods

Post by Airat9000 »

not work in recetrecipes and techonologies

game.player.force.resettechnologies
game.player.force.resetrecipe

send to files in mods// please help

https://www.dropbox.com/s/fgd7z6zpi05kz ... 4.rar?dl=0

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5151
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.12.4] Codes not work in mods

Post by Klonan »

they got changed:

game.player.force.reset_technologies
game.player.force.reset_recipes

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: [0.12.4] Codes not work in mods

Post by Airat9000 »

Klonan wrote:they got changed:

game.player.force.reset_technologies
game.player.force.reset_recipes
not effect(((
Attachments
2015-08-17_0-16-56.jpg
2015-08-17_0-16-56.jpg (251.55 KiB) Viewed 5519 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13225
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.12.4] Codes not work in mods

Post by Rseding91 »

It's: /c game.player.force.reset_technologies()
If you want to get ahold of me I'm almost always on Discord.

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: [0.12.4] Codes not work in mods

Post by Airat9000 »

Rseding91 wrote:It's: /c game.player.force.reset_technologies()
:D tnanks worked!

Post Reply

Return to “Not a bug”