#W# Started work on guild rings.
This commit is contained in:
parent
000d16eab6
commit
6cb014d51c
7 changed files with 201 additions and 2 deletions
38
Scripts/Quests/Rewards/GuildRings/AlchemistRing.cs
Normal file
38
Scripts/Quests/Rewards/GuildRings/AlchemistRing.cs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Misc;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AlchemistRing : GoldRing, ITradeSkillBonus
|
||||
{
|
||||
public Trades TradeSkill { get { return Trades.Alchemy; } }
|
||||
public double TradeBonus { get { return 5.0; } }
|
||||
public NpcGuild RequiredGuild { get { return NpcGuild.AlchemistsGuild; } }
|
||||
|
||||
[Constructable]
|
||||
public AlchemistRing()
|
||||
{
|
||||
Name = "ring of the master alchemist";
|
||||
Hue = 0x482;
|
||||
}
|
||||
|
||||
public AlchemistRing( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
38
Scripts/Quests/Rewards/GuildRings/CarpenterRing.cs
Normal file
38
Scripts/Quests/Rewards/GuildRings/CarpenterRing.cs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Misc;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CarpentersRing : GoldRing, ITradeSkillBonus
|
||||
{
|
||||
public Trades TradeSkill { get { return Trades.Carpentry; } }
|
||||
public double TradeBonus { get { return 5.0; } }
|
||||
public NpcGuild RequiredGuild { get { return NpcGuild.CarpentryGuild; } }
|
||||
|
||||
[Constructable]
|
||||
public CarpentersRing()
|
||||
{
|
||||
Name = "ring of the master carpenter";
|
||||
Hue = 0x482;
|
||||
}
|
||||
|
||||
public CarpentersRing( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
38
Scripts/Quests/Rewards/GuildRings/SmithsRing.cs
Normal file
38
Scripts/Quests/Rewards/GuildRings/SmithsRing.cs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Misc;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SmithsRing : GoldRing, ITradeSkillBonus
|
||||
{
|
||||
public Trades TradeSkill { get { return Trades.Blacksmith; } }
|
||||
public double TradeBonus { get { return 5.0; } }
|
||||
public NpcGuild RequiredGuild { get { return NpcGuild.BlacksmithsGuild; } }
|
||||
|
||||
[Constructable]
|
||||
public SmithsRing()
|
||||
{
|
||||
Name = "ring of the master smith";
|
||||
Hue = 0x482;
|
||||
}
|
||||
|
||||
public SmithsRing( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
38
Scripts/Quests/Rewards/GuildRings/TailorsRing.cs
Normal file
38
Scripts/Quests/Rewards/GuildRings/TailorsRing.cs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Misc;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TailorsRing : GoldRing, ITradeSkillBonus
|
||||
{
|
||||
public Trades TradeSkill { get { return Trades.Tailoring; } }
|
||||
public double TradeBonus { get { return 5.0; } }
|
||||
public NpcGuild RequiredGuild { get { return NpcGuild.TailorsGuild; } }
|
||||
|
||||
[Constructable]
|
||||
public TailorsRing()
|
||||
{
|
||||
Name = "ring of the master tailor";
|
||||
Hue = 0x482;
|
||||
}
|
||||
|
||||
public TailorsRing( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue