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 | Gameplayer (talk | contribs)  No edit summary | ||
| Line 1: | Line 1: | ||
| {{ent not in fgd}} | {{ent not in fgd}} | ||
| {{this is a|point entity|name=item_grubnugget|game=Half-Life 2: Episode Two}} 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. | {{this is a|point entity|name=item_grubnugget|game=Half-Life 2: Episode Two}}   | ||
| {{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. | |||
| {{note|This entity inherits all keyvalues, inputs and outputs from [[CBaseAnimating]].}} | |||
| ==[[convar|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) | |||
| ==See also== | ==See also== | ||
| *[[Npc_antlion_grub]] | *[[Npc_antlion_grub]] | ||
Revision as of 02:17, 30 September 2024
item_grubnugget  is a   point 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)
