46 float dmg =
item.GetHealth01(
"",
"");
51 paper.SetHealth01(
"",
"",
dmg - 0.25);
54 for (
int i =
cargo.GetItemCount() - 1;
i >= 0 ;
i--)
61 if (
GetGame().IsDedicatedServer())
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
const int ECE_PLACE_ON_SURFACE
ref CABase m_ActionComponent
override void CreateActionComponent()
override bool HasTarget()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void CreateConditionComponents()
override void OnFinishProgressServer(ActionData action_data)
represents base for cargo storage for entities
script counterpart to engine's class Inventory
static bool SetGroundPosByOwner(EntityAI owner, notnull EntityAI item, out InventoryLocation ground)
DayZPlayerConstants
defined in C++
proto native CGame GetGame()