Differential D4813 Diff 21100 binaries/data/mods/public/simulation/data/settings/player_defaults.json
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/data/settings/player_defaults.json
{ | { | ||||
"PlayerData": | "PlayerData": | ||||
[ | [ | ||||
{ | { | ||||
"Name": "Gaia", | "Name": "Gaia", | ||||
"Civ": "gaia", | "Civ": "gaia", | ||||
"Color": { "r": 255, "g": 255, "b": 255 }, | "Color": { "r": 255, "g": 255, "b": 255 }, | ||||
"AI": "", | "AI": "", | ||||
"AIDiff": 3, | "AIDiff": 3, | ||||
"AIBehavior": "random" | "AIBehavior": "random" | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Player 1", | "Name": "Player 1", | ||||
"Civ": "athen", | "Civ": "athen", | ||||
"Color": { "r": 21, "g": 55, "b": 149 }, | "Color": { "r": 10, "g": 10, "b": 190 }, | ||||
Silier: Why is this still needed? | |||||
Done Inline Actionsthere are some code depdency that still use this, one example atlasUI, so, this is the minimal change that allow expose more colors selection in gamesetup without breaking any code in simulation or editor. I will convey we need to "clean" code that use this "default" color from player_defaults.json, but wil be handle in another ticket IMO. trompetin17: there are some code depdency that still use this, one example atlasUI, so, this is the minimal… | |||||
Not Done Inline ActionsUse keys instead of duplicating the colors or decorelate them completely Stan: Use keys instead of duplicating the colors or decorelate them completely | |||||
"AI": "petra", | "AI": "petra", | ||||
Done Inline ActionsThe elements should have the same order phosit: The elements should have the same order | |||||
"AIDiff": 3, | "AIDiff": 3, | ||||
"AIBehavior": "random" | "AIBehavior": "random" | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Player 2", | "Name": "Player 2", | ||||
"Civ": "cart", | "Civ": "cart", | ||||
"Color": { "r": 150, "g": 20, "b": 20 }, | "Color": { "r": 230, "g": 10, "b": 10 }, | ||||
"AI": "petra", | "AI": "petra", | ||||
"AIDiff": 3, | "AIDiff": 3, | ||||
"AIBehavior": "random" | "AIBehavior": "random" | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Player 3", | "Name": "Player 3", | ||||
"Civ": "gaul", | "Civ": "gaul", | ||||
"Color": { "r": 86 , "g": 180, "b": 31 }, | "Color": { "r": 125 , "g": 235, "b": 15 }, | ||||
"AI": "petra", | "AI": "petra", | ||||
"AIDiff": 3, | "AIDiff": 3, | ||||
"AIBehavior": "random" | "AIBehavior": "random" | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Player 4", | "Name": "Player 4", | ||||
"Civ": "iber", | "Civ": "iber", | ||||
"Color": { "r": 231, "g": 200, "b": 5 }, | "Color": { "r": 255, "g": 255, "b": 55 }, | ||||
"AI": "petra", | "AI": "petra", | ||||
"AIDiff": 3, | "AIDiff": 3, | ||||
"AIBehavior": "random" | "AIBehavior": "random" | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Player 5", | "Name": "Player 5", | ||||
"Civ": "mace", | "Civ": "mace", | ||||
"Color": { "r": 50, "g": 170, "b": 170 }, | "Color": { "r": 130, "g": 0, "b": 230 }, | ||||
"AI": "petra", | "AI": "petra", | ||||
"AIDiff": 3, | "AIDiff": 3, | ||||
"AIBehavior": "random" | "AIBehavior": "random" | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Player 6", | "Name": "Player 6", | ||||
"Civ": "maur", | "Civ": "maur", | ||||
"Color": { "r": 160, "g": 80, "b": 200 }, | "Color": { "r": 255, "g": 130, "b": 0 }, | ||||
"AI": "petra", | "AI": "petra", | ||||
"AIDiff": 3, | "AIDiff": 3, | ||||
"AIBehavior": "random" | "AIBehavior": "random" | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Player 7", | "Name": "Player 7", | ||||
"Civ": "pers", | "Civ": "pers", | ||||
"Color": { "r": 220, "g": 115, "b": 16 }, | "Color": { "r": 10, "g": 230, "b": 230 }, | ||||
"AI": "petra", | "AI": "petra", | ||||
"AIDiff": 3, | "AIDiff": 3, | ||||
"AIBehavior": "random" | "AIBehavior": "random" | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Player 8", | "Name": "Player 8", | ||||
"Civ": "rome", | "Civ": "rome", | ||||
"Color": { "r": 64, "g": 64, "b": 64 }, | "Color": { "r": 20, "g": 80, "b": 60 }, | ||||
"AI": "petra", | "AI": "petra", | ||||
"AIDiff": 3, | "AIDiff": 3, | ||||
"AIBehavior": "random" | "AIBehavior": "random" | ||||
} | } | ||||
] | ] | ||||
} | } |
Wildfire Games · Phabricator
Why is this still needed?