Beispiel #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);
        }
Beispiel #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);
        }