Class PlantEntity
Inheritance
System.Object
PlantEntity
Assembly: Eco.Gameplay.dll
Syntax
public class PlantEntity : Plant
Constructors
PlantEntity()
Declaration
PlantEntity(PlantSpecies, WorldPosition3i, PlantPack)
Declaration
public PlantEntity(PlantSpecies species, WorldPosition3i mapPos, PlantPack plantPack)
Parameters
Properties
SkillType
The skill this plant should give EXP to when harvested. Null if it doesn't return anything
Declaration
public Type SkillType { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
CalculateHarvestResources(Player)
Declaration
public List<ItemStack> CalculateHarvestResources(Player player)
Parameters
Type |
Name |
Description |
Player |
player |
|
Returns
Type |
Description |
System.Collections.Generic.List<ItemStack> |
|
CanHarvest(Player, Boolean)
Declaration
public virtual Result CanHarvest(Player player, bool picked)
Parameters
Type |
Name |
Description |
Player |
player |
|
System.Boolean |
picked |
|
Returns
CanScythe(Player)
Declaration
public Result CanScythe(Player player)
Parameters
Type |
Name |
Description |
Player |
player |
|
Returns
ProcessSoilUnderneeth()
Declaration
public void ProcessSoilUnderneeth()
TryHarvest(Player, Boolean, GameActionPack, InventoryChangeSet, Item)
Declaration
public virtual Result TryHarvest(Player player, bool picked, GameActionPack pack, InventoryChangeSet changeSet, Item tool)
Parameters
Returns
Extension Methods