Skip to content

Commit

Permalink
Reverted achievement changes because they break compatibility with ol…
Browse files Browse the repository at this point in the history
…der save files
  • Loading branch information
Regalis11 committed Sep 11, 2022
1 parent 88babdf commit accc960
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 59 deletions.
16 changes: 9 additions & 7 deletions Achievements.bb
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
;achievement menu & messages by InnocentSam

Const MAXACHIEVEMENTS=38
Const MAXACHIEVEMENTS=37
Dim Achievements%(MAXACHIEVEMENTS)

Const Achv008%=0, Achv012%=1, Achv035%=2, Achv049%=3, Achv055%=4, Achv066%=5, Achv079%=6, Achv096%=7, Achv106%=8, Achv148%=9
Const Achv205%=10, Achv294%=11, Achv372%=12, Achv420%=13, Achv427%=14, Achv500%=15, Achv513%=16, Achv714%=17, Achv789%=18, Achv860%=19
Const Achv895%=20, Achv914%=21, Achv939%=22, Achv966%=23, Achv970%=24, Achv1025%=25, Achv1048%=26, Achv1123%=27, Achv1162%=28, Achv1499%=29
Const Achv008%=0, Achv012%=1, Achv035%=2, Achv049%=3, Achv055=4, Achv079%=5, Achv096%=6, Achv106%=7, Achv148%=8, Achv205=9
Const Achv294%=10, Achv372%=11, Achv420%=12, Achv427=13, Achv500%=14, Achv513%=15, Achv714%=16, Achv789%=17, Achv860%=18, Achv895%=19
Const Achv914%=20, Achv939%=21, Achv966%=22, Achv970=23, Achv1025%=24, Achv1048=25, Achv1123=26

Const AchvMaynard%=30, AchvHarp%=31, AchvSNAV%=32, AchvOmni%=33, AchvTesla%=34, AchvPD%=35
Const AchvMaynard%=27, AchvHarp%=28, AchvSNAV%=29, AchvOmni%=30, AchvConsole%=31, AchvTesla%=32, AchvPD%=33

Const AchvConsole%=36, AchvKeter%=37
Const Achv1162% = 34, Achv1499% = 35

Const AchvKeter% = 36

Global UsedConsole

Expand Down Expand Up @@ -175,5 +177,5 @@ End Function


;~IDEal Editor Parameters:
;~F#2D#44
;~F#31#48
;~C#Blitz3D
99 changes: 47 additions & 52 deletions Data/achievementstrings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,174 +16,169 @@ AchvDesc=Encountered the Possessive Mask.
[s3]
string1=Doctor, Doctor
image=Achv049
AchvDesc=Found the cure.
AchvDesc=Found the cure

[s4]
string1=Anti-Meme
image=Achv055
AchvDesc=Recontained SCP-055.
AchvDesc=Recontained SCP-055

[s5]
string1="Eric?"
image=Achv066
AchvDesc=Encountered Eric's Toy.
[s6]
string1=Deductive Reasoning
image=Achv079
AchvDesc=Encountered the Old AI.

[s7]
string1=Don't Look at Me
[s6]
string1=Don't Look At Me
image=Achv096
AchvDesc=Encountered the Shy Guy.
[s8]
[s7]
string1=A Decayed March
image=Achv106
AchvDesc=Encountered the Old Man.
[s9]
[s8]
string1=Dirty Metal
image=Achv148
AchvDesc=Acquired the "Telekill Alloy".
[s10]
[s9]
string1=Femme Fatale
image=Achv205
AchvDesc=Encountered the Shadow Lamps.
[s11]
[s10]
string1=OUT OF RANGE
image=Achv294
AchvDesc=Obtained a liquid from the Coffee Machine.
[s12]
[s11]
string1=The Corner of Your Eye...
image=Achv372
AchvDesc=Encountered the Peripheral Jumper.
[s13]
[s12]
string1="Reggae, man."
image=Achv420
AchvDesc=Smoked some good ass shit.
[s14]
[s13]
string1=Light of Life
image=Achv427
AchvDesc=Found and equipped the "Lovecraftian Locket".
[s15]
[s14]
string1=A Taste of Immortality
image=Achv500
AchvDesc=Swallowed a sample of Panacea.
[s16]
[s15]
string1=If You Ring It, He Will Come
image=Achv513
AchvDesc=Encountered an Old Cowbell.
[s17]
[s16]
string1=Mental Exhaustion
image=Achv714
AchvDesc=Found a Jaded Ring.
[s18]
[s17]
string1="by researcher james, age 11"
image=Achv789
AchvDesc=Encountered the Butt Ghost.
[s19]
[s18]
string1=Blue Hue
image=Achv860
AchvDesc=Found a Blue Key.
[s20]
[s19]
string1=Interference
image=Achv895
AchvDesc=Encountered an Old Coffin.
[s21]
[s20]
string1=Refinery
image=Achv914
AchvDesc=Encountered the Clockworks Machine.
[s22]
[s21]
string1=Show Yourself
image=Achv939
AchvDesc=Encountered the Creatures with Many Voices.
[s23]
[s22]
string1=Rapid Eye Movement
image=Achv966
AchvDesc=Encountered the Sleep Killers.
[s24]
[s23]
string1=Recursive Spacial Phenomenon
image=Achv970
AchvDesc=Encountered a Recursive Room.
[s25]
[s24]
string1="Potential Bioweapon"
image=Achv1025
AchvDesc=Read the Encyclopedia of Common Diseases.
[s26]
[s25]
string1=The Architect
image=Achv1048
AchvDesc=Encountered the Builder Bear.
[s27]
[s26]
string1=The Final Solution
image=Achv1123
AchvDesc=Encountered the Atrocity Skull.
[s28]
string1=Pieces of the Past
image=Achv1162
AchvDesc=Encountered the Hole In The Wall.

[s29]
string1=Screams Of The Present
image=Achv1499
AchvDesc=Wore a GP-5 Gas Mask.

[s30]
[s27]
string1=The Containment Breach
image=AchvMaynard
AchvDesc=Entered Doctor Maynard's office.

[s31]
[s28]
string1=World-Ending Scenario
image=AchvHarp
AchvDesc=Entered Doctor Harp's office.
[s32]
[s29]
string1=Technical Accomplishments
image=AchvSNAV
AchvDesc=Acquired the S-NAV Navigator Ultimate.
[s33]
[s30]
string1=Unlimited Access
image=AchvOmni
AchvDesc=Acquired an Omni-level Keycard.
[s34]
[s31]
string1=Fair Play
image=AchvConsole
AchvDesc=Didn't use console commands.

[s32]
string1=Shell Shocked
image=AchvTesla
AchvDesc=Lured the Old Man through a Tesla gate.

[s35]
[s33]
string1=No Man's Land
image=AchvPD
AchvDesc=Escaped the Old Man's Pocket Dimension.

[s36]
string1=Fair Play
image=AchvConsole
AchvDesc=Didn't use console commands.
[s34]
string1=Pieces of the Past
image=Achv1162
AchvDesc=Encountered the Hole In The Wall.

[s35]
string1=Screams Of The Present
image=Achv1499
AchvDesc=Wore a GP-5 Gas Mask.

[s37]
string1=Survival in a Nightmare
[s36]
string1=Survival In a Nightmare
image=AchvKeter
AchvDesc=Beat the game on Keter difficulty.
AchvDesc=Beat the game on Keter difficulty.

1 comment on commit accc960

@ChronoQuote
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed save compatibility with the new achievement in PR #200.

Also, it looks like this is not a complete reversion, since Achv066.jpg still exists and approaching 066 will still call GiveAchievement(Achv066), which I think will result in the player earning the 008 achievement since Achv066 will have a value of 0.

Please sign in to comment.