Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persist achievements status #3

Open
KamilPacanek opened this issue Jul 22, 2022 · 0 comments
Open

Persist achievements status #3

KamilPacanek opened this issue Jul 22, 2022 · 0 comments

Comments

@KamilPacanek
Copy link
Owner

KamilPacanek commented Jul 22, 2022

When dying in an Ironman mode, save the achievements progress (ex. creates/boxes broken, items crafted) and achievements earned in a file.

if not game_statistics.has_actor_achievement("down_to_earth") then
    SendScriptCallback("actor_on_achievement_earned","down_to_earth","st_achievement_12_unlock")
end

Supported achievements:

  • Artificer Eagerness
  • Completionist
  • Down to Earth
  • Geologist
  • Heavy Pockets
  • Infantile Pleasure
  • Infopreneur
  • Mechanized Warfare (TBD)
  • Folk Hero
  • Radiotherapy
  • Rag and Bone
  • Vigilant Recycler
  • Silver or Lead
  • Unforeseen Guest
  • Well Dressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant