Not A Bug Granite.cs

Ishya

Squire
Apr 2, 2015
120
17
8
35
Hello, I am reporting that the granite.cs file in the newest shard update is not complete. It is missing the plain granite part of the script. I was able to fix mine after looking in the old ServeUO Shard I had and taking it out of there.
 

Dexter_Lexia

Admin
ServUO Developer
Jul 3, 2014
4,102
199
63
43
USA
Shard Name
Heritage
Donate
Donate money to this user
It is not missing the plain granite, I'm looking at it right now.
 

Ishya

Squire
Apr 2, 2015
120
17
8
35
that is strange because in the one I script in mine did not have plain granite and I had to put the file from my older serveUO install maybe it was just on my end thank you for looking.
 

Dexter_Lexia

Admin
ServUO Developer
Jul 3, 2014
4,102
199
63
43
USA
Shard Name
Heritage
Donate
Donate money to this user
Its called Granite:

Code:
 public class Granite : BaseGranite
    {
        [Constructable]
        public Granite()
            : base(1)
        {
        }

        [Constructable]
        public Granite(int amount)
            : base(CraftResource.Iron)
        {
            if (Stackable)
                Amount = amount;
            else
                Amount = 1;
        }

        public Granite(Serial serial)
            : base(serial)
        {
        }

        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)0); // version
        }

        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();
        }
    }
 

Ishya

Squire
Apr 2, 2015
120
17
8
35
I know I was able to fix it on my end the only reason I noticed it was because where it was on the storage keys it had an unused tile. If it is not a bug good means no one else had the issue I did. :)