Issues with Buildings with Great Work slots, and a way of solving them.

Version 2 of my Culture Overview Fix somewhat improves Leugi's code -- unique variants of buildings with Great Work slots (e.g., the Celtic Ceilidh Hall) correctly replace (i.e., show up in the column of) their regular variant.

EDIT: This version had some problems; see next post.
 
To support custom unique variants of GW buildings which change the number of slots, version 3 of my Culture Overview Fix basically reverts to Leugi's code, but places the Celtic Ceilidh Hall in an accessory column (similar to the Assyrian Royal Library) to minimize embarrassment when playing as the Celts. Modders who don't want to incorporate my mod into their custom GW building mod as a whole (e.g., because they want to leave National wonders alone) should simply use Leugi's code. Thanks to Pouakai for bringing the issue to my attention.

Note: A better solution would achieve all of the following:

- Unique variants of GW buildings (e.g., the Ceilidh Hall) would replace their generic variant when playing as the respective civilization (e.g., the Celts);
- The Royal Library would only show up when playing as the Assyrians;
- Custom unique GW buildings where the generic variant doesn't feature a GW slot would show up in accessory columns for the respective players;
- Mods that add slots to generic GW buildings would not break the Culture Overview;
- Custom generic GW buildings would be inserted according to their prereq tech rank.

Maybe a highly skilled modder takes up the challenge. :religion:

I'm aware of the following mods that add custom unique GW buildings:

- "Argentina Civilization" by Leugi; adds Tanguería (replaces Opera House, 3 music slots);
- "Tuscan Civilization" by sukritact; adds Duomo (replaces Garden, 1 art/artifact slot).
 
Note: A better solution would achieve all of the following:

- Unique variants of GW buildings (e.g., the Ceilidh Hall) would replace their generic variant when playing as the respective civilization (e.g., the Celts);
- The Royal Library would only show up when playing as the Assyrians;
- Custom unique GW buildings where the generic variant doesn't feature a GW slot would show up in accessory columns for the respective players;
- Mods that add slots to generic GW buildings would not break the Culture Overview;
- Custom generic GW buildings would be inserted according to their prereq tech rank.

Maybe a highly skilled modder takes up the challenge. :religion:

Wellll... I'm not exactly skilled (literally my first mod!), but it turned out fairly well. Figured I should put a notice here for the people that go here first for their fix. Hope i don't annoy anyone. >_>
 
the uploaded file hasn't been updated for the fall patch. it's just one line of code though, that enables click to move/click to view.
 
Back
Top Bottom