﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
6780	Redundant map settings when converting a random map to a scenario map	Langbart		"==== to reproduce
- go to `Atlas` (aka `Scenario Editor`)
- generate a random map, e.g. `Mainland` and click `Save as` a scenario map
[[Image(atlas.png, 600px, center)]]

- select the recently generated scenario map in the game setup menu

[[Image(gamesetup.png, 600px, center)]]

- notice the redundant `Biome` selection
- check the `ScriptSettings` in the `.xml` file, a couple of settings shouldn't be there: `AISeed`, `Keywords [""multiplayer""]`, `Nomad`, `Script`, `Seed`, `Size`, `SupportedBiomes ` and  `mapType`
{{{#!json lineno=0 marks=2,6-8,11,32-35,39
{
  ""AISeed"": 0,
  ""AllyView"": false,
  ""CircularMap"": true,
  ""Description"": ""A typical map without any water."",
  ""Keywords"": [
    ""multiplayer""
  ],
  ""LockTeams"": false,
  ""Name"": ""Mainland_Scenario"",
  ""Nomad"": false,
  ""PlayerData"": [
    {
      ""Civ"": ""athen"",
      ""Name"": ""A""
    },
    {
      ""Civ"": ""gaul"",
      ""Name"": ""B""
    },
    {
      ""Civ"": ""mace"",
      ""Name"": ""C""
    },
    {
      ""Civ"": ""pers"",
      ""Name"": ""D""
    }
  ],
  ""Preview"": ""mainland.png"",
  ""RevealMap"": false,
  ""Script"": ""mainland.js"",
  ""Seed"": 0,
  ""Size"": 448,
  ""SupportedBiomes"": ""generic/"",
  ""VictoryConditions"": [
    ""conquest""
  ],
  ""mapType"": ""random""
}
}}}

==== expected behavior
- contain only settings that are necessary for a scenario map

==== optional
- add a check in `checkrefs.py`"	defect	new	Should Have	Alpha 27	Core engine				
