Equip action script

From The DarkMod Wiki
Revision as of 09:06, 1 November 2008 by Tels (talk | contribs) (add)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The equip_action_script spawnarg specifies a script that is run when the user holds the item in his hands and presses the Use/Equip key.

This is for instance used to make food edible, toggle the light on the oil lantern etc.

Example:

 "equip_action_script"       "eat_it"