Defines the Melon food item, which heals 10 health and boosts agility by 2 for two minutes.

Summary

Methods

Lets the item be dropped; nothing else happens.
Heals 10 health and boosts agility by 2 for two minutes.

Methods

ITEM:OnDrop(player, position)

shared gamemodes/cwhl2rp/schema/items/sh_melon.lua:24

Lets the item be dropped; nothing else happens.

Parameters

  • player
  • position

ITEM:OnUse(player, itemEntity)

shared gamemodes/cwhl2rp/schema/items/sh_melon.lua:17

Heals 10 health and boosts agility by 2 for two minutes.

Parameters

  • player
  • itemEntity

Defined in