map format change: move mapactor Type onto header line
This commit is contained in:
@@ -131,7 +131,8 @@ namespace OpenRA.FileFormats
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
foreach (var kv in yaml["Actors"].Nodes)
|
foreach (var kv in yaml["Actors"].Nodes)
|
||||||
{
|
{
|
||||||
|
kv.Value.Nodes.Add( "Type", new MiniYaml( kv.Value.Value ) );
|
||||||
var a = new ActorReference(kv.Key, kv.Value);
|
var a = new ActorReference(kv.Key, kv.Value);
|
||||||
Actors.Add(a.Id, a);
|
Actors.Add(a.Id, a);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,68 +27,52 @@ Players:
|
|||||||
NonCombatant: True
|
NonCombatant: True
|
||||||
|
|
||||||
Actors:
|
Actors:
|
||||||
Actor0:
|
Actor0: mine
|
||||||
Type: mine
|
|
||||||
Location: 23,107
|
Location: 23,107
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor1:
|
Actor1: mine
|
||||||
Type: mine
|
|
||||||
Location: 20,105
|
Location: 20,105
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor4:
|
Actor4: mine
|
||||||
Type: mine
|
|
||||||
Location: 23,20
|
Location: 23,20
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor3:
|
Actor3: mine
|
||||||
Type: mine
|
|
||||||
Location: 20,23
|
Location: 20,23
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor5:
|
Actor5: mine
|
||||||
Type: mine
|
|
||||||
Location: 104,19
|
Location: 104,19
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor6:
|
Actor6: mine
|
||||||
Type: mine
|
|
||||||
Location: 108,22
|
Location: 108,22
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor7:
|
Actor7: mine
|
||||||
Type: mine
|
|
||||||
Location: 105,108
|
Location: 105,108
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor8:
|
Actor8: mine
|
||||||
Type: mine
|
|
||||||
Location: 108,105
|
Location: 108,105
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor2:
|
Actor2: mine
|
||||||
Type: mine
|
|
||||||
Location: 71,109
|
Location: 71,109
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor9:
|
Actor9: mine
|
||||||
Type: mine
|
|
||||||
Location: 75,109
|
Location: 75,109
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor10:
|
Actor10: mine
|
||||||
Type: mine
|
|
||||||
Location: 109,47
|
Location: 109,47
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor11:
|
Actor11: mine
|
||||||
Type: mine
|
|
||||||
Location: 109,44
|
Location: 109,44
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor12:
|
Actor12: mine
|
||||||
Type: mine
|
|
||||||
Location: 53,18
|
Location: 53,18
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor13:
|
Actor13: mine
|
||||||
Type: mine
|
|
||||||
Location: 49,18
|
Location: 49,18
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor14:
|
Actor14: mine
|
||||||
Type: mine
|
|
||||||
Location: 18,80
|
Location: 18,80
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor15:
|
Actor15: mine
|
||||||
Type: mine
|
|
||||||
Location: 18,75
|
Location: 18,75
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user