Cleans up comments for localization (#260)
This commit is contained in:
parent
fd9ec089f7
commit
13e2693b59
52 changed files with 751 additions and 798 deletions
|
|
@ -792,30 +792,31 @@ namespace Server.Items
|
|||
if (ParentsContain<BankBox>()) // Root Parent is the Mobile. Parent could be another containter.
|
||||
{
|
||||
list.Add(
|
||||
1073841,
|
||||
1073841, // Contents: ~1_COUNT~/~2_MAXCOUNT~ items, ~3_WEIGHT~ stones
|
||||
"{0}\t{1}\t{2}",
|
||||
TotalItems,
|
||||
MaxItems,
|
||||
TotalWeight
|
||||
); // Contents: ~1_COUNT~/~2_MAXCOUNT~ items, ~3_WEIGHT~ stones
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
list.Add(
|
||||
1072241,
|
||||
1072241, // Contents: ~1_COUNT~/~2_MAXCOUNT~ items, ~3_WEIGHT~/~4_MAXWEIGHT~ stones
|
||||
"{0}\t{1}\t{2}\t{3}",
|
||||
TotalItems,
|
||||
MaxItems,
|
||||
TotalWeight,
|
||||
MaxWeight
|
||||
); // Contents: ~1_COUNT~/~2_MAXCOUNT~ items, ~3_WEIGHT~/~4_MAXWEIGHT~ stones
|
||||
);
|
||||
}
|
||||
|
||||
// TODO: Where do the other clilocs come into play? 1073839 & 1073840?
|
||||
}
|
||||
else
|
||||
{
|
||||
list.Add(1050044, "{0}\t{1}", TotalItems, TotalWeight); // ~1_COUNT~ items, ~2_WEIGHT~ stones
|
||||
// ~1_COUNT~ items, ~2_WEIGHT~ stones
|
||||
list.Add(1050044, "{0}\t{1}", TotalItems, TotalWeight);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3241,9 +3241,9 @@ namespace Server
|
|||
// OSI sends 1074769, bug!
|
||||
if (QuestItem)
|
||||
{
|
||||
from.SendLocalizedMessage(
|
||||
1049343
|
||||
); // You can only drop quest items into the top-most level of your backpack while you still need them for your quest.
|
||||
// You can only drop quest items into the top-most level of your backpack
|
||||
// while you still need them for your quest.
|
||||
from.SendLocalizedMessage(1049343);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4297,7 +4297,7 @@ namespace Server
|
|||
this,
|
||||
criminal
|
||||
)
|
||||
); // new AggressorInfo( aggressor, this, criminal, true ) );
|
||||
);
|
||||
|
||||
if (CanSee(aggressor))
|
||||
{
|
||||
|
|
@ -4320,7 +4320,7 @@ namespace Server
|
|||
this,
|
||||
criminal
|
||||
)
|
||||
); // new AggressorInfo( aggressor, this, criminal, false ) );
|
||||
);
|
||||
|
||||
if (CanSee(aggressor))
|
||||
{
|
||||
|
|
@ -4794,7 +4794,7 @@ namespace Server
|
|||
m_NetState.Sequence,
|
||||
this
|
||||
)
|
||||
); // new MovementAck( m_NetState.Sequence, this ) );
|
||||
);
|
||||
|
||||
SetLocation(newLocation, false);
|
||||
SetDirection(d);
|
||||
|
|
@ -8352,9 +8352,9 @@ namespace Server
|
|||
if (item.QuestItem)
|
||||
{
|
||||
item.QuestItem = false;
|
||||
SendLocalizedMessage(
|
||||
1074769
|
||||
); // An item must be in your backpack (and not in a container within) to be toggled as a quest item.
|
||||
|
||||
// An item must be in your backpack (and not in a container within) to be toggled as a quest item.
|
||||
SendLocalizedMessage(1074769);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
@ -10494,10 +10494,7 @@ namespace Server
|
|||
|
||||
if (m_Mobile.InLOS(combatant))
|
||||
{
|
||||
weapon.OnBeforeSwing(
|
||||
m_Mobile,
|
||||
combatant
|
||||
); // OnBeforeSwing for checking in regards to being hidden and whatnot
|
||||
weapon.OnBeforeSwing(m_Mobile, combatant);
|
||||
m_Mobile.RevealingAction();
|
||||
m_Mobile.NextCombatTime =
|
||||
Core.TickCount + (int)weapon.OnSwing(m_Mobile, combatant).TotalMilliseconds;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue