Fixes lots more spelling errors (#5)

* Renames constructable to constructible
* Fixes project references.
* Fixes BaseEquippableLight file name
* Replaces payed with paid.
* Fixes various other spelling errors
This commit is contained in:
Kamron Batman 2018-02-20 16:01:41 -08:00 • committed by GitHub
parent ca4e99c179
commit 20ae1b3989
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2195 changed files with 4617 additions and 4617 deletions

View file

@ -5,15 +5,15 @@ using Server.Network;
namespace Server.Items
{
[Furniture]
[Flipable( 0x232A, 0x232B )]
[Flippable( 0x232A, 0x232B )]
public class GiftBox : BaseContainer
{
[Constructable]
[Constructible]
public GiftBox() : this( Utility.RandomDyedHue() )
{
}
[Constructable]
[Constructible]
public GiftBox( int hue ) : base( Utility.Random( 0x232A, 2 ) )
{
Weight = 2.0;

View file

@ -39,7 +39,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1077394; } } //a Gingerbread House Deed
public override BaseAddon Addon{ get{ return new GingerBreadHouseAddon(); } }
[Constructable]
[Constructible]
public GingerBreadHouseDeed()
{
Weight = 1.0;

View file

@ -52,13 +52,13 @@ namespace Server.Items
private string m_Maker;
private int m_SoundID;
[Constructable]
[Constructible]
public HolidayBell()
: this(m_StaffNames[Utility.Random(m_StaffNames.Length)])
{
}
[Constructable]
[Constructible]
public HolidayBell(string maker)
: base(0x1C12)
{

View file

@ -94,7 +94,7 @@ namespace Server.Items
EnsureTimer( from ).Eaten = value;
}
[Constructable]
[Constructible]
public CandyCane()
: this( 0x2bdd + Utility.Random( 4 ) )
{
@ -147,7 +147,7 @@ namespace Server.Items
1077409 // Run, run as fast as you can! You can't catch me! I'm the gingerbread man!
};
[Constructable]
[Constructible]
public GingerBreadCookie()
: base( Utility.RandomBool() ? 0x2be1 : 0x2be2 )
{

View file

@ -43,12 +43,12 @@ namespace Server.Items
};
}
[FlipableAttribute(0x46A5, 0x46A6)]
[FlippableAttribute(0x46A5, 0x46A6)]
public class GiftBoxRectangle : BaseContainer
{
public override int DefaultGumpID { get { return 0x11E; } }
[Constructable]
[Constructible]
public GiftBoxRectangle()
: base(Utility.RandomBool() ? 0x46A5 : 0x46A6)
{
@ -77,7 +77,7 @@ namespace Server.Items
{
public override int DefaultGumpID { get { return 0x11B; } }
[Constructable]
[Constructible]
public GiftBoxCube()
: base(0x46A2)
{
@ -106,7 +106,7 @@ namespace Server.Items
{
public override int DefaultGumpID { get { return 0x11C; } }
[Constructable]
[Constructible]
public GiftBoxCylinder()
: base(0x46A3)
{
@ -135,7 +135,7 @@ namespace Server.Items
{
public override int DefaultGumpID { get { return 0x11D; } }
[Constructable]
[Constructible]
public GiftBoxOctogon()
: base(0x46A4)
{
@ -164,7 +164,7 @@ namespace Server.Items
{
public override int DefaultGumpID { get { return 0x11F; } }
[Constructable]
[Constructible]
public GiftBoxAngel()
: base(0x46A7)
{
@ -189,10 +189,10 @@ namespace Server.Items
}
}
[Flipable(0x232A, 0x232B)]
[Flippable(0x232A, 0x232B)]
public class GiftBoxNeon : BaseContainer
{
[Constructable]
[Constructible]
public GiftBoxNeon()
: base(Utility.RandomBool() ? 0x232A : 0x232B)
{

View file

@ -9,13 +9,13 @@ namespace Server.Items
{
public override bool ForceShowProperties { get { return ObjectPropertyList.Enabled; } }
[Constructable]
[Constructible]
public HolidayPottedPlant()
: this( Utility.RandomMinMax( 0x11C8, 0x11CC ) )
{
}
[Constructable]
[Constructible]
public HolidayPottedPlant( int itemID )
: base( itemID )
{
@ -46,7 +46,7 @@ namespace Server.Items
public override int LabelNumber { get { return 1041114; } } // A deed for a potted plant.
public override double DefaultWeight { get { return 1.0; } }
[Constructable]
[Constructible]
public PottedPlantDeed()
: base( 0x14F0 )
{

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber { get { return 1041113; } } // a holiday timepiece
public override double DefaultWeight { get { return 1.0; } }
[Constructable]
[Constructible]
public HolidayTimepiece()
: base( 0x1086 )
{

View file

@ -4,7 +4,7 @@ namespace Server.Items
{
public class IcicleLargeSouth : Item
{
[Constructable]
[Constructible]
public IcicleLargeSouth()
: base(0x4572)
{
@ -31,7 +31,7 @@ namespace Server.Items
}
public class IcicleMedSouth : Item
{
[Constructable]
[Constructible]
public IcicleMedSouth ()
: base(0x4573)
{
@ -58,7 +58,7 @@ namespace Server.Items
}
public class IcicleSmallSouth : Item
{
[Constructable]
[Constructible]
public IcicleSmallSouth ()
: base(0x4574)
{
@ -85,7 +85,7 @@ namespace Server.Items
}
public class IcicleLargeEast : Item
{
[Constructable]
[Constructible]
public IcicleLargeEast ()
: base(0x4575)
{
@ -112,7 +112,7 @@ namespace Server.Items
}
public class IcicleMedEast : Item
{
[Constructable]
[Constructible]
public IcicleMedEast ()
: base(0x4576)
{
@ -139,7 +139,7 @@ namespace Server.Items
}
public class IcicleSmallEast : Item
{
[Constructable]
[Constructible]
public IcicleSmallEast ()
: base(0x4577)
{

View file

@ -11,7 +11,7 @@ namespace Server.Items
/* On OSI, the iceypatch with itemid 0x122a is "rarer", so we will give it 1:10 chance of creating it that way */
[Constructable]
[Constructible]
public IcyPatch()
: this((Utility.Random(10) == 0) ? 0x122A : 0x122F)
{

View file

@ -9,7 +9,7 @@ namespace Server.Items
{
public override string DefaultName{ get { return "Coal"; }}
[Constructable]
[Constructible]
public Coal() : base( 0x19b9 )
{
Stackable = false;
@ -38,7 +38,7 @@ namespace Server.Items
{
public override int LabelNumber{ get { return 1041428; }} // Maybe next year youll get a better...
[Constructable]
[Constructible]
public BadCard() : base( 0x14ef )
{
int[] m_CardHues=new int[]{ 0x45, 0x27, 0x3d0 };
@ -67,7 +67,7 @@ namespace Server.Items
public class Spam : Food
{
[Constructable]
[Constructible]
public Spam() : base( 0x1044 )
{
Stackable = false;

View file

@ -6,7 +6,7 @@ namespace Server.Items
{
public class RedPoinsettia : Item
{
[Constructable]
[Constructible]
public RedPoinsettia() : base( 0x2330 )
{
Weight = 1.0;
@ -34,7 +34,7 @@ namespace Server.Items
public class WhitePoinsettia : Item
{
[Constructable]
[Constructible]
public WhitePoinsettia() : base( 0x2331 )
{
Weight = 1.0;

View file

@ -70,13 +70,13 @@ namespace Server.Items
public override int LabelNumber { get { return 1041454 + (int) m_Type; } }
[Constructable]
[Constructible]
public SnowGlobeOne()
: this( (SnowGlobeTypeOne) Utility.Random( 19 ) )
{
}
[Constructable]
[Constructible]
public SnowGlobeOne( SnowGlobeTypeOne type )
{
m_Type = type;
@ -183,13 +183,13 @@ namespace Server.Items
}
}
[Constructable]
[Constructible]
public SnowGlobeTwo()
: this( (SnowGlobeTypeTwo) Utility.Random( 19 ) )
{
}
[Constructable]
[Constructible]
public SnowGlobeTwo( SnowGlobeTypeTwo type )
{
m_Type = type;
@ -267,13 +267,13 @@ namespace Server.Items
}
}
[Constructable]
[Constructible]
public SnowGlobeThree()
: this( (SnowGlobeTypeThree) Utility.Random( 16 ) )
{
}
[Constructable]
[Constructible]
public SnowGlobeThree( SnowGlobeTypeThree type )
{
m_Type = type;

View file

@ -7,13 +7,13 @@
private static readonly int[] m_Types = new int[] { 0x8E2, 0x8E0, 0x8E6, 0x8E5, 0x8E3 };
[Constructable]
[Constructible]
public SnowPileDeco()
: this(m_Types[Utility.Random(m_Types.Length)])
{
}
[Constructable]
[Constructible]
public SnowPileDeco( int itemid )
: base(itemid)
{

View file

@ -5,12 +5,12 @@ using Server.Network;
namespace Server.Items
{
[Flipable( 0x456E, 0x456F )]
[Flippable( 0x456E, 0x456F )]
public class SnowStatuePegasus : Item
{
public override bool ForceShowProperties { get { return ObjectPropertyList.Enabled; } }
[Constructable]
[Constructible]
public SnowStatuePegasus()
: base( 0x456E )
{
@ -36,12 +36,12 @@ namespace Server.Items
}
}
[Flipable( 0x4578, 0x4579 )]
[Flippable( 0x4578, 0x4579 )]
public class SnowStatueSeahorse : Item
{
public override bool ForceShowProperties { get { return ObjectPropertyList.Enabled; } }
[Constructable]
[Constructible]
public SnowStatueSeahorse()
: base( 0x4578 )
{
@ -67,12 +67,12 @@ namespace Server.Items
}
}
[Flipable( 0x457A, 0x457B )]
[Flippable( 0x457A, 0x457B )]
public class SnowStatueMermaid : Item
{
public override bool ForceShowProperties { get { return ObjectPropertyList.Enabled; } }
[Constructable]
[Constructible]
public SnowStatueMermaid()
: base( 0x457A )
{
@ -98,12 +98,12 @@ namespace Server.Items
}
}
[Flipable( 0x457C, 0x457D )]
[Flippable( 0x457C, 0x457D )]
public class SnowStatueGriffon : Item
{
public override bool ForceShowProperties { get { return ObjectPropertyList.Enabled; } }
[Constructable]
[Constructible]
public SnowStatueGriffon()
: base( 0x457C )
{
@ -134,7 +134,7 @@ namespace Server.Items
public override int LabelNumber { get { return 1114296; } } // snow statue deed
public override double DefaultWeight { get { return 1.0; } }
[Constructable]
[Constructible]
public SnowStatueDeed()
: base( 0x14F0 )
{

View file

@ -6,7 +6,7 @@ namespace Server.Items
{
public class BlueSnowflake : Item
{
[Constructable]
[Constructible]
public BlueSnowflake() : base( 0x232E )
{
Weight = 1.0;
@ -34,7 +34,7 @@ namespace Server.Items
public class WhiteSnowflake : Item
{
[Constructable]
[Constructible]
public WhiteSnowflake() : base( 0x232F )
{
Weight = 1.0;

View file

@ -4,7 +4,7 @@ using Server.Network;
namespace Server.Items
{
[Flipable( 0x2328, 0x2329 )]
[Flippable( 0x2328, 0x2329 )]
public class Snowman : Item, IDyable
{
public static string GetRandomTitle()
@ -82,22 +82,22 @@ namespace Server.Items
set{ m_Title = value; InvalidateProperties(); }
}
[Constructable]
[Constructible]
public Snowman() : this( Utility.RandomDyedHue(), GetRandomTitle() )
{
}
[Constructable]
[Constructible]
public Snowman( int hue ) : this( hue, GetRandomTitle() )
{
}
[Constructable]
[Constructible]
public Snowman( string title ) : this( Utility.RandomDyedHue(), title )
{
}
[Constructable]
[Constructible]
public Snowman( int hue, string title ) : base( Utility.Random( 0x2328, 2 ) )
{
Weight = 10.0;

View file

@ -4,13 +4,13 @@ using Server;
namespace Server.Items
{
[Furniture]
[FlipableAttribute( 0x2bd9, 0x2bda )]
[FlippableAttribute( 0x2bd9, 0x2bda )]
public class GreenStocking : BaseContainer
{
public override int DefaultGumpID{ get{ return 0x103; } }
public override int DefaultDropSound{ get{ return 0x42; } }
[Constructable]
[Constructible]
public GreenStocking() : base ( Utility.Random( 0x2BD9, 2 ) )
{
}
@ -33,13 +33,13 @@ namespace Server.Items
}
[Furniture]
[FlipableAttribute( 0x2bdb, 0x2bdc )]
[FlippableAttribute( 0x2bdb, 0x2bdc )]
public class RedStocking : BaseContainer
{
public override int DefaultGumpID{ get{ return 0x103; } }
public override int DefaultDropSound{ get{ return 0x42; } }
[Constructable]
[Constructible]
public RedStocking() : base ( Utility.Random( 0x2BDB, 2 ) )
{
}

View file

@ -4,10 +4,10 @@ using Server.Network;
namespace Server.Items
{
[Flipable( 0x232A, 0x232B )]
[Flippable( 0x232A, 0x232B )]
public class WinterGiftPackage2003 : GiftBox
{
[Constructable]
[Constructible]
public WinterGiftPackage2003()
{
DropItem( new Snowman() );

View file

@ -10,12 +10,12 @@ namespace Server.Items
{
public class WreathAddon : Item, IDyable, IAddon
{
[Constructable]
[Constructible]
public WreathAddon() : this( Utility.RandomDyedHue() )
{
}
[Constructable]
[Constructible]
public WreathAddon( int hue ) : base( 0x232C )
{
Hue = hue;
@ -167,17 +167,17 @@ namespace Server.Items
}
}
[Flipable( 0x14F0, 0x14EF )]
[Flippable( 0x14F0, 0x14EF )]
public class WreathDeed : Item
{
public override int LabelNumber{ get{ return 1062837; } } // holiday wreath deed
[Constructable]
[Constructible]
public WreathDeed() : this( Utility.RandomDyedHue() )
{
}
[Constructable]
[Constructible]
public WreathDeed( int hue ) : base( 0x14F0 )
{
Weight = 1.0;

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber { get { return 1041421; } } // a wrist watch
public override double DefaultWeight { get { return 1.0; } }
[Constructable]
[Constructible]
public WristWatch()
: base( 0x1086 )
{