public void ProximityMineDataDamage(coProximityMineData datablock, coProximityMine shapebase, TransformF position, coShapeBase source, string amount, string damageType)
     {
     // Explode if any damage is applied to the mine
     int r = 50 + (new Random().Next(0, 50));
     shapebase.schedule(r.AsString(), "explode");
     }
 public void ProximityMineDataOnExplode(coProximityMineData datablock, coProximityMine shapebase, Point3F position)
     {
     // Damage objects within the mine's damage radius
     if (datablock["damageRadius"].AsFloat() > 0)
         RadiusDamage(shapebase, position, datablock["damageRadius"].AsFloat(), datablock["radiusDamage"].AsFloat(), datablock["damageType"], datablock["areaImpulse"].AsFloat());
     }
 public void ProximityMineDataOnTriggered(coProximityMineData datablock, coProximityMine obj, string target)
     {
     }
 public void ProxMineImageOnFire(coProximityMineData image, coPlayer player, int slot)
     {
     ShapeBaseShapeBaseThrow(player, image["item"]);
     }
 public void ProxMineImageOnUnmount(coProximityMineData thisobj, coPlayer player, int slot)
     {
     GameConnectionRefreshWeaponHud(player["client"], 0, "", "", "", 0);
     }
        public void ProxMineImageOnMount(coProximityMineData thisobj, coPlayer player, int slot)
            {
            player.setImageAmmo(slot, true);
            int numofmines = ShapeBaseShapeBaseGetInventory(player, (thisobj["item"]));

            string previewImage = thisobj["item.previewImage"];
            string reticle = thisobj["item.reticle"];
            string zoomReticle = thisobj["item.zoomReticle"];

            GameConnectionRefreshWeaponHud(player["client"], 1, previewImage, reticle, zoomReticle, numofmines);
            }