Defines the Cleaned Orange item (orange_cleaned) of the Farming plugin, a food item that heals 15 health and
boosts endurance and strength by 10 for two minutes.
Summary
Methods
OnDrop(player, position)shared
Lets the item be dropped, with no extra effect.
Heals the player by 15 and boosts endurance and strength by 10 for two minutes.
Methods
ITEM:OnDrop(player, position)
shared gamemodes/cwhl2rp/plugins/farming/plugin/items/sh_orange_cleaned.lua:26Lets the item be dropped, with no extra effect.
Parameters
- player
- position
ITEM:OnUse(player, itemEntity)
shared gamemodes/cwhl2rp/plugins/farming/plugin/items/sh_orange_cleaned.lua:17Heals the player by 15 and boosts endurance and strength by 10 for two minutes.
Parameters
- player
- itemEntity