//SPRITE_TYPE_MERCHANT_SELL_MOST_USED_WEAPON;
placeOnGround = true;
useInstancedMesh = false;
canBeDamaged = false;
flammable = true;
immuneToAcid = true;

anim.m_clamp = false;
anim.m_animationSpeed = 2.0;
anim.m_frameAmount = 4;
anim.m_frameOffset = 0;
animations.Push(anim);
anim.m_clamp = true;
anim.m_animationSpeed = 2.0;
anim.m_frameAmount = 4;
anim.m_frameOffset = 4;
animations.Push(anim);
anim.m_clamp = true;
anim.m_animationSpeed = 2.0;
anim.m_frameAmount = 4;
anim.m_frameOffset = 8;
animations.Push(anim);
anim.m_clamp = false;
anim.m_animationSpeed = 2.0;
anim.m_frameAmount = 4;
anim.m_frameOffset = 12;
animations.Push(anim);

Init(vector(1.0,2.0,2.0), 1439, 3, 2, 2, 2);

life = 40;

ai.AddNode(256, -1.0, -1.0, 3, 1.5 * cubeSize, 0.5, -1.0);
ai.AddNode(103, -1.0, -1.0, 0);
ai.AddNode(232, 2.0, -1.0, 0);
ai.AddNode(56, -1.0, -1.0, 8, 1.0, 0.0, 630.0, 1.0, 1.0, 1.0, 1.0, -1.0);
ai.AddActivateNode(253, -1.0, 0.0, 0);
ai.AddDeathNode(56, 8, 0.0, 0.0, 258.0, 1.0, 1.0, 0.9, 1.1, -1.0);

capsule.SetCollisionResponseToChannel(2, 0);
capsule.SetCollisionResponseToChannel(14, 0);

partStruct.m_managed = false;
partStruct.m_removeIfTargetBleeds = false;
partStruct.m_normalOffset = 0.0;
partStruct.m_offset = vector(0.0,0.0,0.0);
partStruct.m_rotate = false;
partStruct.m_type = 128;
partStruct.m_useActorCoordinates = true;
killParticles.Push(partStruct);
partStruct.m_managed = false;
partStruct.m_rotate = true;
partStruct.m_type = 1;
partStruct.m_useActorCoordinates = false;
bleedParticles.Push(partStruct);