Boxed Bag item
Item defined in items/sh_boxed_bag.lua
Defines the Boxed Bag item, which is opened to give a small_bag unless the player already carries two.
Summary
Methods
OnDrop(player, position)shared
Lets the item be dropped; nothing else happens.
Unpacks into a small bag, or keeps the box with a notification when the player already has two.
Methods
Lets the item be dropped; nothing else happens.
Parameters
- player
- position
Unpacks into a small bag, or keeps the box with a notification when the player already has two.
Parameters
- player
- itemEntity