chore(hs): rename event display name 'Heykel Savasi' -> 'TvT Event' (strings only)
Display strings/messages/designations changed everywhere (Name, entrance messages, NPC designation, HUD title). Code identifiers/namespaces/commands unchanged. DB rows updated separately.
This commit is contained in:
@@ -12,12 +12,12 @@ using MUnique.OpenMU.PlugIns;
|
||||
|
||||
/// <summary>
|
||||
/// A chat command plugin which allows a game master to join a team of the currently open
|
||||
/// Heykel Savasi (statue war) event without using the client team-select panel.
|
||||
/// TvT Event (statue war) event without using the client team-select panel.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This is a GM testing aid which substitutes for the client team-select panel (which is
|
||||
/// implemented in a separate phase for the PC and mobile clients). It allows the whole server
|
||||
/// side flow of the Heykel Savasi event to be tested end-to-end before the client UI exists.
|
||||
/// side flow of the TvT Event event to be tested end-to-end before the client UI exists.
|
||||
/// </remarks>
|
||||
[Guid("AFCA36C1-B0A0-4D98-BBD6-2352FD18CCA8")]
|
||||
[PlugIn]
|
||||
@@ -61,7 +61,7 @@ public class HeykelSavasiTeamTestChatCommandPlugIn : IChatCommandPlugIn
|
||||
: null;
|
||||
if (context is null)
|
||||
{
|
||||
await player.ShowBlueMessageAsync("Heykel Savasi kayit acik degil.").ConfigureAwait(false);
|
||||
await player.ShowBlueMessageAsync("TvT Event kayit acik degil.").ConfigureAwait(false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ using MUnique.OpenMU.Interfaces;
|
||||
using MUnique.OpenMU.PlugIns;
|
||||
|
||||
/// <summary>
|
||||
/// Handles talking to the Heykel Savasi (statue war) NPC (number 560): opens the team-select
|
||||
/// Handles talking to the TvT Event (statue war) NPC (number 560): opens the team-select
|
||||
/// panel while the event's registration is open.
|
||||
/// </summary>
|
||||
[Guid("80E3B326-474F-45AC-9FA4-3464801AE079")]
|
||||
@@ -21,7 +21,7 @@ using MUnique.OpenMU.PlugIns;
|
||||
public class HeykelSavasiNpcPlugin : IPlayerTalkToNpcPlugIn
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the NPC number of the Heykel Savasi event NPC.
|
||||
/// Gets the NPC number of the TvT Event event NPC.
|
||||
/// </summary>
|
||||
public static short NpcNumber => 560;
|
||||
|
||||
@@ -42,7 +42,7 @@ public class HeykelSavasiNpcPlugin : IPlayerTalkToNpcPlugIn
|
||||
if (context is null)
|
||||
{
|
||||
await player.InvokeViewPlugInAsync<IShowMessagePlugIn>(p =>
|
||||
p.ShowMessageAsync("Heykel Savasi su an acik degil.", MessageType.BlueNormal)).ConfigureAwait(false);
|
||||
p.ShowMessageAsync("TvT Event su an acik degil.", MessageType.BlueNormal)).ConfigureAwait(false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,5 +19,5 @@ public class HeykelSavasiGameServerState : PeriodicTaskGameServerState
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string Description => "Heykel Savasi";
|
||||
public override string Description => "TvT Event";
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@ public class HeykelSavasiStartConfiguration : MiniGameStartConfiguration
|
||||
new()
|
||||
{
|
||||
PreStartMessageDelay = TimeSpan.Zero,
|
||||
EntranceOpenedMessage = "Heykel Savasi entrance is open and closes in {0} minute(s).",
|
||||
EntranceClosedMessage = "Heykel Savasi entrance closed.",
|
||||
EntranceOpenedMessage = "TvT Event entrance is open and closes in {0} minute(s).",
|
||||
EntranceClosedMessage = "TvT Event entrance closed.",
|
||||
TaskDuration = TimeSpan.FromMinutes(20),
|
||||
Timetable = new List<TimeOnly>
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ using MUnique.OpenMU.PlugIns;
|
||||
/// This plugin enables the start of the heykel savasi event.
|
||||
/// </summary>
|
||||
[PlugIn]
|
||||
[Display(Name = nameof(HeykelSavasiStartPlugIn), Description = "Heykel Savasi event")]
|
||||
[Display(Name = nameof(HeykelSavasiStartPlugIn), Description = "TvT Event")]
|
||||
[Guid("2C6E1B4A-7F3D-4E9A-9B1C-3A6D2F8E5C7B")]
|
||||
public sealed class HeykelSavasiStartPlugIn : MiniGameStartBasePlugIn<HeykelSavasiStartConfiguration, HeykelSavasiGameServerState>
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ using MUnique.OpenMU.Persistence.Initialization.VersionSeasonSix.Maps;
|
||||
using MUnique.OpenMU.PlugIns;
|
||||
|
||||
/// <summary>
|
||||
/// Adds the Heykel Savasi team event data to an existing configuration: the imported LoL arena map
|
||||
/// Adds the TvT Event team event data to an existing configuration: the imported LoL arena map
|
||||
/// (server number 92 / client World93) with its terrain, the statue (561) and guard (580) monster
|
||||
/// definitions, the red/blue base spawn gates, the event NPC (560) placed in Lorencia, and the
|
||||
/// mini-game definition. The event logic (context, packet handlers, chat commands, buffs) ships in
|
||||
@@ -22,9 +22,9 @@ using MUnique.OpenMU.PlugIns;
|
||||
[Guid("F2A7C4D9-3E1B-4A86-9C0D-5B7E2A1F8D42")]
|
||||
public class AddHeykelSavasiEventUpdateSeason6 : UpdatePlugInBase
|
||||
{
|
||||
internal const string PlugInName = "Add Heykel Savasi event (map 92)";
|
||||
internal const string PlugInName = "Add TvT Event event (map 92)";
|
||||
|
||||
internal const string PlugInDescription = "Adds the Heykel Savasi team-vs-team event: the LoL arena map (server 92 / World93) with terrain, statue+guard monsters, red/blue base spawn gates, the event NPC (560) in Lorencia, and the mini-game definition.";
|
||||
internal const string PlugInDescription = "Adds the TvT Event team-vs-team event: the LoL arena map (server 92 / World93) with terrain, statue+guard monsters, red/blue base spawn gates, the event NPC (560) in Lorencia, and the mini-game definition.";
|
||||
|
||||
/// <inheritdoc />
|
||||
public override UpdateVersion Version => UpdateVersion.AddHeykelSavasiEventSeason6;
|
||||
@@ -47,7 +47,7 @@ public class AddHeykelSavasiEventUpdateSeason6 : UpdatePlugInBase
|
||||
/// <inheritdoc />
|
||||
protected override async ValueTask ApplyAsync(IContext context, GameConfiguration gameConfiguration)
|
||||
{
|
||||
// Idempotency guard: skip if the Heykel Savasi map (92) already exists.
|
||||
// Idempotency guard: skip if the TvT Event map (92) already exists.
|
||||
if (gameConfiguration.Maps.Any(m => m.Number == HeykelSavasiMap.Number))
|
||||
{
|
||||
return;
|
||||
@@ -99,7 +99,7 @@ public class AddHeykelSavasiEventUpdateSeason6 : UpdatePlugInBase
|
||||
var npc = context.CreateNew<MonsterDefinition>();
|
||||
gameConfiguration.Monsters.Add(npc);
|
||||
npc.Number = 560;
|
||||
npc.Designation = "Heykel Savasi Gorevlisi";
|
||||
npc.Designation = "TvT Event Gorevlisi";
|
||||
npc.NpcWindow = NpcWindow.Undefined;
|
||||
npc.ObjectKind = NpcObjectKind.PassiveNpc;
|
||||
npc.SetGuid(npc.Number);
|
||||
|
||||
@@ -8,7 +8,7 @@ using MUnique.OpenMU.DataModel.Configuration;
|
||||
using MUnique.OpenMU.Persistence.Initialization.VersionSeasonSix.Maps;
|
||||
|
||||
/// <summary>
|
||||
/// The initializer for the Heykel Savasi event.
|
||||
/// The initializer for the TvT Event event.
|
||||
/// </summary>
|
||||
internal class HeykelSavasiInitializer : InitializerBase
|
||||
{
|
||||
@@ -33,7 +33,7 @@ internal class HeykelSavasiInitializer : InitializerBase
|
||||
var heykelSavasi = this.Context.CreateNew<MiniGameDefinition>();
|
||||
heykelSavasi.SetGuid((short)MiniGameType.HeykelSavasi, 0);
|
||||
this.GameConfiguration.MiniGameDefinitions.Add(heykelSavasi);
|
||||
heykelSavasi.Name = "Heykel Savasi";
|
||||
heykelSavasi.Name = "TvT Event";
|
||||
heykelSavasi.Description = "Takim vs takim heykel kirma savasi.";
|
||||
heykelSavasi.Type = MiniGameType.HeykelSavasi;
|
||||
heykelSavasi.GameLevel = 0;
|
||||
|
||||
@@ -9,9 +9,9 @@ using MUnique.OpenMU.DataModel.Configuration;
|
||||
using MUnique.OpenMU.GameLogic.Attributes;
|
||||
|
||||
/// <summary>
|
||||
/// The initialization for the Heykel Savasi event map.
|
||||
/// The initialization for the TvT Event event map.
|
||||
/// Statue/guard monster definitions and NPC/monster spawns are added by later
|
||||
/// Heykel Savasi tasks; for now this is an empty terrain-only skeleton.
|
||||
/// TvT Event tasks; for now this is an empty terrain-only skeleton.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The MU client loads world folder <c>World{Number + 1}</c>, so server map
|
||||
@@ -27,7 +27,7 @@ internal class HeykelSavasiMap : BaseMapInitializer
|
||||
/// <summary>
|
||||
/// The Name of the Map.
|
||||
/// </summary>
|
||||
internal const string Name = "Heykel Savasi";
|
||||
internal const string Name = "TvT Event";
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="HeykelSavasiMap"/> class.
|
||||
@@ -51,14 +51,14 @@ internal class HeykelSavasiMap : BaseMapInitializer
|
||||
/// <inheritdoc/>
|
||||
protected override IEnumerable<MonsterSpawnArea> CreateNpcSpawns()
|
||||
{
|
||||
// Event NPCs are added by later Heykel Savasi tasks.
|
||||
// Event NPCs are added by later TvT Event tasks.
|
||||
yield break;
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
protected override IEnumerable<MonsterSpawnArea> CreateMonsterSpawns()
|
||||
{
|
||||
// Statue/guard monster spawns are added by later Heykel Savasi tasks.
|
||||
// Statue/guard monster spawns are added by later TvT Event tasks.
|
||||
yield break;
|
||||
}
|
||||
|
||||
|
||||
@@ -769,7 +769,7 @@ internal partial class NpcInitialization : Version095d.NpcInitialization
|
||||
{
|
||||
var def = this.Context.CreateNew<MonsterDefinition>();
|
||||
def.Number = 560;
|
||||
def.Designation = "Heykel Savasi Gorevlisi";
|
||||
def.Designation = "TvT Event Gorevlisi";
|
||||
def.NpcWindow = NpcWindow.Undefined; // routed via IPlayerTalkToNpcPlugIn in a later task
|
||||
def.ObjectKind = NpcObjectKind.PassiveNpc;
|
||||
this.GameConfiguration.Monsters.Add(def);
|
||||
|
||||
Reference in New Issue
Block a user