Skip to content

Commit

Permalink
fix: Fixes OPL for a few items (#1679)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamronbatman authored Feb 15, 2024
1 parent 5ada7a4 commit 8f4d86c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Projects/UOContent/Items/Quivers/BaseQuiver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public override void GetProperties(IPropertyList list)

if (ammo == null)
{
list.Add(1075265, $"0\t{Capacity}"); // Ammo: ~1_QUANTITY~/~2_CAPACITY~ arrows
list.Add(1075265, $"{"0"}\t{Capacity}"); // Ammo: ~1_QUANTITY~/~2_CAPACITY~ arrows
}
else if (ammo is Arrow)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ public override void GetProperties(IPropertyList list)
}
case HouseRaffleState.Completed:
{
list.Add(1060658, $"winner\t{_winner?.Name ?? "Unknown"}"); // ~1_val~: ~2_val~
list.Add(1060658, $"{"winner"}\t{_winner?.Name ?? "Unknown"}"); // ~1_val~: ~2_val~
break;
}
}
Expand All @@ -375,15 +375,15 @@ public override void OnSingleClick(Mobile from)
{
case HouseRaffleState.Active:
{
LabelTo(from, 1060658, $"Ends\t{_started + _duration}"); // ~1_val~: ~2_val~
LabelTo(from, 1060658, $"{"Ends"}\t{_started + _duration}"); // ~1_val~: ~2_val~
break;
}
case HouseRaffleState.Completed:
{
LabelTo(
from,
1060658, // ~1_val~: ~2_val~
$"Winner\t{_winner?.Name ?? "Unknown"}"
$"{"Winner"}\t{_winner?.Name ?? "Unknown"}"
);
break;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public override void AddNameProperty(IPropertyList list)
* a legendary scroll of ~1_type~ (+20 Maximum Stats) OR
* an ultimate scroll of ~1_type~ (+25 Maximum Stats)
*/
list.Add(1049463 + level, 1049476);
list.AddLocalized(1049463 + level, 1049476);
}
else
{
Expand Down

0 comments on commit 8f4d86c

Please sign in to comment.