Helper function prefix: Player_
This module handles the player's use of Prop_Tool
objects that they pick up, including maintaining an inventory list, deciding if a tool is equipped (shown in the player's hands) and whether tools can be used on particular entities or areas. In SOMA, this covers things like the Omnitool or scan chips.
The Player Tool module uses Prop_Tool
objects.
Called when the tool is picked up from in level by the player.
Called when the tool is used on another object
Called to check if the tool can currently be used
Called when the tools is dropped (Use returns false)
Hide when the tool is picked up.
Is the tool highlighted in level when you're nearby?
Which entity to use when held in the player's hands, equipped?
Text to show on the inventory screen
Icon to show on the inventory screen
Suffix to add to player hand animation names, for custom anims for this tool.
Will player be unable to jump / use terminals etc. when carrying this object?
Icon to show when the tool is held over another object.
Plays an animation on the currently displayed tool's entity.
Checks to see if the player has picked up a tool with this name.
The player holds up the tool in his hand if it's in the inventory.
The player puts away the tool in his hand.
The tool is removed from the player's inventory
All tools are removed from the player's inventory