added debug, etc
This commit is contained in:
@@ -62,8 +62,12 @@ namespace OpenRA
|
|||||||
Pair.New<string, Func<string, ProjectileInfo>>("Projectile", _ => new ProjectileInfo()));
|
Pair.New<string, Func<string, ProjectileInfo>>("Projectile", _ => new ProjectileInfo()));
|
||||||
VoiceInfo = new InfoLoader<VoiceInfo>(
|
VoiceInfo = new InfoLoader<VoiceInfo>(
|
||||||
Pair.New<string, Func<string, VoiceInfo>>("Voice", _ => new VoiceInfo()));
|
Pair.New<string, Func<string, VoiceInfo>>("Voice", _ => new VoiceInfo()));
|
||||||
|
|
||||||
var yamlRules = m.Rules.Reverse().Select(a => MiniYaml.FromFile(a)).Aggregate(MiniYaml.Merge);
|
Log.Write("Using rules files: ");
|
||||||
|
foreach (var y in m.Rules)
|
||||||
|
Log.Write(" -- {0}", y);
|
||||||
|
|
||||||
|
var yamlRules = m.Rules.Select(a => MiniYaml.FromFile(a)).Aggregate(MiniYaml.Merge);
|
||||||
|
|
||||||
Info = new Dictionary<string, ActorInfo>();
|
Info = new Dictionary<string, ActorInfo>();
|
||||||
foreach( var kv in yamlRules )
|
foreach( var kv in yamlRules )
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Packages:
|
|||||||
LegacyRules:
|
LegacyRules:
|
||||||
|
|
||||||
Rules:
|
Rules:
|
||||||
mods/ra-ng/rules.yaml
|
mods/ra-ng/crate-drop.yaml
|
||||||
mods/ra-ng/defense-queue.yaml
|
mods/ra-ng/defense-queue.yaml
|
||||||
|
|
||||||
Sequences:
|
Sequences:
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
[Settings]
|
[Settings]
|
||||||
NetworkHost=localhost
|
NetworkHost=localhost
|
||||||
NetworkPort=1234
|
NetworkPort=1234
|
||||||
InitialMods=ra
|
InitialMods=ra,ra-ng
|
||||||
|
PlayerName=Chris
|
||||||
Reference in New Issue
Block a user