Strange Error With Great Work Slots

Bismuth

Chieftain
Joined
May 20, 2016
Messages
9
I am making a custom civ with a unique temple replacement that gives great writer points and holds a great work of writing. I have great work count set to one, and it will show up in the city screen, but after a great work has been created, writers will still be able to create a great work for the building. If they make a second great work, it will not show up on the city screen or the culture overview (/w dynamic culture overview mod), but the writer will be expended, and the player will get the yield of an additional great work. After a second great work is created for the building, no more can. Does anyone know what could cause this?

Here is the XML file for the building: http://puu.sh/p0KTP/0ee1b9cd2a.txt
 
  1. You are assigning the new building to Building-Class Temple within table <Buildings>
    • This code here
      Code:
      <GameData>
      	<Buildings>
      		<Row>
      			<Type>BUILDING_MYOUREN_TEMPLE</Type>
      			<Description>TXT_KEY_BUILDING_MYOUREN_TEMPLE</Description>
      			<Civilopedia>TXT_KEY_CIV5_BUILDINGS_MYOUREN_TEMPLE_TEXT</Civilopedia>
      			<Strategy>TXT_KEY_BUILDING_MYOUREN_TEMPLE_STRATEGY</Strategy>
      			<Help>TXT_KEY_BUILDING_MYOUREN_TEMPLE_HELP</Help>
      
      			<GoldMaintenance>2</GoldMaintenance>
      			<Cost>100</Cost>
      
      			<MinAreaSize>-1</MinAreaSize>
      
      			<BuildingClass>[COLOR="Blue"]BUILDINGCLASS_TEMPLE[/COLOR]</BuildingClass>
    • this is the correct manner of making a unique replacement building fit within an existing Building-Class
  2. Then you are attempting to create a new Building-Class with your new building as the default-building within that new Building-Class
    • This code here
      Code:
      [COLOR="Red"]<BuildingClasses>
      	<Row>
      		<Type>BUILDINGCLASS_MYOUREN_TEMPLE</Type>
      		<DefaultBuilding>BUILDING_MYOUREN_TEMPLE</DefaultBuilding>
      		<Description>TXT_KEY_BUILDING_MYOUREN_TEMPLE_STRATEGY</Description>
      	</Row>
      </BuildingClasses>[/COLOR]
    • This is not the correct procedure to use when a new building is a unique replacement for a standard class of building, such as a Temple
  3. This creates conflicting data which cannot be reconciled.
 
That fixed it. Thank you so much, you are some kind of wizard with this stuff.
 
Back
Top Bottom