fix: Updates messages with clilocs (#1381)

This commit is contained in:
Kamron Batman 2023-03-26 00:54:09 -07:00 • committed by GitHub
parent b8b283c210
commit e08efad9be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 79 additions and 106 deletions

View file

@ -727,7 +727,8 @@ namespace Server.Engines.BulkOrders
entry.Price = price;
}
from.SendMessage("Deed prices set.");
// Deed price set.
from.SendLocalizedMessage(1062384);
if (from is PlayerMobile mobile)
{

View file

@ -40,7 +40,7 @@ namespace Server.Ethics.Evil
if ((item.SavedFlags & 0x300) != 0)
{
from.Mobile.LocalOverheadMessage(MessageType.Regular, 0x3B2, false, "That has already beem imbued.");
from.Mobile.LocalOverheadMessage(MessageType.Regular, 0x3B2, false, "That has already been imbued.");
return;
}

View file

@ -416,12 +416,9 @@ namespace Server.Items
case 3:
{
var dummy = EffectItem.Create(Location, Map, TimeSpan.FromSeconds(20.0));
dummy.PublicOverheadMessage(
MessageType.Regular,
0x3B2,
true,
"* The ground erupts with chaotic growth! *"
);
// * The ground erupts with chaotic growth! *
dummy.PublicOverheadMessage(MessageType.Regular, 0x3B2, 1114432);
Effects.PlaySound(Location, Map, 0x12D);
@ -526,12 +523,8 @@ namespace Server.Items
default:
{
var dummy = EffectItem.Create(Location, Map, TimeSpan.FromSeconds(20.0));
dummy.PublicOverheadMessage(
MessageType.Regular,
0x3B2,
true,
"* A magical bunny leaps out of its hole, disturbed by the thorn's effect! *"
);
// * A magical bunny leaps out of its hole, disturbed by the thorn's effect! *
dummy.PublicOverheadMessage(MessageType.Regular, 0x3B2, 1114428);
BaseCreature spawn = new VorpalBunny();
if (!SpawnCreature(spawn))
@ -583,12 +576,9 @@ namespace Server.Items
default:
{
var dummy = EffectItem.Create(Location, Map, TimeSpan.FromSeconds(20.0));
dummy.PublicOverheadMessage(
MessageType.Regular,
0x3B2,
true,
"* Strange green tendrils rise from the ground, whipping wildly! *"
);
// * Strange green tendrils rise from the ground, whipping wildly! *
dummy.PublicOverheadMessage(MessageType.Regular, 0x3B2, 1114429);
Effects.PlaySound(Location, Map, 0x2B0);
BaseCreature spawn = new WhippingVine();
@ -641,12 +631,9 @@ namespace Server.Items
default:
{
var dummy = EffectItem.Create(Location, Map, TimeSpan.FromSeconds(20.0));
dummy.PublicOverheadMessage(
MessageType.Regular,
0x3B2,
true,
"* Slithering ice serpents rise to the surface to investigate the disturbance! *"
);
// * Slithering ice serpents rise to the surface to investigate the disturbance! *
dummy.PublicOverheadMessage(MessageType.Regular, 0x3B2, 1114430);
BaseCreature spawn = new GiantIceWorm();
if (!SpawnCreature(spawn))
@ -707,12 +694,9 @@ namespace Server.Items
default:
{
var dummy = EffectItem.Create(Location, Map, TimeSpan.FromSeconds(20.0));
dummy.PublicOverheadMessage(
MessageType.Regular,
0x3B2,
true,
"* The sand collapses, revealing a dark hole. *"
);
// * The sand collapses, revealing a dark hole. *
dummy.PublicOverheadMessage(MessageType.Regular, 0x3B2, 1114431);
GreenThornsSHTeleporter.Create(Location, Map);

View file

@ -115,12 +115,8 @@ namespace Server.Items
{
if (!m_Mobile.Deleted)
{
m_Mobile.LocalOverheadMessage(
MessageType.Regular,
0x3F,
true,
"* You feel the effects of your poison resistance wearing off *"
);
// * You feel the effects of your poison resistance wearing off *
m_Mobile.LocalOverheadMessage(MessageType.Regular, 0x3F, 1053091);
}
RemoveContext(m_Mobile);