4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
414 B

Scriptname _00E_NQ_G_05_OnPlantCollected extends ObjectReference
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
if akNewContainer == Game.GetPlayer()
NQ_G_05.UpdatePlantCounter(iType, 1)
EndIf
if akOldContainer == Game.GetPlayer()
NQ_G_05.UpdatePlantCounter(iType, -1)
EndIf
EndEvent
_00E_NQ_G_05_Functions Property NQ_G_05 Auto
int Property iType Auto