This commit is contained in:
parent
cc7814db35
commit
bcdee05c6c
83 changed files with 268 additions and 146 deletions
|
|
@ -913,7 +913,7 @@ namespace Server.Items
|
|||
return true;
|
||||
}
|
||||
|
||||
public bool Scissor( Mobile from, Scissors scissors )
|
||||
public virtual bool Scissor( Mobile from, Scissors scissors )
|
||||
{
|
||||
if ( !IsChildOf( from.Backpack ) )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -510,6 +510,44 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
public class MonkRobe : BaseOuterTorso
|
||||
{
|
||||
[Constructable]
|
||||
public MonkRobe() : this( 0x21E )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public MonkRobe( int hue ) : base( 0x2687, hue )
|
||||
{
|
||||
Weight = 1.0;
|
||||
StrRequirement = 0;
|
||||
}
|
||||
public override int LabelNumber{ get{ return 1076584; } } // A monk's robe
|
||||
public override bool CanBeBlessed { get { return false; } }
|
||||
public override bool Dye( Mobile from, DyeTub sender )
|
||||
{
|
||||
from.SendLocalizedMessage( sender.FailMessage );
|
||||
return false;
|
||||
}
|
||||
public MonkRobe( 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();
|
||||
}
|
||||
}
|
||||
|
||||
[Flipable( 0x2684, 0x2683 )]
|
||||
public class HoodedShroudOfShadows : BaseOuterTorso
|
||||
{
|
||||
|
|
@ -725,7 +763,6 @@ namespace Server.Items
|
|||
[Flipable( 0x2FB9, 0x3173 )]
|
||||
public class MaleElvenRobe : BaseOuterTorso
|
||||
{
|
||||
// TODO: Supports arcane?
|
||||
public override Race RequiredRace { get { return Race.Elf; } }
|
||||
|
||||
[Constructable]
|
||||
|
|
@ -739,8 +776,6 @@ namespace Server.Items
|
|||
Weight = 2.0;
|
||||
}
|
||||
|
||||
public override bool AllowFemaleWearer{ get{ return false; } }
|
||||
|
||||
public MaleElvenRobe( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
|
@ -763,7 +798,6 @@ namespace Server.Items
|
|||
[Flipable( 0x2FBA, 0x3174 )]
|
||||
public class FemaleElvenRobe : BaseOuterTorso
|
||||
{
|
||||
// TODO: Supports arcane?
|
||||
public override Race RequiredRace { get { return Race.Elf; } }
|
||||
[Constructable]
|
||||
public FemaleElvenRobe() : this( 0 )
|
||||
|
|
|
|||
|
|
@ -16,6 +16,15 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override bool Scissor( Mobile from, Scissors scissors )
|
||||
{
|
||||
if( DefaultResource == CraftResource.None )
|
||||
return base.Scissor( from, scissors );
|
||||
|
||||
from.SendLocalizedMessage( 502440 ); // Scissors can not be used on that to produce anything.
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
|
@ -293,7 +302,6 @@ namespace Server.Items
|
|||
|
||||
public override bool Dye( Mobile from, DyeTub sender )
|
||||
{
|
||||
from.SendLocalizedMessage( sender.FailMessage );
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -433,6 +441,11 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override bool Dye( Mobile from, DyeTub sender )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
|
|
|||
|
|
@ -118,6 +118,18 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override bool Dye( Mobile from, DyeTub sender )
|
||||
{
|
||||
from.SendLocalizedMessage( sender.FailMessage );
|
||||
return false;
|
||||
}
|
||||
|
||||
public override bool Scissor( Mobile from, Scissors scissors )
|
||||
{
|
||||
from.SendLocalizedMessage( 502440 ); // Scissors can not be used on that to produce anything.
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue