22 super.EEItemLocationChanged(oldLoc,newLoc);
24 string hookType = ConfigGetString(
"hookType");
25 if (
GetGame().IsDedicatedServer() && hookType !=
string.
Empty)
30 spawnPos = newLoc.GetPos();
32 spawnPos = newLoc.GetParent().GetHierarchyRoot().GetPosition();
35 EntityAI worm = newItem.GetInventory().CreateAttachment(
"Worm");
36 MiscGameplayFunctions.TransferItemProperties(
this,newItem);
37 MiscGameplayFunctions.TransferItemProperties(
this,worm);