Item ammo crossbow: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 17: Line 17:


==Outputs==
==Outputs==
* {{o item}}
* {{O Item}}


[[Category:Entities]] [[Category:Items]]
[[Category:Entities]] [[Category:Items]]

Revision as of 20:05, 19 January 2009

Template:Wrongtitle

Entity Description

A bundle of quarrels.

A taped bundle of quarrels, used as ammunition for the crossbow.

Despite its model, the amount of quarrels the bundle will contain depends on the current difficulty setting:

  • At the "Easy" (skill 1) setting the bundle will provide 7 quarrels.
  • At the "Normal" (skill 2) setting the bundle will provide 6 quarrels.
  • At the "Hard" (skill 3) setting the bundle will provide 3 quarrels.

Keyvalues

  • Item:

Inputs

  • Item:

Outputs

  • Item:
OnPlayerTouch
Fires when the player touches this item. !activator is the player.
OnCacheInteraction
This output fires when the player proves they have "found" this item.
Fires on:
  • Player Touch (whether or not player actually acquires the item).
  • Picked up by +use.
  • Picked up by gravity gun.
  • Punted by gravity gun.