Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Graphical Overmap mod to support buildings from some other mods #36247

Merged
merged 11 commits into from
Dec 22, 2019
112 changes: 112 additions & 0 deletions data/mods/Graphical_Overmap/overmap_terrain.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,118 @@
"sym": "â",
"color": "brown"
},
{
"type": "overmap_terrain",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am thinking you should be using copy-from and change only sym (and color if necessary), so other settings would be copied over from original mods.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, it's so I'm not unnecessarily overwriting any changes that authors would make to their respective mods? I've cleaned up the files. Thanks for the feedback.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, GO mods only needs symbol to be changed, so any other properties would remain intact when copying.

"id": "cabin",
"name": "cabin",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_roof",
"name": "cabin roof",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_1",
"name": "cabin",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_roof_1",
"name": "cabin roof",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_2",
"name": "cabin",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_roof_2",
"name": "cabin roof",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_3",
"name": "cabin",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_roof_3",
"name": "cabin roof",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_4",
"name": "cabin",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_roof_4",
"name": "cabin roof",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_5",
"name": "cabin",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_roof_5",
"name": "cabin roof",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_6",
"name": "cabin",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_roof_6",
"name": "cabin roof",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_7",
"name": "cabin",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "cabin_roof_7",
"name": "cabin roof",
"sym": "â",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": "dirtroad1_aban1",
Expand Down
12 changes: 12 additions & 0 deletions data/mods/Graphical_Overmap_FujiStruct/modinfo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"type": "MOD_INFO",
"ident": "Graphical_Overmap_Fujistruct",
"name": "Graphical Overmap Fujistruct",
"authors": [ "Kilvoctu" ],
"maintainers": [ "Kilvoctu" ],
"description": "Fuji Structures mod support for Graphical Overmap.",
"category": "graphical",
"dependencies": [ "dda", "Graphical_Overmap", "FujiStruct" ]
}
]
254 changes: 254 additions & 0 deletions data/mods/Graphical_Overmap_FujiStruct/overmap_terrain_fujistruct.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,254 @@
[
{
"type": "overmap_terrain",
"id": "s_electronicstore",
"copy-from": "s_electronicstore",
"sym": "ç"
},
{
"type": "overmap_terrain",
"id": "s_electronicstore_2ndfloor",
"copy-from": "s_electronicstore"
},
{
"type": "overmap_terrain",
"id": "s_gunstore",
"copy-from": "s_gunstore",
"sym": "ç"
},
{
"type": "overmap_terrain",
"id": "s_gunstore_2ndfloor",
"copy-from": "s_gunstore"
},
{
"type": "overmap_terrain",
"id": "s_gunstore_roof",
"copy-from": "s_gunstore"
},
{
"type": "overmap_terrain",
"id": "s_diner",
"copy-from": "s_diner",
"sym": "ç"
},
{
"type": "overmap_terrain",
"id": "s_diner_2ndfloor",
"copy-from": "s_diner"
},
{
"type": "overmap_terrain",
"id": "s_diner_roof",
"copy-from": "s_diner"
},
{
"type": "overmap_terrain",
"id": "s_apt",
"copy-from": "s_apt",
"sym": "Ç"
},
{
"type": "overmap_terrain",
"id": "s_apt_2ndfloor",
"copy-from": "s_apt"
},
{
"type": "overmap_terrain",
"id": "s_apt_roof",
"copy-from": "s_apt"
},
{
"type": "overmap_terrain",
"id": "s_apt_2",
"copy-from": "s_apt_2",
"sym": "Ç"
},
{
"type": "overmap_terrain",
"id": "s_apt_2_2ndfloor",
"copy-from": "s_apt_2"
},
{
"type": "overmap_terrain",
"id": "s_apt_2_roof",
"copy-from": "s_apt_2"
},
{
"type": "overmap_terrain",
"id": "s_cardealer",
"copy-from": "s_cardealer",
"sym": "ç"
},
{
"type": "overmap_terrain",
"id": "s_cardealer_roof",
"copy-from": "s_cardealer"
},
{
"type": "overmap_terrain",
"id": "s_camping",
"copy-from": "s_camping",
"sym": "ç"
},
{
"type": "overmap_terrain",
"id": "s_camping_roof",
"copy-from": "s_camping"
},
{
"type": "overmap_terrain",
"id": "s_games",
"copy-from": "s_games",
"sym": "ç"
},
{
"type": "overmap_terrain",
"id": "s_games_roof",
"copy-from": "s_games"
},
{
"type": "overmap_terrain",
"id": "s_air_term",
"copy-from": "s_air_term",
"sym": "ô"
},
{
"type": "overmap_terrain",
"id": "s_air_parking",
"copy-from": "s_air_parking",
"sym": "ô"
},
{
"type": "overmap_terrain",
"id": "s_air_atc",
"copy-from": "s_air_atc",
"sym": "ô"
},
{
"type": "overmap_terrain",
"id": "s_air_atc_2",
"copy-from": "s_air_atc_2",
"sym": "ô"
},
{
"type": "overmap_terrain",
"id": "s_air_atc_3",
"copy-from": "s_air_atc_3",
"sym": "ô"
},
{
"type": "overmap_terrain",
"id": "s_air_hangars",
"copy-from": "s_air_hangars",
"sym": "ý"
},
{
"type": "overmap_terrain",
"id": "s_air_runway",
"copy-from": "s_air_runway",
"sym": "ô"
},
{
"type": "overmap_terrain",
"id": "s_air_runway_hangars",
"copy-from": "s_air_runway_hangars",
"sym": "ô"
},
{
"type": "overmap_terrain",
"id": "s_air_runway_l",
"copy-from": "s_air_runway_l",
"sym": "ô"
},
{
"type": "overmap_terrain",
"id": "s_air_runway_r",
"copy-from": "s_air_runway_r",
"sym": "ô"
},
{
"type": "overmap_terrain",
"id": "s_air_runway_term",
"copy-from": "s_air_runway_term",
"sym": "ô"
},
{
"type": "overmap_terrain",
"id": "s_lightindustry_road_0",
"copy-from": "s_lightindustry_road_0",
"sym": "Ö"
},
{
"type": "overmap_terrain",
"id": "s_lightindustry_road_1",
"copy-from": "s_lightindustry_road_1",
"sym": "Ö"
},
{
"type": "overmap_terrain",
"id": "s_lightindustry_00",
"copy-from": "s_lightindustry_00",
"sym": "Ö"
},
{
"type": "overmap_terrain",
"id": "s_lightindustry_01",
"copy-from": "s_lightindustry_01",
"sym": "Ö"
},
{
"type": "overmap_terrain",
"id": "s_lightindustry_10",
"copy-from": "s_lightindustry_10",
"sym": "Ö"
},
{
"type": "overmap_terrain",
"id": "s_lightindustry_11",
"copy-from": "s_lightindustry_11",
"sym": "Ö"
},
{
"type": "overmap_terrain",
"id": "s_gas_g1",
"copy-from": "s_gas_g1",
"sym": "ú"
},
{
"type": "overmap_terrain",
"id": "s_gas_g0",
"copy-from": "s_gas_g0",
"sym": "ú"
},
{
"type": "overmap_terrain",
"id": "s_gas_b11",
"copy-from": "s_gas_b11",
"sym": "ú"
},
{
"type": "overmap_terrain",
"id": "s_gas_b20",
"copy-from": "s_gas_b20",
"sym": "Õ"
},
{
"type": "overmap_terrain",
"id": "s_gas_b21",
"copy-from": "s_gas_b21",
"sym": "Õ"
},
{
"type": "overmap_terrain",
"id": "s_bunker_shop_g",
"copy-from": "s_bunker_shop_g",
"sym": "à"
},
{
"type": "overmap_terrain",
"id": "s_bunker_shop_b",
"copy-from": "s_bunker_shop_b",
"sym": "Õ"
}
]
12 changes: 12 additions & 0 deletions data/mods/Graphical_Overmap_More_Locations/modinfo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"type": "MOD_INFO",
"ident": "Graphical_Overmap_More_Locations",
"name": "Graphical Overmap More Locations",
"authors": [ "Kilvoctu" ],
"maintainers": [ "Kilvoctu" ],
"description": "More Locations mod support for Graphical Overmap.",
"category": "graphical",
"dependencies": [ "dda", "Graphical_Overmap", "more_locations" ]
}
]
Loading