What is the default starting food per grain?

My games seem to be starting with 500 Food Per Grain.  Trouble is, even with Use Mods off, it has this.  I have recently redownloaded all the files and directories from Data\English, and only replaced two - CoreQuests.xml and CoreRandomEvents.xml.  What is the normal starting food per grain meant to be?

7,354 views 6 replies
Reply #1 Top

Uh is it 20 food per grain? I think. Not sure.

Reply #2 Top

According to CorePlayerAbilities: 25

 

<PlayerAbilityType InternalName="A_Additive_FoodPerGrain">
<DisplayName>Base Food Per Grain</DisplayName>
<Description>How much food each unit of grain produces in a city.</Description>
<Icon>Icon_Level.png</Icon>
<DefaultValue>25</DefaultValue>
</PlayerAbilityType>

Reply #3 Top

seems to be 25 food per grain at the start of the game. there are yield modifiers in the XML file that defines the race (faction), i think your problem might be in those XML files. 

by default, the relevant part of the file should look like this:

<A_GoodieRating>1.0000</A_GoodieRating>
<A_GrainYield>1.0000</A_GrainYield>
<A_ManaRegeneration>1.0000</A_ManaRegeneration>
<A_MaterialsYield>1.0000</A_MaterialsYield>
<A_MaxArmySize>5.0000</A_MaxArmySize>
<A_NPCSpawnRating>2.0000</A_NPCSpawnRating>
<A_QuestingRating>5.0000</A_QuestingRating>
<A_Traits>4.0000</A_Traits>
<A_UnitUpgrades>100.0000</A_UnitUpgrades>

 

 

looks like a percentage based system with 1.0000 being the default value (i.e. 100%); i guess the faction you tries must have a value of 20 in the grain yield tag, this would result in a 2000% multiplier, i.e. 500 food per grain instead of 25. not sure how this might have happened, but at least taht would explain the number.

 

 

 

 

 

 

Reply #4 Top

I wonder how it got to 500 then?  Without mods it is still at 500.  I deleted the entire Data\English directory and redownloaded it all, so any core edits from Immersion mod which I've removed should no longer be there.

Reply #5 Top

maybe that mod replaced the original faction definitions? not sure about the default factions, but custom factions aren't stored in Data\English but in My Documents\My Games\LegendaryHeroes\Race.

i suggest you find out where the faction definitions are and take a look at the values in the tags i posted above. if they are different from the default, either modify them back to default values manually or re-download the files.

 

 

Reply #6 Top

Thanks, I must have created the faction when I was using the Immersion mod, and its settings were saved in the Race directory, even though the defaults have changed.