enderalse/source/scripts/_00e_princemithbooksc.psc

13 lines
418 B
Plaintext

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