This article's documentation is for anything that uses the Source engine. Click here for more information.

Item sodacan: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{ent not in fgd}}
{{ent not in fgd}}{{tabs|item_sodacan|goldsrc=1|source=1|main=source}}
{{CD|CItemSoda|file1=effects.cpp}}
{{CD|CItemSoda|file1=effects.cpp}}
{{this is a|name=item_sodacan|e0|except=Strata}} It's a soda can that falls out of {{ent|env_beverage}}, healing 1 [[hit point]] when touched.
{{this is a|name=item_sodacan|e0|except=Strata}} It's a soda can that falls out of {{ent|env_beverage}}, healing 1 [[hit point]] when touched.

Revision as of 19:58, 15 May 2024

Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CItemSoda
CBaseAnimating
CBaseEntity
C++ effects.cpp

item_sodacan is an e0 available in all Source Source games except Strata Source Strata Source. It's a soda can that falls out of env_beverage, healing 1 hit point when touched.

Note.pngNote:This uses 🖿models/can.mdl by default.
In most games except Half-Life: Source Half-Life: Source, Half-Life Deathmatch: Source Half-Life Deathmatch: Source, and Jabroni Brawl: Episode 3 Jabroni Brawl: Episode 3, you will need to provide your own model as this one is not present.

See also

External links