3 override void CreateActionComponent()
21 override void CreateConditionComponents()
30 if (player.IsPlacingLocal())
36 Class.CastTo(bodyEAI, target.GetObject());
38 if (bodyEAI && !bodyEAI.IsAlive() && (bodyEAI.IsInherited(
DayZCreature) || bodyEAI.IsInherited(Man) || bodyEAI.IsInherited(
DeadChicken_ColorBase) ) && !bodyEAI.GetParent())
42 GetGame().SurfaceUnderObject(bodyEAI, surfaceType, liquidType);
44 if (
GetGame().IsSurfaceDigable(surfaceType))
55 if (!super.Can(player, target, item, condition_mask))
58 return player.CheckFreeSpace(
vector.Forward, 1.0,
false);
62 override void OnFinishProgressServer(
ActionData action_data)
64 Object targetObject = action_data.m_Target.GetObject();
65 g_Game.ObjectDelete(targetObject);
67 MiscGameplayFunctions.DealAbsoluteDmg(action_data.m_MainItem, 4);