186 ASSERT(!
"Something is wrong here... Maybe they are pickaxes out of a new material?");
virtual bool CanHarvestBlock(BLOCKTYPE a_BlockType)
Returns whether this tool / item can harvest a specific block (e.g.
unsigned char BLOCKTYPE
The datatype used by blockdata.
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block)
Returns the strength to break a specific block.
bool IsBlockMaterialRock(BLOCKTYPE a_BlockType)
virtual bool CanRepairWithRawMaterial(short a_ItemType) override
Can the anvil repair this item, when a_Item is the second input?
virtual short GetDurabilityLossByAction(eDurabilityLostAction a_Action) override
Get the durability lost which the item will get, when a specified action was performed.
virtual bool CanHarvestBlock(BLOCKTYPE a_BlockType) override
Returns whether this tool / item can harvest a specific block (e.g.
cItemPickaxeHandler(int a_ItemType)
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) override
Returns the strength to break a specific block.
bool IsBlockMaterialIron(BLOCKTYPE a_BlockType)
bool IsBlockMaterialAnvil(BLOCKTYPE a_BlockType)
eDurabilityLostAction
Actions that may cause durability of an item may be lost, where the magnitude of the loss depends on ...
#define UNREACHABLE(x)
Use to mark code that should be impossible to reach.