Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
woodbase.c File Reference

Go to the source code of this file.

Enumerations

enum  EHarvestType { NORMAL, BARK }
 

Functions

void WoodBase ()
 
void InitMiningValues ()
 
override bool IsWoodBase ()
 
override bool IsCuttable ()
 
int GetPrimaryDropsAmount ()
 
int GetSecondaryDropsAmount ()
 
float GetToolDamage ()
 
float GetCycleTimeOverride ()
 
string GetPrimaryOutput ()
 
string GetSecondaryOutput ()
 
string GetBarkType ()
 
int GetAmountOfDrops (ItemBase item)
 
int GetAmountOfDropsEx (ItemBase item, EHarvestType type)
 
void GetMaterialAndQuantityMap (ItemBase item, out map< string, int > output_map)
 
void GetMaterialAndQuantityMapEx (ItemBase item, out map< string, int > output_map, EHarvestType type)
 
float GetDamageToMiningItemEachDrop (ItemBase item)
 
float GetDamageToMiningItemEachDropEx (ItemBase item, EHarvestType type)
 
override bool CanBeActionTarget ()
 

Variables

enum EHarvestType m_IsCuttable
 

Enumeration Type Documentation

◆ EHarvestType

Enumerator
NORMAL 
BARK 

Definition at line 1 of file woodbase.c.

Function Documentation

◆ CanBeActionTarget()

override bool CanBeActionTarget ( )

Definition at line 246 of file woodbase.c.

◆ GetAmountOfDrops()

int GetAmountOfDrops ( ItemBase  item)

Definition at line 88 of file woodbase.c.

◆ GetAmountOfDropsEx()

int GetAmountOfDropsEx ( ItemBase  item,
EHarvestType  type 
)

Definition at line 118 of file woodbase.c.

◆ GetBarkType()

string GetBarkType ( )

Definition at line 81 of file woodbase.c.

◆ GetCycleTimeOverride()

float GetCycleTimeOverride ( )

Definition at line 66 of file woodbase.c.

◆ GetDamageToMiningItemEachDrop()

float GetDamageToMiningItemEachDrop ( ItemBase  item)

Definition at line 172 of file woodbase.c.

◆ GetDamageToMiningItemEachDropEx()

float GetDamageToMiningItemEachDropEx ( ItemBase  item,
EHarvestType  type 
)

Definition at line 209 of file woodbase.c.

◆ GetMaterialAndQuantityMap()

void GetMaterialAndQuantityMap ( ItemBase  item,
out map< string, int output_map 
)

Definition at line 148 of file woodbase.c.

◆ GetMaterialAndQuantityMapEx()

void GetMaterialAndQuantityMapEx ( ItemBase  item,
out map< string, int output_map,
EHarvestType  type 
)

Definition at line 160 of file woodbase.c.

◆ GetPrimaryDropsAmount()

int GetPrimaryDropsAmount ( )

Definition at line 51 of file woodbase.c.

◆ GetPrimaryOutput()

string GetPrimaryOutput ( )

Definition at line 71 of file woodbase.c.

◆ GetSecondaryDropsAmount()

int GetSecondaryDropsAmount ( )

Definition at line 56 of file woodbase.c.

◆ GetSecondaryOutput()

string GetSecondaryOutput ( )

Definition at line 76 of file woodbase.c.

◆ GetToolDamage()

float GetToolDamage ( )

Definition at line 61 of file woodbase.c.

◆ InitMiningValues()

void InitMiningValues ( )

Definition at line 36 of file woodbase.c.

◆ IsCuttable()

override bool IsCuttable ( )

Definition at line 46 of file woodbase.c.

◆ IsWoodBase()

override bool IsWoodBase ( )

Definition at line 41 of file woodbase.c.

◆ WoodBase()

void WoodBase ( )

Definition at line 30 of file woodbase.c.

Variable Documentation

◆ m_IsCuttable

enum EHarvestType m_IsCuttable