protected override ItemSpec GetDefaultObject() { var spec = new ItemSpec(); spec.SetDescription("Shotgun Ammo"); spec.SetName("Slugs"); spec.SetCost(1); spec.SetImageName(Icons.ShotgunAmmo); spec.SetModelName(Models.AmmoCrate01); spec.SetStackMax(16); spec.SetAmmoType(AmmoType.ShotgunSlug); spec.SetDamageMin(2f); spec.SetDamageMax(3f); spec.SetDamageType(DamageTypeEnum.LowCaliberBullet); return(spec); }
protected override ItemSpec GetDefaultObject() { var spec = new ItemSpec(); spec.SetDescription("9×19mm Parabellum"); spec.SetName("9mm"); spec.SetCost(1); spec.SetImageName(Icons.GenericAmmo); spec.SetModelName(Models.AmmoCrate01); spec.SetStackMax(128); spec.SetAmmoType(AmmoType.Bullet9Mm); spec.SetDamageMin(4.0f); spec.SetDamageMax(5.0f); spec.SetDamageType(DamageTypeEnum.LowCaliberBullet); return(spec); }
protected override ItemSpec GetDefaultObject() { var ret = new ItemSpec(); ret.SetDescription("The mauling of a zombie"); ret.SetName("Grrg Arg"); ret.SetImageName(Icons.PistolM1911); ret.SetModelName(Models.Pistol01); ret.SetStackMax(1); ret.SetWeaponType(WeaponTypes.ZombieMaul); ret.SetWeaponNoiseDistance(2f); ret.SetDamageMin(10); ret.SetDamageMax(20); ret.SetDamageType(DamageTypeEnum.Maul); ret.SetMeleeRange(0.5f); ret.SetWeaponDelay(15); return(ret); }
protected override ItemSpec GetDefaultObject() { var ret = new ItemSpec(); ret.SetDescription("A solid blank of wood usually used for hitting balls\nWill probably work quite well on zombies at close range"); ret.SetName("Cricket bat"); ret.SetImageName(Icons.CricketBat01); ret.SetModelName(Models.CricketBat01); ret.SetStackMax(1); ret.SetWeaponType(WeaponTypes.CricketBat); ret.SetWeaponNoiseDistance(1f); ret.SetDamageMin(10); ret.SetDamageMax(20); ret.SetDamageType(DamageTypeEnum.BluntMelee); ret.SetMeleeRange(1.3f); ret.SetWeaponDelay(50); ret.SetCost(10); return(ret); }