enderalse/source/scripts/_00e_princemithbooksc.psc

13 lines
419 B
Plaintext

Scriptname _00E_PrinceMithBookSC extends ObjectReference
Event OnRead()
If _00E_AchievementsEnabled.getValueInt() == 1 && _00E_PrinzMithAchievement02Unlocked.GetValueInt() == 0
Steam.UnlockAchievement("END_PRINCE_MITH_02")
_00E_PrinzMithAchievement02Unlocked.SetValueInt(1)
EndIf
EndEvent
GlobalVariable Property _00E_AchievementsEnabled Auto
GlobalVariable Property _00E_PrinzMithAchievement02Unlocked Auto