This commit is contained in:
parent
68ab65a475
commit
cf787216fe
2 changed files with 35 additions and 1 deletions
34
Scripts/Holiday Stuff/Christmas/2010/Items/RockingHorse.cs
Normal file
34
Scripts/Holiday Stuff/Christmas/2010/Items/RockingHorse.cs
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace Server.Items.Holiday
|
||||||
|
{
|
||||||
|
public class RockingHorse : Item
|
||||||
|
{
|
||||||
|
public RockingHorse() : base ( 0x4214 )
|
||||||
|
{
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
|
||||||
|
Weight = 30;
|
||||||
|
}
|
||||||
|
|
||||||
|
public RockingHorse( 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();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -265,7 +265,7 @@ namespace Server.Items
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Timer.DelayCall( TimeSpan.Zero, ValidatePlacement );
|
Timer.DelayCall( TimeSpan.Zero, ValidatePlacement );
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ValidatePlacement()
|
public void ValidatePlacement()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue