Class EntityBehaviorRipHarvestable
- Namespace
- Vintagestory.GameContent
- Assembly
- VSSurvivalMod.dll
Allows an entity to be harvested by attacking it with weapon that has "ripHarvest" attribute. Requires EntityBehaviorHarvestable. This class has no further properties.
Uses the "ripharvestable" code Open in GitHub
[DocumentAsJson]
[AddDocumentationProperty("RipHarvest", "Use on a collectible type. If true and the collectible is used to attack a dead entity with this behavior, the entity will be harvested.", "System.Boolean", "Optional", "False", true)]
public class EntityBehaviorRipHarvestable : EntityBehavior
- Inheritance
-
EntityBehaviorRipHarvestable
Properties
RipHarvest (Optional) (Default: False)
Use on a collectible type. If true and the collectible is used to attack a dead entity with this behavior, the entity will be harvested.