Files
seeding-planets/common/steam_connection/steam_connection.gd
T
zacharie bb0424d67e 0.1.1
- Rééquilibrage du mode histoire (vers le haut, le jeu sera un poil plus dur)
- Ajout d'effet pour dissuader le joueur d'aller hors map (avec peut être un easter egg ???)
- Réparation des noms de régions avec le mode twitch et ajout de nombreux noms de régions de la communauté
- Buff de la mutation solide (plus qu'un jour de maturation en plus)
- Quelques coquilles dans les textes (il doit en rester)
- Ajout de la mention de la région choisie dans le dashboard du cockpit
- Distributeurs plus clairs (surtout la notion de choix d'artefact)
2026-07-22 00:14:46 +02:00

27 lines
1.1 KiB
GDScript

extends Node
const ACH_SPIN_PLANET="STW_SPIN_PLANET"
const ACH_FINISH_TUTORIAL="STW_FINISH_TUTORIAL"
const ACH_MEET_DEMETER="STW_MEET_DEMETER"
const ACH_UNLOCK_ALL_MUTATION="STW_UNLOCK_ALL_MUTATIONS"
const ACH_KICK_YOUR_OLD_BODY="STW_KICK_YOUR_OLD_BODY"
const ACH_MERCURY_BASE="STW_REACH_MERCURY_BASE"
const ACH_REACH_VENUS_BASE="STW_REACH_VENUS_BASE"
const ACH_STW_REACH_AQUA_BASE="STW_REACH_AQUA_BASE"
const ACH_STW_REACH_SUBTERRA_BASE="STW_REACH_SUBTERRA_BASE"
const ACH_STW_REACH_ESTIA_BASE="STW_REACH_ESTIA_BASE"
const ACH_STW_REPAIR_THE_PLANET="STW_REPAIR_THE_PLANET"
const ACH_STW_HIT_10_INFINITE="STW_HIT_10_INFINITE"
const ACH_STW_HIT_20_INFINITE="STW_HIT_20_INFINITE"
const ACH_STW_HIT_30_INFINITE="STW_HIT_30_INFINITE"
const ACH_STW_ALL_CASES="STW_ALL_CASES"
const ACH_STW_TOO_FAR="STW_TOO_FAR"
func unlock_achievement(achivement_name : String):
if Steam.isSteamRunning():
var status = Steam.getAchievement(achivement_name)
print("Steam Achievement %s" % achivement_name)
if status.has("ret") and status.ret and not status.achieved:
Steam.setAchievement(achivement_name)
Steam.storeStats()