Achievement Question

Place to get help with not working mods / modding interface.
Post Reply
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Achievement Question

Post by TheSAguy »

How do I reset an accomplished Achievement?
I'm testing some achievements and now not sure how to reset it.

This was the code I enabled the Achievement:

Code: Select all

		for index, player in pairs(game.players) do --give the achievement to every player
				player.unlock_achievement("you-killed-at-least-of-all-NE")
		end
I tried "lock", but that did not seem to work.

Code: Select all

		for index, player in pairs(game.players) do --give the achievement to every player
				player.lock_achievement("you-killed-at-least-of-all-NE")
		end
Thanks,

Bilka
Factorio Staff
Factorio Staff
Posts: 3128
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Achievement Question

Post by Bilka »

It is not possible.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

TheSAguy
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Re: Achievement Question

Post by TheSAguy »

Thanks, I'm now just remaining my achievements :)

Post Reply

Return to “Modding help”