AHuman:EquipDiggingTool

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxEquipDiggingTool( * Whether to actually equip any mathcing item found in the inventory, or jsut report that it's there or not. )
Description:
Switches the currently held device (if any) to the first found digging tool in the inventory. If the held device already is a digging tool, or no digging tool is in inventory, nothing happens.
ReturnsWhether a digging tool was successfully switched to.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools