Defines the Orange Juice item (orange_juice) of the Farming plugin, a drink that restores 55 thirst and leaves
an empty_soda_can.
Summary
Methods
OnDrop(player, position)shared
Lets the item be dropped, with no extra effect.
Gives the player back an
empty_soda_can.Methods
ITEM:OnDrop(player, position)
shared gamemodes/cwhl2rp/plugins/farming/plugin/items/sh_orange_juice.lua:23Lets the item be dropped, with no extra effect.
Parameters
- player
- position
ITEM:OnUse(player, itemEntity)
shared gamemodes/cwhl2rp/plugins/farming/plugin/items/sh_orange_juice.lua:18Gives the player back an empty_soda_can.
Parameters
- player
- itemEntity