Simplify map generator naming.

This commit is contained in:
Paul Chote
2025-03-02 08:58:48 +00:00
committed by Gustas Kažukauskas
parent ab3b6a0e43
commit e06d74b417
5 changed files with 10 additions and 10 deletions

View File

@@ -23,7 +23,7 @@ using static OpenRA.Mods.Common.Traits.ResourceLayerInfo;
namespace OpenRA.Mods.Common.Traits
{
[TraitLocation(SystemActors.EditorWorld)]
public sealed class RaMapGeneratorInfo : TraitInfo<RaMapGenerator>, IMapGeneratorInfo
public sealed class ExperimentalMapGeneratorInfo : TraitInfo<ExperimentalMapGenerator>, IMapGeneratorInfo
{
[FieldLoader.Require]
public readonly string Type = null;
@@ -1802,5 +1802,5 @@ namespace OpenRA.Mods.Common.Traits
}
}
public class RaMapGenerator { /* we're only interested in the Info */ }
public class ExperimentalMapGenerator { /* we're only interested in the Info */ }
}

View File

@@ -51,7 +51,7 @@ faction-nod =
and the alien substance Tiberium. They use stealth technology
and guerilla tactics to defeat those who oppose them.
map-generator-ra = RA Experimental (CnC)
map-generator-experimental = Experimental
map-generator-clear = Clear
## defaults.yaml

View File

@@ -1,7 +1,7 @@
^MapGenerators:
RaMapGenerator@ra:
Type: ra
Name: map-generator-ra
ExperimentalMapGenerator@experimental:
Type: experimental
Name: map-generator-experimental
Settings:
Option@hidden_defaults:
Choice@hidden_defaults:

View File

@@ -34,7 +34,7 @@ options-starting-units =
resource-minerals = Valuable Minerals
map-generator-ra = RA Experimental
map-generator-experimental = Experimental
map-generator-clear = Clear
## Faction

View File

@@ -1,7 +1,7 @@
^MapGenerators:
RaMapGenerator@ra:
Type: ra
Name: map-generator-ra
ExperimentalMapGenerator@experimental:
Type: experimental
Name: map-generator-experimental
Settings:
Option@hidden_defaults:
Choice@hidden_defaults: