Exemple #1
0
        protected override ItemSpec GetDefaultObject()
        {
            var ret = new ItemSpec();

            ret.SetDescription("Something for the pain\nRight click to use");
            ret.SetName("Health pack");
            ret.SetCost(5);
            ret.SetImageName(Icons.FirstAidKit);
            ret.SetModelName(Models.HealthPack01);

            ret.SetHealAmount(50);
            ret.SetStackMax(5);
            ret.SetBaseUsageTime(3000);

            return(ret);
        }