Page 1 of 1

Hand Mining Achievement

Posted: Wed May 03, 2023 6:33 pm
by hackamod
I am trying to make an achievement for catching fish.
Then I noticed there seems to be no way to trigger an achievement for hand mining or hand crafting (only disable for hand crafting)
Please tell me I am missing something.
Is there a way to trigger an achievement for hand mining fish or ore? ..or for hand crafting at least n items?

I tried ProduceAchievementbut it does not seem to be counting fish. I did not test it for ore, but I am more concerned with the fish

Re: Hand Mining Achievement

Posted: Wed May 03, 2023 11:01 pm
by Xorimuth
You can check in control for the unlock condition, and unlock it using https://lua-api.factorio.com/latest/Lua ... chievement.

Re: Hand Mining Achievement

Posted: Thu May 04, 2023 3:58 pm
by hackamod
Yes thank you very much.
with on_player_mined_item and on_pre_player_mined_item to detect when the player mines a fish/ore/etc
This works the way I wanted :D ty