Exemplo n.º 1
0
        protected override ItemSpec GetDefaultObject()
        {
            var spec = new ItemSpec();

            spec.SetDescription("Wooden plank - used for building");
            spec.SetName("Wooden plank");
            spec.SetCost(10);
            spec.SetImageName(Icons.WoodenPlank01);
            spec.SetModelName(Models.WoodenPlank01);
            spec.SetResourceAmount(1);
            spec.SetResourceType(ResourceType.Wood);
            spec.SetStackMax(64);

            return(spec);
        }