Skip to main content

env_beverage

env_beverage icon
Point entity

An env_beverage drops a soda can each time you trigger it, like a vending machine. You can't see the entity itself, and a player who picks up the can gets 1 health.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Nametargetname

Triggering the entity drops a can. See Common keys.

Capacityhealth

Sets how many cans it drops in all, and once they are used up, triggering it does nothing.

If you leave this key empty or set 0, it holds 10 cans.

Default 10
Beverage Typeskin

Picks the look of the cans.

  • Hai! (0) - A green can
  • Glub (1) - A brown can
  • Grope (2) - A purple can
  • Outhrie (3) - A blue can
  • Yuck (4) - A green and brown can
  • Dante (5) - A can with flames
  • Random (6) - Each can gets one of the other looks, picked at random
Default Hai! (0)

Notes​

  • It drops no new can while the last can is still there, so the next trigger works only after a player picks up the can
  • The can falls from the entity's position, and players can pick it up half a second after it drops

See also​