Large Soda item
Item defined in items/sh_large_soda.lua
Defines the Large Soda drink item, which refills stamina, heals 10 health, boosts agility by 5 for two minutes, leaves an empty plastic bottle and hides its Drink option from Combine players.
Summary
Methods
OnDrop(player, position)shared
Lets the item be dropped; nothing else happens.
Removes the Drink option from the item's menu when the local player is Combine.
Sets stamina to 100, heals 10 health, boosts agility by 5 for two minutes and gives back an empty plastic bottle.
Methods
Lets the item be dropped; nothing else happens.
Parameters
- player
- position
Removes the Drink option from the item's menu when the local player is Combine.
Parameters
- functions
Sets stamina to 100, heals 10 health, boosts agility by 5 for two minutes and gives back an empty plastic bottle.
Parameters
- player
- itemEntity