Defines the Orange item (orange) of the Farming plugin, which is peeled on use to give an orange_cleaned item.
Summary
Methods
OnDrop(player, position)shared
Lets the item be dropped, with no extra effect.
Peels the orange, giving the player an
orange_cleaned.Methods
ITEM:OnDrop(player, position)
shared gamemodes/cwhl2rp/plugins/farming/plugin/items/sh_orange.lua:21Lets the item be dropped, with no extra effect.
Parameters
- player
- position
ITEM:OnUse(player, itemEntity)
shared gamemodes/cwhl2rp/plugins/farming/plugin/items/sh_orange.lua:16Peels the orange, giving the player an orange_cleaned.
Parameters
- player
- itemEntity