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>
|
/// <summary>
|
||||||
/// A chat command plugin which allows a game master to join a team of the currently open
|
/// 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>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// This is a GM testing aid which substitutes for the client team-select panel (which is
|
/// 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
|
/// 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>
|
/// </remarks>
|
||||||
[Guid("AFCA36C1-B0A0-4D98-BBD6-2352FD18CCA8")]
|
[Guid("AFCA36C1-B0A0-4D98-BBD6-2352FD18CCA8")]
|
||||||
[PlugIn]
|
[PlugIn]
|
||||||
@@ -61,7 +61,7 @@ public class HeykelSavasiTeamTestChatCommandPlugIn : IChatCommandPlugIn
|
|||||||
: null;
|
: null;
|
||||||
if (context is 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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ using MUnique.OpenMU.Interfaces;
|
|||||||
using MUnique.OpenMU.PlugIns;
|
using MUnique.OpenMU.PlugIns;
|
||||||
|
|
||||||
/// <summary>
|
/// <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.
|
/// panel while the event's registration is open.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Guid("80E3B326-474F-45AC-9FA4-3464801AE079")]
|
[Guid("80E3B326-474F-45AC-9FA4-3464801AE079")]
|
||||||
@@ -21,7 +21,7 @@ using MUnique.OpenMU.PlugIns;
|
|||||||
public class HeykelSavasiNpcPlugin : IPlayerTalkToNpcPlugIn
|
public class HeykelSavasiNpcPlugin : IPlayerTalkToNpcPlugIn
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the NPC number of the Heykel Savasi event NPC.
|
/// Gets the NPC number of the TvT Event event NPC.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static short NpcNumber => 560;
|
public static short NpcNumber => 560;
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ public class HeykelSavasiNpcPlugin : IPlayerTalkToNpcPlugIn
|
|||||||
if (context is null)
|
if (context is null)
|
||||||
{
|
{
|
||||||
await player.InvokeViewPlugInAsync<IShowMessagePlugIn>(p =>
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,5 +19,5 @@ public class HeykelSavasiGameServerState : PeriodicTaskGameServerState
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public override string Description => "Heykel Savasi";
|
public override string Description => "TvT Event";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ public class HeykelSavasiStartConfiguration : MiniGameStartConfiguration
|
|||||||
new()
|
new()
|
||||||
{
|
{
|
||||||
PreStartMessageDelay = TimeSpan.Zero,
|
PreStartMessageDelay = TimeSpan.Zero,
|
||||||
EntranceOpenedMessage = "Heykel Savasi entrance is open and closes in {0} minute(s).",
|
EntranceOpenedMessage = "TvT Event entrance is open and closes in {0} minute(s).",
|
||||||
EntranceClosedMessage = "Heykel Savasi entrance closed.",
|
EntranceClosedMessage = "TvT Event entrance closed.",
|
||||||
TaskDuration = TimeSpan.FromMinutes(20),
|
TaskDuration = TimeSpan.FromMinutes(20),
|
||||||
Timetable = new List<TimeOnly>
|
Timetable = new List<TimeOnly>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ using MUnique.OpenMU.PlugIns;
|
|||||||
/// This plugin enables the start of the heykel savasi event.
|
/// This plugin enables the start of the heykel savasi event.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[PlugIn]
|
[PlugIn]
|
||||||
[Display(Name = nameof(HeykelSavasiStartPlugIn), Description = "Heykel Savasi event")]
|
[Display(Name = nameof(HeykelSavasiStartPlugIn), Description = "TvT Event")]
|
||||||
[Guid("2C6E1B4A-7F3D-4E9A-9B1C-3A6D2F8E5C7B")]
|
[Guid("2C6E1B4A-7F3D-4E9A-9B1C-3A6D2F8E5C7B")]
|
||||||
public sealed class HeykelSavasiStartPlugIn : MiniGameStartBasePlugIn<HeykelSavasiStartConfiguration, HeykelSavasiGameServerState>
|
public sealed class HeykelSavasiStartPlugIn : MiniGameStartBasePlugIn<HeykelSavasiStartConfiguration, HeykelSavasiGameServerState>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ using MUnique.OpenMU.Persistence.Initialization.VersionSeasonSix.Maps;
|
|||||||
using MUnique.OpenMU.PlugIns;
|
using MUnique.OpenMU.PlugIns;
|
||||||
|
|
||||||
/// <summary>
|
/// <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
|
/// (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
|
/// 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
|
/// 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")]
|
[Guid("F2A7C4D9-3E1B-4A86-9C0D-5B7E2A1F8D42")]
|
||||||
public class AddHeykelSavasiEventUpdateSeason6 : UpdatePlugInBase
|
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 />
|
/// <inheritdoc />
|
||||||
public override UpdateVersion Version => UpdateVersion.AddHeykelSavasiEventSeason6;
|
public override UpdateVersion Version => UpdateVersion.AddHeykelSavasiEventSeason6;
|
||||||
@@ -47,7 +47,7 @@ public class AddHeykelSavasiEventUpdateSeason6 : UpdatePlugInBase
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override async ValueTask ApplyAsync(IContext context, GameConfiguration gameConfiguration)
|
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))
|
if (gameConfiguration.Maps.Any(m => m.Number == HeykelSavasiMap.Number))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
@@ -99,7 +99,7 @@ public class AddHeykelSavasiEventUpdateSeason6 : UpdatePlugInBase
|
|||||||
var npc = context.CreateNew<MonsterDefinition>();
|
var npc = context.CreateNew<MonsterDefinition>();
|
||||||
gameConfiguration.Monsters.Add(npc);
|
gameConfiguration.Monsters.Add(npc);
|
||||||
npc.Number = 560;
|
npc.Number = 560;
|
||||||
npc.Designation = "Heykel Savasi Gorevlisi";
|
npc.Designation = "TvT Event Gorevlisi";
|
||||||
npc.NpcWindow = NpcWindow.Undefined;
|
npc.NpcWindow = NpcWindow.Undefined;
|
||||||
npc.ObjectKind = NpcObjectKind.PassiveNpc;
|
npc.ObjectKind = NpcObjectKind.PassiveNpc;
|
||||||
npc.SetGuid(npc.Number);
|
npc.SetGuid(npc.Number);
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using MUnique.OpenMU.DataModel.Configuration;
|
|||||||
using MUnique.OpenMU.Persistence.Initialization.VersionSeasonSix.Maps;
|
using MUnique.OpenMU.Persistence.Initialization.VersionSeasonSix.Maps;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The initializer for the Heykel Savasi event.
|
/// The initializer for the TvT Event event.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal class HeykelSavasiInitializer : InitializerBase
|
internal class HeykelSavasiInitializer : InitializerBase
|
||||||
{
|
{
|
||||||
@@ -33,7 +33,7 @@ internal class HeykelSavasiInitializer : InitializerBase
|
|||||||
var heykelSavasi = this.Context.CreateNew<MiniGameDefinition>();
|
var heykelSavasi = this.Context.CreateNew<MiniGameDefinition>();
|
||||||
heykelSavasi.SetGuid((short)MiniGameType.HeykelSavasi, 0);
|
heykelSavasi.SetGuid((short)MiniGameType.HeykelSavasi, 0);
|
||||||
this.GameConfiguration.MiniGameDefinitions.Add(heykelSavasi);
|
this.GameConfiguration.MiniGameDefinitions.Add(heykelSavasi);
|
||||||
heykelSavasi.Name = "Heykel Savasi";
|
heykelSavasi.Name = "TvT Event";
|
||||||
heykelSavasi.Description = "Takim vs takim heykel kirma savasi.";
|
heykelSavasi.Description = "Takim vs takim heykel kirma savasi.";
|
||||||
heykelSavasi.Type = MiniGameType.HeykelSavasi;
|
heykelSavasi.Type = MiniGameType.HeykelSavasi;
|
||||||
heykelSavasi.GameLevel = 0;
|
heykelSavasi.GameLevel = 0;
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ using MUnique.OpenMU.DataModel.Configuration;
|
|||||||
using MUnique.OpenMU.GameLogic.Attributes;
|
using MUnique.OpenMU.GameLogic.Attributes;
|
||||||
|
|
||||||
/// <summary>
|
/// <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
|
/// 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>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// The MU client loads world folder <c>World{Number + 1}</c>, so server map
|
/// The MU client loads world folder <c>World{Number + 1}</c>, so server map
|
||||||
@@ -27,7 +27,7 @@ internal class HeykelSavasiMap : BaseMapInitializer
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The Name of the Map.
|
/// The Name of the Map.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal const string Name = "Heykel Savasi";
|
internal const string Name = "TvT Event";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="HeykelSavasiMap"/> class.
|
/// Initializes a new instance of the <see cref="HeykelSavasiMap"/> class.
|
||||||
@@ -51,14 +51,14 @@ internal class HeykelSavasiMap : BaseMapInitializer
|
|||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
protected override IEnumerable<MonsterSpawnArea> CreateNpcSpawns()
|
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;
|
yield break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
protected override IEnumerable<MonsterSpawnArea> CreateMonsterSpawns()
|
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;
|
yield break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -769,7 +769,7 @@ internal partial class NpcInitialization : Version095d.NpcInitialization
|
|||||||
{
|
{
|
||||||
var def = this.Context.CreateNew<MonsterDefinition>();
|
var def = this.Context.CreateNew<MonsterDefinition>();
|
||||||
def.Number = 560;
|
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.NpcWindow = NpcWindow.Undefined; // routed via IPlayerTalkToNpcPlugIn in a later task
|
||||||
def.ObjectKind = NpcObjectKind.PassiveNpc;
|
def.ObjectKind = NpcObjectKind.PassiveNpc;
|
||||||
this.GameConfiguration.Monsters.Add(def);
|
this.GameConfiguration.Monsters.Add(def);
|
||||||
|
|||||||
Reference in New Issue
Block a user