Simplify map generator naming.
This commit is contained in:
committed by
Gustas Kažukauskas
parent
ab3b6a0e43
commit
e06d74b417
@@ -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 */ }
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user