Achievement Question

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

Achievement Question

Post by TheSAguy » Fri Dec 21, 2018 6:15 pm

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: 1735
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Achievement Question

Post by Bilka » Fri Dec 21, 2018 6:57 pm

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: 1350
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Re: Achievement Question

Post by TheSAguy » Sat Dec 22, 2018 1:55 am

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

Post Reply

Return to “Modding help”

Who is online

Users browsing this forum: No registered users