fix: Optimizes items to use default weights. (Part 4) (#2243)
This commit is contained in:
parent
40ba85d7b8
commit
fa0b67ec29
109 changed files with 250 additions and 391 deletions
|
|
@ -20,13 +20,14 @@ public partial class Log : Item, ICommodity, IAxe
|
|||
public Log(CraftResource resource, int amount) : base(0x1BDD)
|
||||
{
|
||||
Stackable = true;
|
||||
Weight = 2.0;
|
||||
Amount = amount;
|
||||
|
||||
_resource = resource;
|
||||
Hue = CraftResources.GetHue(resource);
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 2.0;
|
||||
|
||||
[SerializableProperty(0)]
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
public CraftResource Resource
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue