Cleanup and adds configuration for crashguard (#240)
This commit is contained in:
parent
55ae0f8778
commit
7dbfa086bc
39 changed files with 1248 additions and 97 deletions
|
|
@ -234,7 +234,7 @@ namespace Server.Items
|
|||
base.CheckHold(m, item, false, checkItems, plusItems, plusWeight);
|
||||
|
||||
public override bool CheckContentDisplay(Mobile from) =>
|
||||
RootParent is BaseCreature creature && creature.Controlled && creature.ControlMaster == @from ||
|
||||
RootParent is BaseCreature creature && creature.Controlled && creature.ControlMaster == from ||
|
||||
base.CheckContentDisplay(from);
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
|
|
|
|||
|
|
@ -180,8 +180,8 @@ namespace Server.Items
|
|||
if (item?.Deleted != false)
|
||||
continue;
|
||||
|
||||
if (item is BaseArmor armor && Resmelt(@from, armor, armor.Resource) ||
|
||||
item is BaseWeapon weapon && Resmelt(@from, weapon, weapon.Resource) ||
|
||||
if (item is BaseArmor armor && Resmelt(from, armor, armor.Resource) ||
|
||||
item is BaseWeapon weapon && Resmelt(from, weapon, weapon.Resource) ||
|
||||
item is DragonBardingDeed)
|
||||
salvaged++;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue