Fixes brace style (#248)
This commit is contained in:
parent
a236617ad9
commit
8149620b0c
1503 changed files with 28575 additions and 1717 deletions
|
|
@ -24,10 +24,14 @@ namespace Server.Engines.Craft
|
|||
public override int CanCraft(Mobile from, BaseTool tool, Type itemType)
|
||||
{
|
||||
if (tool?.Deleted != false || tool.UsesRemaining < 0)
|
||||
{
|
||||
return 1044038; // You have worn out your tool!
|
||||
}
|
||||
|
||||
if (!BaseTool.CheckAccessible(tool, from))
|
||||
{
|
||||
return 1044263; // The tool must be on your person to use.
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -45,7 +49,9 @@ namespace Server.Engines.Craft
|
|||
)
|
||||
{
|
||||
if (toolBroken)
|
||||
from.SendLocalizedMessage(1044038); // You have worn out your tool
|
||||
{
|
||||
@from.SendLocalizedMessage(1044038); // You have worn out your tool
|
||||
}
|
||||
|
||||
if (failed)
|
||||
{
|
||||
|
|
@ -63,7 +69,10 @@ namespace Server.Engines.Craft
|
|||
if (IsPotion(item.ItemType))
|
||||
{
|
||||
if (quality == -1)
|
||||
{
|
||||
return 1048136; // You create the potion and pour it into a keg.
|
||||
}
|
||||
|
||||
return 500279; // You pour the potion into a bottle...
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue