fix: Updates professions & new player gargish equipment (#819)
* Now reads Prof.txt to get the professions * The templated professions are based on profession `TrueName` * Adds missing starting equipment * Implements gargish starting equipment * Consolidates some of the code * Moves TC stuff to the TC file. * Fixes some starting equipment that was wrong. Note: * Implementing the original T2A professions is possible on the client side, but requires moving the old clilocs to the current clilocs file. In the current file the entries are blank. * Using the original LBR professions (they match AOS but without necromancy/chivalry) is kind of confusing because the profession indexes are ripped out of the UOTD/UOR ones and have non-sequential indexes. This will probably cause confusion and people will get no templated items when they select the wrong profession.
This commit is contained in:
parent
7361c9158b
commit
bfbe2a6512
80 changed files with 2654 additions and 1409 deletions
|
|
@ -3,7 +3,8 @@ using Server.Engines.Craft;
|
|||
namespace Server.Items
|
||||
{
|
||||
[Flippable(0x1EB8, 0x1EB9)]
|
||||
public class TinkerTools : BaseTool
|
||||
[Serializable(0, false)]
|
||||
public partial class TinkerTools : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public TinkerTools() : base(0x1EB8) => Weight = 1.0;
|
||||
|
|
@ -11,58 +12,18 @@ namespace Server.Items
|
|||
[Constructible]
|
||||
public TinkerTools(int uses) : base(uses, 0x1EB8) => Weight = 1.0;
|
||||
|
||||
public TinkerTools(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override CraftSystem CraftSystem => DefTinkering.CraftSystem;
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(IGenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
var version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class TinkersTools : BaseTool
|
||||
[Serializable(0, false)]
|
||||
public partial class TinkersTools : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public TinkersTools()
|
||||
: base(0x1EBC) =>
|
||||
Weight = 1.0;
|
||||
public TinkersTools() : base(0x1EBC) => Weight = 1.0;
|
||||
|
||||
[Constructible]
|
||||
public TinkersTools(int uses)
|
||||
: base(uses, 0x1EBC) =>
|
||||
Weight = 1.0;
|
||||
|
||||
public TinkersTools(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
public TinkersTools(int uses) : base(uses, 0x1EBC) => Weight = 1.0;
|
||||
|
||||
public override CraftSystem CraftSystem => DefTinkering.CraftSystem;
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(IGenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
var version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue