Highest Tier Ration Packet item
Item defined in items/sh_ration_highest.lua
Defines the Highest Tier Ration Packet item (ration_highest), which is opened for 150 tokens, two premium
supplements and two special Breen's waters 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 150 tokens and gives them two premium supplements and two special Breen's waters.
Methods
ITEM:CanPickup(player, quickUse, itemEntity)
shared gamemodes/cwhl2rp/schema/items/sh_ration_highest.lua:13Blocks 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 150 tokens and gives them two premium supplements and two special Breen's waters.
Fires the PlayerUseRation hook.
Parameters
- player
- itemEntity