Clean up: Bugs, LINQ, constructors, default values, and null checks (#18)
This commit is contained in:
parent
e748af4430
commit
513e54f70e
1094 changed files with 15913 additions and 21892 deletions
|
|
@ -3,17 +3,11 @@ namespace Server.Items
|
|||
public class ScribeBag : Bag
|
||||
{
|
||||
[Constructible]
|
||||
public ScribeBag() : this(1)
|
||||
public ScribeBag(int amount = 5000)
|
||||
{
|
||||
Movable = true;
|
||||
Hue = 0x105;
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public ScribeBag(int amount)
|
||||
{
|
||||
DropItem(new BagOfReagents(5000));
|
||||
DropItem(new BlankScroll(500));
|
||||
DropItem(new BagOfReagents(amount));
|
||||
DropItem(new BlankScroll(amount));
|
||||
}
|
||||
|
||||
public ScribeBag(Serial serial) : base(serial)
|
||||
|
|
@ -36,4 +30,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue