enderalse/source/scripts/_00e_mq03_forschungsergebnissescn.psc

18 lines
687 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ03_ForschungsergebnisseSCN extends ObjectReference
Book Property _00E_MQ03Forschungsergebnisse Auto
Quest Property _00E_MQ04_StoneofMadness Auto
MiscObject Property _00E_MQ03Visionsstein Auto
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
if akNewContainer == Game.GetPlayer()
Debug.Trace("I just got put in the player's inventory!")
if (Game.GetPlayer().GetItemCount(_00E_MQ03Forschungsergebnisse) >= 2)
_00E_MQ04_StoneofMadness.SetObjectiveCompleted(50)
if (Game.GetPlayer().GetItemCount(_00E_MQ03Visionsstein) >= 6)
_00E_MQ04_StoneofMadness.setstage(30)
endif
endif
endIf
endEvent