Skip to content

AcresCrops.h#

Acres/Source/Acres/AcresCrops.h Generated

Name#

Name used in fields.json land_cover, menu overrides, actor tags and farm.json "crops".

inline const TCHAR* Name(int Kind) ;

FromName#

Kind for a crop name, or -1 if it is not a crop.

inline int FromName(const FString& Crop) ;

Cover#

Cover code of a crop kind.

inline uint8 Cover(int Kind) ;

IsFieldCover#

True for bare and cropped field cover (the cells whose crop the menu can change and that crust when bare).

inline bool IsFieldCover(uint8 Code) ;

PatchPrefix#

Prefix of the patch meshes, /Game/ACRE/Vegetation/Meshes/<prefix><variant>/... (variants 0-2).

inline FString PatchPrefix(int Kind) ;

PatchMeshPath#

Path of a crop patch mesh variant.

inline FString PatchMeshPath(int Kind, const FString& Variant) ;

HeadlandM#

Headland left unplanted around a generated field, m (vegetation.json: corn 1.8, soybean 1.3).

inline double HeadlandM(int Kind) ;