Moved game save notification to StartGameNotification
This commit is contained in:
@@ -30,9 +30,6 @@ namespace OpenRA.Network
|
||||
[FluentReference]
|
||||
const string GameStarted = "notification-game-has-started";
|
||||
|
||||
[FluentReference]
|
||||
const string GameSaved = "notification-game-saved";
|
||||
|
||||
[FluentReference("player")]
|
||||
const string GamePaused = "notification-game-paused";
|
||||
|
||||
@@ -213,9 +210,6 @@ namespace OpenRA.Network
|
||||
}
|
||||
|
||||
case "GameSaved":
|
||||
if (!orderManager.World.IsReplay)
|
||||
TextNotificationsManager.AddSystemLine(GameSaved);
|
||||
|
||||
foreach (var nsr in orderManager.World.WorldActor.TraitsImplementing<INotifyGameSaved>())
|
||||
nsr.GameSaved(orderManager.World);
|
||||
break;
|
||||
|
||||
@@ -21,6 +21,8 @@ notification-ally-under-attack = Our ally is under attack.
|
||||
notification-silos-needed = Silos needed.
|
||||
|
||||
## world.yaml
|
||||
notification-game-saved = Game saved.
|
||||
|
||||
options-starting-units =
|
||||
.mcv-only = MCV Only
|
||||
.light-support = Light Support
|
||||
|
||||
@@ -265,6 +265,11 @@ World:
|
||||
ObjectivesPanel:
|
||||
PanelName: SKIRMISH_STATS
|
||||
RadarPings:
|
||||
StartGameNotification:
|
||||
Notification:
|
||||
LoadedNotification:
|
||||
SavedNotification:
|
||||
SavedTextNotification: notification-game-saved
|
||||
LoadWidgetAtGameStart:
|
||||
ShellmapRoot: MENU_BACKGROUND
|
||||
ScriptTriggers:
|
||||
|
||||
@@ -87,7 +87,6 @@ notification-lobby-disconnected = { $player } has left.
|
||||
|
||||
## UnitOrders
|
||||
notification-game-has-started = The game has started.
|
||||
notification-game-saved = Game saved.
|
||||
notification-game-paused = The game has been paused by { $player }.
|
||||
notification-game-unpaused = The game has been un-paused by { $player }.
|
||||
|
||||
|
||||
@@ -22,6 +22,8 @@ notification-cannot-build-here = Cannot build here.
|
||||
notification-one-of-our-buildings-has-been-captured = One of our buildings has been captured.
|
||||
|
||||
## world.yaml
|
||||
notification-game-saved = Game saved.
|
||||
|
||||
dropdown-map-worms =
|
||||
.label = Worms
|
||||
.description = Worms roam the map, devouring unprepared forces
|
||||
|
||||
@@ -246,6 +246,7 @@ World:
|
||||
ScriptTriggers:
|
||||
CellTriggerOverlay:
|
||||
StartGameNotification:
|
||||
SavedTextNotification: notification-game-saved
|
||||
FlashPostProcessEffect:
|
||||
Type: flash
|
||||
Color: E2DD8F4D
|
||||
|
||||
@@ -27,6 +27,8 @@ notification-ally-under-attack = Our ally is under attack.
|
||||
notification-silos-needed = Silos needed.
|
||||
|
||||
## world.yaml
|
||||
notification-game-saved = Game saved.
|
||||
|
||||
options-starting-units =
|
||||
.mcv-only = MCV Only
|
||||
.light-support = Light Support
|
||||
|
||||
@@ -271,6 +271,7 @@ World:
|
||||
DebugPauseState:
|
||||
RadarPings:
|
||||
StartGameNotification:
|
||||
SavedTextNotification: notification-game-saved
|
||||
ObjectivesPanel:
|
||||
PanelName: SKIRMISH_STATS
|
||||
LoadWidgetAtGameStart:
|
||||
|
||||
@@ -19,6 +19,8 @@ notification-harvester-under-attack = Harvester under attack.
|
||||
notification-silos-needed = Silos needed.
|
||||
|
||||
## World
|
||||
notification-game-saved = Game saved.
|
||||
|
||||
options-starting-units =
|
||||
.mcv-only = MCV Only
|
||||
.light = Light
|
||||
|
||||
@@ -381,6 +381,7 @@ World:
|
||||
ScreenShaker:
|
||||
RadarPings:
|
||||
StartGameNotification:
|
||||
SavedTextNotification: notification-game-saved
|
||||
ObjectivesPanel:
|
||||
PanelName: SKIRMISH_STATS
|
||||
LoadWidgetAtGameStart:
|
||||
|
||||
Reference in New Issue
Block a user