Item grubnugget: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Note:This entity inherits all keyvalues, inputs and outputs from CBaseAnimating.
Note:This entity inherits all keyvalues, inputs and outputs from CBaseAnimating.
		
	
| Gameplayer (talk | contribs) No edit summary | m (Classifying as model entity) | ||
| Line 1: | Line 1: | ||
| {{ent not in fgd}} | {{ent not in fgd}} | ||
| {{this is a| | {{this is a|model entity|name=item_grubnugget|game=Half-Life 2: Episode Two}}   | ||
| {{CD|CGrubNugget|file1=1}} | {{CD|CGrubNugget|file1=1}} | ||
| It's a small yellow chunk that falls out of [[npc_antlion_grub|antlion grubs]] when they get squashed. When player is not on full health, it heals the player by 1 health point when they come close to it. If player has full health, player can pick it up and throw it just like a [[prop_physics|physics object]] but it's fragile and will break easily. | It's a small yellow chunk that falls out of [[npc_antlion_grub|antlion grubs]] when they get squashed. When player is not on full health, it heals the player by 1 health point when they come close to it. If player has full health, player can pick it up and throw it just like a [[prop_physics|physics object]] but it's fragile and will break easily. | ||
Latest revision as of 04:32, 19 May 2025
item_grubnugget  is a   model entity  available in  Half-Life 2: Episode Two.
 Half-Life 2: Episode Two. 
|  Class hierarchy | 
|---|
| CGrubNugget | 
|  npc_antliongrub.cpp | 
It's a small yellow chunk that falls out of antlion grubs when they get squashed. When player is not on full health, it heals the player by 1 health point when they come close to it. If player has full health, player can pick it up and throw it just like a physics object but it's fragile and will break easily.
 Note:This entity inherits all keyvalues, inputs and outputs from CBaseAnimating.
Note:This entity inherits all keyvalues, inputs and outputs from CBaseAnimating.Console variables
- sk_grubnugget_health_small <int>
- Health restored by the health-nugget (Default: 1)
- sk_grubnugget_health_medium <int>
- Default: 4
- sk_grubnugget_health_large <int>
- Default: 6
- sk_grubnugget_enabled <int>
- Whether the grub should drop a health-nugget or not. (Default: 1)
