예제 #1
0
파일: Materials.cs 프로젝트: Lixue9jiu/SCIE
 public MetalLine(Materials type)
 {
     Id = type.ToString() + "Line";
     DefaultTextureSlot = 212;
     DefaultDescription = (DefaultDisplayName = type.ToStr() + Utils.Get("Ë¿")) + "is made of " + type.ToStr() + " Ingot, it can be used in many place in the industrial era.";
     Color = MetalBlock.GetColor(type);
 }
예제 #2
0
파일: Materials.cs 프로젝트: Lixue9jiu/SCIE
        public Plate(Materials type) : this(type.ToString() + "Plate", MetalBlock.GetColor(type))
        {
            string name = type.ToStr();

            DefaultDisplayName = name + Utils.Get("°å");
            DefaultDescription = "A plate of pure " + name + ". Can be crafted into very durable and strong " + name + " items. Very important in the industrial era.";
        }
예제 #3
0
파일: Materials.cs 프로젝트: Lixue9jiu/SCIE
        public MetalIngot(Materials type)
        {
            Id = type.ToString() + "Ingot";
            string name = type.ToStr();

            DefaultDisplayName = name + Utils.Get("¶§");
            DefaultDescription = "An ingot of pure " + name + ". Can be crafted into very durable and strong " + name + " items. Very important in the industrial era.";
            m_standaloneBlockMesh.AppendMesh("Models/Ingots", "IronIngot", Matrix.CreateTranslation(0f, -0.1f, 0f), Matrix.Identity, MetalBlock.GetColor(type));
        }