Ration Packet item
Item defined in items/sh_ration.lua
Defines the Ration Packet item (ration_normal), which is opened for 30 tokens, citizen supplements and a Breen's
water and fires the PlayerUseRation hook.
Summary
Methods
Blocks quick-use pickup, with a notification, when the player cannot carry the ration.
OnDrop(player, position)shared
Lets the item be dropped; nothing else happens.
Pays the player 30 tokens and gives them citizen supplements and a Breen's water.
Methods
Blocks quick-use pickup, with a notification, when the player cannot carry the ration.
Parameters
- player
- quickUse
- itemEntity
Lets the item be dropped; nothing else happens.
Parameters
- player
- position
Pays the player 30 tokens and gives them citizen supplements and a Breen's water.
Fires the PlayerUseRation hook.
Parameters
- player
- itemEntity