77 ErrorEx(
"Cannot get entity=" + targetEntity);
82 if (!targetEntity.GetInventory().GetCurrentInventoryLocation(target_IL))
84 ErrorEx(
"Cannot get inventory location of entity=" + targetEntity);
89 UndergroundStash stash;
90 if (
Class.CastTo(stash, targetEntity))
92 ItemBase stashedItem = stash.GetStashedItem();
96 action_data.m_Player.ServerReplaceItemWithNew(lambda);
99 g_Game.ObjectDelete(stash);
103 MiscGameplayFunctions.DealEvinronmentAdjustedDmg(action_data.m_MainItem, action_data.m_Player, 10);
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)