Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #3
0
        protected override ItemSpec GetDefaultObject()
        {
            var ret = new ItemSpec();

            ret.SetDescription("Spray happy");
            ret.SetName("Uzi");
            ret.SetImageName(Icons.PistolM1911);
            ret.SetModelName(Models.Pistol01);
            ret.SetStackMax(1);
            ret.SetAmmoType(AmmoType.Bullet9Mm);
            ret.SetWeaponType(WeaponTypes.Uzi);
            ret.SetReloadClipSize(-1);
            ret.SetStartReloadTime(500);
            ret.SetReloadTime(2500);
            ret.SetStopReloadTime(1);
            ret.SetClipSize(28);
            ret.SetWeaponNoiseDistance(50f);
            ret.SetCost(10);
            ret.SetWeaponDelay(3);

            return(ret);
        }