48 return ConfigGetBool(
"isCuttable");
53 return ConfigGetInt(
"primaryDropsAmount");
58 return ConfigGetInt(
"secondaryDropsAmount");
63 return ConfigGetFloat(
"toolDamage");
68 return ConfigGetFloat(
"cycleTimeOverride");
73 return ConfigGetString(
"primaryOutput");
78 return ConfigGetString(
"secondaryOutput");
83 return ConfigGetString(
"barkType");
91 if (IsTree() &&
item && (
item.KindOf(
"Knife") ||
item.IsInherited(Screwdriver)))
98 if (
item && (
item.KindOf(
"Knife") ||
item.IsInherited(Screwdriver)))
100 else if (
item &&
item.KindOf(
"Axe"))
152 else if (
item &&
item.KindOf(
"Axe"))
161 else if (
item &&
item.KindOf(
"Axe"))
bool IsDamageDestroyed(ActionTarget target)
static int m_SecondaryDropsAmount
static string m_SecondaryOutput
string GetSecondaryOutput()
float GetDamageToMiningItemEachDrop(ItemBase item)
int GetAmountOfDropsEx(ItemBase item, EHarvestType type)
void GetMaterialAndQuantityMapEx(ItemBase item, out map< string, int > output_map, EHarvestType type)
override bool IsCuttable()
void GetMaterialAndQuantityMap(ItemBase item, out map< string, int > output_map)
static int m_PrimaryDropsAmount
float GetDamageToMiningItemEachDropEx(ItemBase item, EHarvestType type)
static float m_ToolDamage
string GetPrimaryOutput()
override bool IsWoodBase()
int GetPrimaryDropsAmount()
enum EHarvestType m_IsCuttable
override bool CanBeActionTarget()
static float m_CycleTimeOverride
static string m_PrimaryOutput
int GetSecondaryDropsAmount()
float GetCycleTimeOverride()
int GetAmountOfDrops(ItemBase item)