Equip action script

From The DarkMod Wiki
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"