fix: Optimizes items to use default weights. (Part 1) (#2240)
This commit is contained in:
parent
c2e44a58f6
commit
2eba2868a6
126 changed files with 1184 additions and 380 deletions
|
|
@ -10,7 +10,6 @@ public abstract class BaseFactionTrapDeed : Item, ICraftable
|
|||
|
||||
public BaseFactionTrapDeed(int itemID = 0x14F0) : base(itemID)
|
||||
{
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
|
|
@ -18,6 +17,8 @@ public abstract class BaseFactionTrapDeed : Item, ICraftable
|
|||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public abstract Type TrapType { get; }
|
||||
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
|
|
@ -117,4 +118,4 @@ public abstract class BaseFactionTrapDeed : Item, ICraftable
|
|||
|
||||
m_Faction = Faction.ReadReference(reader);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue