Seekster 说:
One problem I always have is food, especially when I have a large army in the late game I just can never seem to carry enough food. Is there a way to tweak the code so that your troops dont consume as much food so that it lasts longer?
Oh hey Seekster, I just noticed your question
You could edit the trigger that makes you consume food. It triggers every 14 hours, and it's the ONLY one in simple_triggers.txt with that as the timer. So just open up simple_triggers.txt and find this:
14.000000 37 31 2 144115188075856120 0 1650 2 1224979098644774912 648518346341351424 2133 2 1224979098644774913 0 6 3 1224979098644774914 0 1224979098644774912 1653 3 1224979098644774915 648518346341351424 1224979098644774914 2105 2 1224979098644774913 1224979098644774915 3 0 2108 2 1224979098644774913 3 4 0 31 2 1224979098644774913 0 2105 2 1224979098644774913 1 3 0 2133 2 1224979098644774916 1224979098644774913 2133 2 1224979098644774917 0 6 3 1224979098644774918 0 1224979098644774916 2133 2 1224979098644774919 0 6 3 1224979098644774920 288230376151711814 288230376151711828 507 3 1224979098644774920 0 0 1 3 936748722493063328 1224979098644774920 41 2105 2 1224979098644774919 1 3 0 4 0 32 2 1224979098644774919 0 2136 3 1224979098644774921 0 1224979098644774919 1 2 936748722493063416 1224979098644774921 5 0 31 2 1224979098644774917 0 1106 2 1585267068834415008 16711680 1 2 936748722493063327 -3 2133 2 1224979098644774917 1 4 0 1 2 936748722493063237 648518346341351424 32 2 72057594037927936 0 1 3 936748722493063470 2 216172782113784187 3 0 3 0 3 0
the
14 is the # of hours between eating. It's kind of an odd number to consume food, isn't it? I mean, who eats every 14 hours? A higher number would make it trigger less often. You could also change the # of men it takes to consume 1 unit of food, that's the
3. What it does is take the total number of men and divide by
3, then if it's below 0 it adds 1 (so you always consume at least 1 unit).