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.
 
 
 

20 lines
519 B

Scriptname _00E_ItemDropCheckSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef != Game.GetPlayer()
Form base = akActionRef.GetBaseObject()
if (base as Weapon) || (base as Armor) || (base as MiscObject) || (base as Potion) || (base as Book) || (base as Ingredient)
_00E_Game_CannotDropItemsInSkillmenu.Show()
Game.GetPlayer().AddItem(akActionRef)
akActionRef.Delete()
endif
endif
EndEvent
Message Property _00E_Game_CannotDropItemsInSkillmenu Auto