Skip to content

Commit

Permalink
*removed linebreak check
Browse files Browse the repository at this point in the history
  • Loading branch information
Morphyum committed Jul 31, 2018
1 parent daf257d commit 2952825
Show file tree
Hide file tree
Showing 5,303 changed files with 86,964 additions and 87,470 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 0 additions & 3 deletions DocsToSystemJSON/DocsToSystemJSON/Converter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,12 @@ public void newMap() {
year = "Faction3040";
}
string path = OutputPath + yearFolder + systemJObject[year] + "/" + newSystemJObject["Description"]["Id"] + ".json";
path = path.Replace("\n", "");
(new FileInfo(path)).Directory.Create();
File.WriteAllText(path, newSystemJObject.ToString());

path = OriginalData + "/" + newSystemJObject["Description"]["Id"] + ".json";
path = path.Replace("\n", "");
if (!File.Exists(OriginalData + "/" + newSystemJObject["Description"]["Id"] + ".json")) {
string filepath = OutputPath + "/StarSystems/" + newSystemJObject["Description"]["Id"] + ".json";
filepath = filepath.Replace("\n", "");
(new FileInfo(filepath)).Directory.Create();
File.WriteAllText(filepath, newSystemJObject.ToString());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,37 +16,29 @@
"Tags": {
"items": [
"planet_name_alloway(hbs)",
"planet_size_small",
"planet_climate_terran",
"planet_other_storms",
"planet_size_medium",
"planet_climate_arid",
"planet_other_taintedair",
"planet_feature_asteroids",
"planet_feature_comet",
"planet_feature_gasgiant",
"planet_feature_rings",
"planet_feature_moon03",
"planet_other_moon",
"planet_pop_none",
"planet_pop_small",
"planet_other_megacity",
"planet_civ_innersphere",
"planet_industry_poor",
"planet_industry_recreation",
"planet_industry_mining",
"planet_industry_aquaculture",
"planet_industry_agriculture",
"planet_industry_research",
"planet_industry_manufacturing",
"planet_other_comstar",
"planet_other_hub",
"planet_other_blackmarket",
"planet_other_starleague",
"planet_other_alienvegetation",
"planet_other_boreholes",
"planet_other_newcolony",
"planet_other_pirate",
"planet_other_prison",
"planet_ruins",
" planet_other_empty"
],
"tagSetSourceFile": ""
},
"FuelingStation": true,
"JumpDistance": -9,
"FuelingStation": false,
"JumpDistance": -14,
"Owner": "NoFaction",
"ShopRefreshRate": 0,
"ShopMaxInventory": 0,
Expand Down Expand Up @@ -109,7 +101,7 @@
"Influence": 0
}
],
"Difficulty": -4,
"Difficulty": 5,
"TravelRequirements": [
{
"Scope": "Company",
Expand All @@ -135,14 +127,10 @@
"tagSetSourceFile": ""
},
"SupportedBiomes": [
"highlandsSpring",
"highlandsFall",
"lowlandsSpring",
"lowlandsFall",
"badlandsParched",
"lowlandsCoastal"
"lowlandsCoastal",
"badlandsParched"
],
"StarType": "K",
"StarType": "0",
"ContractEmployers": [],
"ContractTargets": [
"ComStar",
Expand Down
27 changes: 13 additions & 14 deletions InnerSphereMap_data/IS3040/Abandoned/starsystemdef_Alnadal.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,31 @@
"Tags": {
"items": [
"planet_name_alnadal",
"planet_size_large",
"planet_size_medium",
"planet_climate_lunar",
"planet_other_volcanic",
"planet_other_megaforest",
"planet_other_mudflats",
"planet_other_floatingworld",
"planet_other_fungus",
"planet_other_storms",
"planet_other_taintedair",
"planet_feature_comet",
"planet_feature_moon01",
"planet_other_moon",
"planet_pop_small",
"planet_other_megacity",
"planet_civ_innersphere",
"planet_industry_rich",
"planet_industry_recreation",
"planet_industry_mining",
"planet_industry_agriculture",
"planet_industry_research",
"planet_industry_manufacturing",
"planet_other_blackmarket",
"planet_other_newcolony",
"planet_other_comstar",
"planet_other_hub",
"planet_other_pirate",
"planet_other_prison",
" planet_other_empty"
],
"tagSetSourceFile": ""
},
"FuelingStation": false,
"JumpDistance": -7,
"JumpDistance": -4,
"Owner": "NoFaction",
"ShopRefreshRate": 0,
"ShopMaxInventory": 0,
Expand Down Expand Up @@ -104,7 +103,7 @@
"Influence": 0
}
],
"Difficulty": 9,
"Difficulty": 4,
"TravelRequirements": [
{
"Scope": "Company",
Expand All @@ -130,10 +129,10 @@
"tagSetSourceFile": ""
},
"SupportedBiomes": [
"lunarVacuum",
"martianVacuum"
"desertParched",
"badlandsParched"
],
"StarType": "M",
"StarType": "G",
"ContractEmployers": [],
"ContractTargets": [
"ComStar",
Expand Down
40 changes: 19 additions & 21 deletions InnerSphereMap_data/IS3040/Abandoned/starsystemdef_Alto.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,33 @@
"Tags": {
"items": [
"planet_name_alto",
"planet_size_medium",
"planet_climate_tropical",
"planet_other_volcanic",
"planet_other_megaforest",
"planet_size_small",
"planet_climate_water",
"planet_other_mudflats",
"planet_other_floatingworld",
"planet_other_fungus",
"planet_other_stonedcaribou",
"planet_other_taintedair",
"planet_feature_asteroids",
"planet_feature_comet",
"planet_feature_gasgiant",
"planet_feature_moon03",
"planet_feature_rings",
"planet_feature_moon01",
"planet_other_moon",
"planet_pop_large",
"planet_industry_poor",
"planet_industry_mining",
"planet_pop_medium",
"planet_other_megacity",
"planet_civ_innersphere",
"planet_industry_rich",
"planet_industry_agriculture",
"planet_industry_aquaculture",
"planet_industry_manufacturing",
"planet_industry_research",
"planet_other_hub",
"planet_other_alienvegetation",
"planet_other_blackmarket",
"planet_other_pirate",
"planet_other_newcolony",
"planet_other_prison",
"planet_ruins",
" planet_other_empty"
],
"tagSetSourceFile": ""
},
"FuelingStation": false,
"JumpDistance": 11,
"FuelingStation": true,
"JumpDistance": -6,
"Owner": "NoFaction",
"ShopRefreshRate": 0,
"ShopMaxInventory": 0,
Expand Down Expand Up @@ -106,7 +105,7 @@
"Influence": 0
}
],
"Difficulty": -1,
"Difficulty": 0,
"TravelRequirements": [
{
"Scope": "Company",
Expand All @@ -133,10 +132,9 @@
},
"SupportedBiomes": [
"lowlandsCoastal",
"lowlandsSpring",
"lowlandsFall"
"highlandsSpring"
],
"StarType": "A",
"StarType": "M",
"ContractEmployers": [],
"ContractTargets": [
"ComStar",
Expand Down
30 changes: 12 additions & 18 deletions InnerSphereMap_data/IS3040/Abandoned/starsystemdef_Altoona(LC).json
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,28 @@
"items": [
"planet_name_altoona(lc)",
"planet_size_small",
"planet_climate_tropical",
"planet_other_floatingworld",
"planet_other_fungus",
"planet_other_stonedcaribou",
"planet_feature_moon03",
"planet_other_moon",
"planet_pop_small",
"planet_climate_arid",
"planet_other_mudflats",
"planet_other_taintedair",
"planet_feature_comet",
"planet_feature_rings",
"planet_pop_large",
"planet_other_megacity",
"planet_industry_poor",
"planet_industry_recreation",
"planet_industry_mining",
"planet_industry_aquaculture",
"planet_industry_research",
"planet_industry_manufacturing",
"planet_other_starleague",
"planet_other_hub",
"planet_other_alienvegetation",
"planet_other_blackmarket",
"planet_other_boreholes",
"planet_other_newcolony",
"planet_other_pirate",
"planet_ruins",
" planet_other_empty"
],
"tagSetSourceFile": ""
},
"FuelingStation": false,
"JumpDistance": 10,
"FuelingStation": true,
"JumpDistance": -14,
"Owner": "NoFaction",
"ShopRefreshRate": 0,
"ShopMaxInventory": 0,
Expand Down Expand Up @@ -106,7 +101,7 @@
"Influence": 0
}
],
"Difficulty": -8,
"Difficulty": -7,
"TravelRequirements": [
{
"Scope": "Company",
Expand All @@ -133,10 +128,9 @@
},
"SupportedBiomes": [
"lowlandsCoastal",
"lowlandsSpring",
"lowlandsFall"
"badlandsParched"
],
"StarType": "A",
"StarType": "G",
"ContractEmployers": [],
"ContractTargets": [
"ComStar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,31 @@
"Tags": {
"items": [
"planet_name_ambatomainty",
"planet_size_medium",
"planet_size_small",
"planet_climate_lunar",
"planet_other_volcanic",
"planet_other_megaforest",
"planet_other_floatingworld",
"planet_other_fungus",
"planet_other_stonedcaribou",
"planet_other_storms",
"planet_other_taintedair",
"planet_feature_asteroids",
"planet_feature_rings",
"planet_pop_small",
"planet_other_megacity",
"planet_feature_comet",
"planet_feature_moon03",
"planet_other_moon",
"planet_pop_large",
"planet_civ_innersphere",
"planet_industry_research",
"planet_industry_agriculture",
"planet_other_hub",
"planet_other_alienvegetation",
"planet_other_boreholes",
"planet_other_newcolony",
"planet_other_pirate",
"planet_other_prison",
"planet_ruins",
" planet_other_empty"
],
"tagSetSourceFile": ""
},
"FuelingStation": false,
"JumpDistance": 12,
"FuelingStation": true,
"JumpDistance": 5,
"Owner": "NoFaction",
"ShopRefreshRate": 0,
"ShopMaxInventory": 0,
Expand Down Expand Up @@ -101,7 +103,7 @@
"Influence": 0
}
],
"Difficulty": -6,
"Difficulty": 0,
"TravelRequirements": [
{
"Scope": "Company",
Expand All @@ -127,10 +129,10 @@
"tagSetSourceFile": ""
},
"SupportedBiomes": [
"lunarVacuum",
"martianVacuum"
"desertParched",
"badlandsParched"
],
"StarType": "A",
"StarType": "0",
"ContractEmployers": [],
"ContractTargets": [
"ComStar",
Expand Down
Loading

0 comments on commit 2952825

Please sign in to comment.