Defines the Special Breen's Water drink item, which restores full stamina and 8 health, boosts agility by 3 for two minutes, leaves an empty soda can and hides its Drink option from Combine players.

Summary

Methods

Lets the item be dropped; nothing else happens.
Removes the Drink option from the item's menu when the local player is Combine.
Restores full stamina and 8 health, boosts agility by 3 for two minutes and gives back an empty soda can.

Methods

Lets the item be dropped; nothing else happens.

Parameters

  • player
  • position

ITEM:OnEditFunctions(functions)

shared gamemodes/cwhl2rp/schema/items/sh_special_breens_water.lua:31

Removes the Drink option from the item's menu when the local player is Combine.

Parameters

  • functions

Restores full stamina and 8 health, boosts agility by 3 for two minutes and gives back an empty soda can.

Parameters

  • player
  • itemEntity

Defined in