Skip to content

Commit

Permalink
Add combination achievements for portal extension
Browse files Browse the repository at this point in the history
  • Loading branch information
toberge committed May 31, 2024
1 parent 9066e9d commit b26c4d3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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}
Expand All @@ -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}
Expand All @@ -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
10 changes: 8 additions & 2 deletions Assets/Scripts/Utils/SteamManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ public enum AchievementType
PingPonginator,
Flamethrower,
OrbitalTrashCannon,
ItalianPlumber
ItalianPlumber,
HatTrick,
LongShot,
RemoteWorker
}

public class SteamManager : MonoBehaviour
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit b26c4d3

Please sign in to comment.