From b26c4d310d444a168d69c7f5fb51cd2efa064a24 Mon Sep 17 00:00:00 2001 From: Tore Bergebakken Date: Thu, 30 May 2024 21:47:34 +0200 Subject: [PATCH] Add combination achievements for portal extension --- .../SecretNames/SecretNamesStaticStorage.asset | 16 ++++++++-------- Assets/Scripts/Utils/SteamManager.cs | 10 ++++++++-- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/Assets/ScriptableObjects/Items/SecretNames/SecretNamesStaticStorage.asset b/Assets/ScriptableObjects/Items/SecretNames/SecretNamesStaticStorage.asset index 8a884c65d..77a7b0685 100644 --- a/Assets/ScriptableObjects/Items/SecretNames/SecretNamesStaticStorage.asset +++ b/Assets/ScriptableObjects/Items/SecretNames/SecretNamesStaticStorage.asset @@ -31,17 +31,17 @@ MonoBehaviour: - Body: {fileID: 11400000, guid: a99e4b806f963ac45a0635c34182107a, type: 2} Barrel: {fileID: 11400000, guid: 9e05b3c8e449acc4c8159a2a07f65ff0, type: 2} Extension: {fileID: 11400000, guid: 5f5eb8c73a83cc7dc923d1db915050e0, type: 2} - Name: 22nd Century Schizoid Man + Name: The 22nd Century Schizoid Gun Achievement: 3 - Body: {fileID: 11400000, guid: 35edad6203bf79b478c8ee2e0f4479f3, type: 2} Barrel: {fileID: 11400000, guid: 9e05b3c8e449acc4c8159a2a07f65ff0, type: 2} Extension: {fileID: 11400000, guid: 5f5eb8c73a83cc7dc923d1db915050e0, type: 2} - Name: Blue Hat Hacker + Name: The Blue Hat Hacker Achievement: 4 - Body: {fileID: 11400000, guid: 77e9d94b7043eb348b2a0b25ae2cc56e, type: 2} Barrel: {fileID: 11400000, guid: 9e05b3c8e449acc4c8159a2a07f65ff0, type: 2} Extension: {fileID: 11400000, guid: 5f5eb8c73a83cc7dc923d1db915050e0, type: 2} - Name: Black Hat Hacker + Name: The Black Hat Hacker Achievement: 5 - Body: {fileID: 11400000, guid: bf9666eedd80829a0a6b59278813ba72, type: 2} Barrel: {fileID: 11400000, guid: 89eab92daa1634e84ace980d00e1880e, type: 2} @@ -61,7 +61,7 @@ MonoBehaviour: - Body: {fileID: 11400000, guid: a99e4b806f963ac45a0635c34182107a, type: 2} Barrel: {fileID: 11400000, guid: 9e05b3c8e449acc4c8159a2a07f65ff0, type: 2} Extension: {fileID: 11400000, guid: 2c332edf0b10a07489ea78f82b8f7045, type: 2} - Name: The Spray and Pray + Name: The Spray 'n Pray Achievement: 9 - Body: {fileID: 11400000, guid: 35edad6203bf79b478c8ee2e0f4479f3, type: 2} Barrel: {fileID: 11400000, guid: 9c1da148c8d07ab428c6bc9a70aecae8, type: 2} @@ -76,7 +76,7 @@ MonoBehaviour: - Body: {fileID: 11400000, guid: a99e4b806f963ac45a0635c34182107a, type: 2} Barrel: {fileID: 11400000, guid: 9c1da148c8d07ab428c6bc9a70aecae8, type: 2} Extension: {fileID: 11400000, guid: 87e98f42380f122a486cd5034ef1d278, type: 2} - Name: Orbital Trash Cannon + Name: The Orbital Trash Cannon Achievement: 12 - Body: {fileID: 11400000, guid: 63bf1979c291d114b8dfb8d01bb407a9, type: 2} Barrel: {fileID: 11400000, guid: 9e05b3c8e449acc4c8159a2a07f65ff0, type: 2} @@ -87,14 +87,14 @@ MonoBehaviour: Barrel: {fileID: 11400000, guid: 9e05b3c8e449acc4c8159a2a07f65ff0, type: 2} Extension: {fileID: 11400000, guid: 7ce46454b57ea3045ac966e9a2465eb9, type: 2} Name: The Hat Trick - Achievement: 0 + Achievement: 14 - Body: {fileID: 11400000, guid: 63bf1979c291d114b8dfb8d01bb407a9, type: 2} Barrel: {fileID: 11400000, guid: cdf23d609a9c9ee4a852f9f41d45e072, type: 2} Extension: {fileID: 11400000, guid: 7ce46454b57ea3045ac966e9a2465eb9, type: 2} Name: The Long Shot - Achievement: 0 + Achievement: 15 - Body: {fileID: 11400000, guid: 0abfdcb5f304f2647b378f82907d538c, type: 2} Barrel: {fileID: 11400000, guid: 9c1da148c8d07ab428c6bc9a70aecae8, type: 2} Extension: {fileID: 11400000, guid: 7ce46454b57ea3045ac966e9a2465eb9, type: 2} Name: The Remote Worker - Achievement: 0 + Achievement: 16 diff --git a/Assets/Scripts/Utils/SteamManager.cs b/Assets/Scripts/Utils/SteamManager.cs index 738b9b102..386fffeb1 100644 --- a/Assets/Scripts/Utils/SteamManager.cs +++ b/Assets/Scripts/Utils/SteamManager.cs @@ -21,7 +21,10 @@ public enum AchievementType PingPonginator, Flamethrower, OrbitalTrashCannon, - ItalianPlumber + ItalianPlumber, + HatTrick, + LongShot, + RemoteWorker } public class SteamManager : MonoBehaviour @@ -126,7 +129,10 @@ private void RequestStats() { AchievementType.PingPonginator, "WEAPON_PING_PONG" }, { AchievementType.Flamethrower, "WEAPON_FLAMETHROWER" }, { AchievementType.OrbitalTrashCannon, "WEAPON_ORBITAL_TRASH_CANNON" }, - { AchievementType.ItalianPlumber, "WEAPON_ITALIAN_PLUMBER" } + { AchievementType.ItalianPlumber, "WEAPON_ITALIAN_PLUMBER" }, + { AchievementType.HatTrick, "WEAPON_HAT_TRICK" }, + { AchievementType.LongShot, "WEAPON_LONG_SHOT" }, + { AchievementType.RemoteWorker, "WEAPON_REMOTE_WORKER" } }; public void UnlockAchievement(AchievementType type)