fix: Updates messages with clilocs (#1381)
This commit is contained in:
parent
b8b283c210
commit
e08efad9be
17 changed files with 79 additions and 106 deletions
|
|
@ -21,12 +21,8 @@ namespace Server.Items
|
|||
if (map == Map.Trammel || map == Map.Felucca)
|
||||
{
|
||||
from.MoveToWorld(new Point3D(5922, 2024, 0), map);
|
||||
PublicOverheadMessage(
|
||||
MessageType.Regular,
|
||||
0x3B2,
|
||||
true,
|
||||
$"* {from.Name} dives into the hole and disappears!*"
|
||||
);
|
||||
// * ~1_NAME~ dives into the mysterious hole! *
|
||||
PublicOverheadMessage(MessageType.Regular, 0x3B2, 1114446, from.Name);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -572,7 +572,7 @@ public partial class TreasureMap : MapItem
|
|||
}
|
||||
else if (!HasDiggingTool(from))
|
||||
{
|
||||
from.SendMessage("You must have a digging tool to dig for treasure.");
|
||||
from.SendLocalizedMessage(1114416); // You must have a digging tool to dig for treasure.
|
||||
}
|
||||
else if (from.Map != map)
|
||||
{
|
||||
|
|
@ -900,7 +900,7 @@ public partial class TreasureMap : MapItem
|
|||
}
|
||||
else
|
||||
{
|
||||
from.SendMessage("You must have a digging tool to dig for treasure.");
|
||||
from.SendLocalizedMessage(1114416); // You must have a digging tool to dig for treasure.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -206,8 +206,12 @@ public partial class ControlPanel : AddonComponent
|
|||
);
|
||||
|
||||
to.BoltEffect(0);
|
||||
to.LocalOverheadMessage(MessageType.Regular, 0xC9, true, "* Your body convulses from electric shock *");
|
||||
to.NonlocalOverheadMessage(MessageType.Regular, 0xC9, true, $"* {to.Name} spasms from electric shock *");
|
||||
|
||||
// * Your body convulses from electric shock *
|
||||
to.LocalOverheadMessage(MessageType.Regular, 0xC9, 1114443);
|
||||
|
||||
// * ~1_NAME~ spasms from electric shock *
|
||||
to.NonlocalOverheadMessage(MessageType.Regular, 0xC9, 1114444, to.Name);
|
||||
|
||||
AOS.Damage(to, to, 60, 0, 0, 0, 0, 100);
|
||||
|
||||
|
|
@ -514,13 +518,11 @@ public partial class ControlPanel : AddonComponent
|
|||
|
||||
m_To.PlaySound(0x28);
|
||||
|
||||
m_To.LocalOverheadMessage(MessageType.Regular, 0xC9, true, "* Your body convulses from electric shock *");
|
||||
m_To.NonlocalOverheadMessage(
|
||||
MessageType.Regular,
|
||||
0xC9,
|
||||
true,
|
||||
$"* {m_To.Name} spasms from electric shock *"
|
||||
);
|
||||
// * Your body convulses from electric shock *
|
||||
m_To.LocalOverheadMessage(MessageType.Regular, 0xC9, 1114443);
|
||||
|
||||
// * ~1_NAME~ spasms from electric shock *
|
||||
m_To.NonlocalOverheadMessage(MessageType.Regular, 0xC9, 1114444, m_To.Name);
|
||||
|
||||
AOS.Damage(m_To, m_To, 20, 0, 0, 0, 0, 100);
|
||||
|
||||
|
|
|
|||
|
|
@ -588,9 +588,10 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
new VorpalBunny.BunnyHole().MoveToWorld(Location, Map);
|
||||
|
||||
Frozen = true;
|
||||
Say("* The bunny begins to dig a tunnel back to its underground lair *");
|
||||
|
||||
// * The bunny begins to dig a tunnel back to its underground lair *
|
||||
Say(1114450);
|
||||
PlaySound(0x247);
|
||||
|
||||
Timer.StartTimer(TimeSpan.FromSeconds(5.0), Delete);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue