Not A Bug Granite.cs

Ishya

Well-Known Member
Apr 2, 2015
108
15
34
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

Moderator
ServUO Developer
Jul 3, 2014
3,854
164
42
Shard Name
Alexandria
Donate
Donate money to this user
It is not missing the plain granite, I'm looking at it right now.
 

Ishya

Well-Known Member
Apr 2, 2015
108
15
34
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

Moderator
ServUO Developer
Jul 3, 2014
3,854
164
42
Shard Name
Alexandria
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

Well-Known Member
Apr 2, 2015
108
15
34
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. :)