Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /Downloads/gen7/scripts/InventoryChecker.apl/
- # Script checks for objects in inventory
- objectsLocateInventory = (locateObjects), true
- {
- objects.Locate = (objects.localInventory.object(Object(inventory))), getLocalObjects
- {
- inventory.FindObjects = true, (checkForObjects = inventoryObjects(WhenPickUp_listPickedObject = true))
- object.Locate = true, (onPickup) = checkForObjects.pickup (defineObject).ListObjectOnPickup = true
- {
- catchObject.list_object = (defineObject), localobjects, toInventory (objectOnPickup) = defineObject
- obj.LocalObjects.pickUp = (defineObject), listToInventory = true (showSelectionInventory)
- addPermObject = true, (inventory).selection.pickUp_ (object) list_to-inventory = true, (listToInventory)
- # Sees if object is able to get picked up and player picks up with button.
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement