Shiggs713
Immortal
I'm wondering if anyone has messed with these yet, as I'm trying to and everything I've tried doesn't seem to take effect. Here's my code
the first update was working, at least until I added the second one, to be honest I think it is still working. Its also not a problem with the Action, I know for sure, because like I said, this is just adding onto a file that was already working.
I also tried it with only the setting the Key but it was the same result, and using "Value" instead of "Key", but it appears it should be key. Its just these rows with multiple tags, none of the others are troubling me. Thanks for any assistance,
Shiggs
Edit: also here is the code in the global defines and the calendars xml so you don't have to bother digging it up;
Code:
<GameData>
<Defines>
<Update>
<Where Name="NUM_AND_TECH_PREREQS"/>
<Set Value="7"/>
</Update>
<Update>
<Where Name="CALENDAR_DEFAULT"/>
<Set Key="CALENDAR_MONTHS"/>
<Set Table="Calendars"/>
</Update>
</Defines>
</GameData>
the first update was working, at least until I added the second one, to be honest I think it is still working. Its also not a problem with the Action, I know for sure, because like I said, this is just adding onto a file that was already working.
I also tried it with only the setting the Key but it was the same result, and using "Value" instead of "Key", but it appears it should be key. Its just these rows with multiple tags, none of the others are troubling me. Thanks for any assistance,
Shiggs
Edit: also here is the code in the global defines and the calendars xml so you don't have to bother digging it up;
Code:
<Row Name="STANDARD_CALENDAR">
<Key>CALENDAR_DEFAULT</Key>
<Table>Calendars</Table>
</Row>
Spoiler :
Code:
<GameData>
<!-- Table definition -->
<Table name="Calendars">
<Column name="ID" type="integer" primarykey="true" autoincrement="true" />
<Column name="Type" type="text" />
<Column name="Description" type="text" />
</Table>
<!-- Table data -->
<Calendars>
<Row>
<ID>0</ID>
<Type>CALENDAR_DEFAULT</Type>
<Description>TXT_KEY_CALENDAR_DEFAULT</Description>
</Row>
<Row>
<ID>1</ID>
<Type>CALENDAR_BI_YEARLY</Type>
<Description>TXT_KEY_CALENDAR_BI_YEARLY</Description>
</Row>
<Row>
<ID>2</ID>
<Type>CALENDAR_YEARS</Type>
<Description>TXT_KEY_CALENDAR_YEARS</Description>
</Row>
<Row>
<ID>3</ID>
<Type>CALENDAR_TURNS</Type>
<Description>TXT_KEY_CALENDAR_TURNS</Description>
</Row>
<Row>
<ID>4</ID>
<Type>CALENDAR_SEASONS</Type>
<Description>TXT_KEY_CALENDAR_SEASONS</Description>
</Row>
<Row>
<ID>5</ID>
<Type>CALENDAR_MONTHS</Type>
<Description>TXT_KEY_CALENDAR_MONTHS</Description>
</Row>
<Row>
<ID>6</ID>
<Type>CALENDAR_WEEKS</Type>
<Description>TXT_KEY_CALENDAR_WEEKS</Description>
</Row>
</Calendars>
</GameData>