enderalse/scripts/source/_00e_phasmalist_despectralizecont.psc

8 lines
390 B
Plaintext

Scriptname _00E_Phasmalist_DespectralizeCont extends ReferenceAlias
Message Property cannotAddItemsFromPlayer auto
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
Debug.Notification(cannotAddItemsFromPlayer.getName())
self.getRef().removeItem(akBaseItem, aiItemCount, akOtherContainer = Game.getPlayer())
Endevent