revert crafting updates of SVN538. Per Mark: changing baseclasses is a bad idea.
This commit is contained in:
parent
7399519cf7
commit
e86794c4e6
130 changed files with 1007 additions and 4906 deletions
|
|
@ -4,12 +4,12 @@ namespace Server.Items
|
|||
{
|
||||
[Furniture]
|
||||
[Flipable( 0x24D0, 0x24D1, 0x24D2, 0x24D3, 0x24D4 )]
|
||||
public class BambooScreen : BaseCraftableItem
|
||||
public class BambooScreen : Item
|
||||
{
|
||||
[Constructable]
|
||||
public BambooScreen() : base( 0x24D1 )
|
||||
public BambooScreen() : base(0x24D0)
|
||||
{
|
||||
Weight = 1.0;
|
||||
Weight = 20.0;
|
||||
}
|
||||
|
||||
public BambooScreen(Serial serial) : base(serial)
|
||||
|
|
@ -27,21 +27,19 @@ namespace Server.Items
|
|||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = ( InheritsItem ? OldVersion : reader.ReadInt() ); //Required for BaseCraftableItem insertion
|
||||
|
||||
if ( Weight == 20.0 )
|
||||
Weight = 1.0;
|
||||
int version = reader.ReadInt();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
[Flipable( 0x24CB, 0x24CC, 0x24CD, 0x24CE, 0x24CF )]
|
||||
public class ShojiScreen : BaseCraftableItem
|
||||
public class ShojiScreen : Item
|
||||
{
|
||||
[Constructable]
|
||||
public ShojiScreen() : base( 0x24CB )
|
||||
public ShojiScreen() : base(0x24CB)
|
||||
{
|
||||
Weight = 1.0;
|
||||
Weight = 20.0;
|
||||
}
|
||||
|
||||
public ShojiScreen(Serial serial) : base(serial)
|
||||
|
|
@ -59,10 +57,8 @@ namespace Server.Items
|
|||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = ( InheritsItem ? OldVersion : reader.ReadInt() ); //Required for BaseCraftableItem insertion
|
||||
|
||||
if ( Weight == 20.0 )
|
||||
Weight = 1.0;
|
||||
int version = reader.ReadInt();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue