Black Whole
Dancing Condor
So, I feel dumb because I can't make he simplest mod in modbuddy work. For a start, I wanted the Project Beacon to require the Tech Field Theory and 5 Geothermal resources. Now here's the code:
The database.log shows no errors from my mod and I have set updateDatabase in OnModActivated. Yet it doesn't work at all. Do I have to add entries for the graphic interpretation (so the icon for the Beacon appears at Field Theory)? It is infuriating, because such a mod only took 2 minutes when I was modding Civ4
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 12/11/2014 4:36:43 PM -->
<GameData>
<Projects>
<Update>
<Where ProjectType="PROJECT_BEACON"/>
<Set TechPrereq="TECH_FIELD_THEORY"/>
</Update>
</Projects>
<Project_ResourceQuantityRequirements>
<Row>
<ProjectType>PROJECT_BEACON</ProjectType>
<ResourceType>RESOURCE_GEOTHERMAL_ENERGY</ResourceType>
<Quantity>5</Quantity>
</Row>
</Project_ResourceQuantityRequirements>
</GameData>
The database.log shows no errors from my mod and I have set updateDatabase in OnModActivated. Yet it doesn't work at all. Do I have to add entries for the graphic interpretation (so the icon for the Beacon appears at Field Theory)? It is infuriating, because such a mod only took 2 minutes when I was modding Civ4

. I will try it out as soon as I am back at my PC. Theoretically, there is a TechPrereq for Projects and it is set to "NULL" as a default setting. Hence why I used <Update>.
Yet the resource requirements still do not apply, at least I can't see it. Could it be that this part of the code isn't used anymore, since no project actually requires resources?