Defines the Tea drink item, which heals 5 health and boosts endurance and strength by 1 for two minutes.

Summary

Methods

Lets the item be dropped; nothing else happens.
Heals 5 health and boosts endurance and strength by 1 for two minutes.

Methods

ITEM:OnDrop(player, position)

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

Lets the item be dropped; nothing else happens.

Parameters

  • player
  • position

ITEM:OnUse(player, itemEntity)

shared gamemodes/cwhl2rp/schema/items/sh_tea.lua:16

Heals 5 health and boosts endurance and strength by 1 for two minutes.

Parameters

  • player
  • itemEntity

Defined in