This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Weird fuel behavior


>I've just noticed this in the last few days, while I've been playing a very
>long Modern game (latest WinTCL from CVS).  When it is time to move a bomber
>in mid-flight, I often find that it has fuel 30/30, even though it has been
>out from base for at least a turn.  Also, just now I moved an infantry which
>was down to 1/6 fuel; the next turn it had 2/6 (and no other units were
>nearby to transfer fuel).

What you are seing is simply my new resupply code, which is actually
working, unlike the old code. From modern.g:

(table out-length
  (u* food 4)
  (coal-mine coal 4)
  (iron-mine iron-ore 4)
  (cities coal 4)
  ((oil-field oil-platform) oil 6)
  (cities oil 6)
  (refinery petrol 6)
  (cities petrol 6)
  (sawmill lumber 6)
  (steel-mill steel 6)
  )

(table in-length
  (u* food 4)
  (steel-mill coal 4)
  (steel-mill iron-ore 4)
  (cities coal 4)
  (oil-tanker oil 6)
  (refinery oil 6)
  (cities oil 6)
  (u* petrol 6)
  (engrs lumber 6)
  (engrs steel 6)
  )

What this means is that any unit can (and now will) resupply petrol if it
comes within 6 cells of a city or refinery. It is a little strange that
airplanes are allowed to resupply in mid-flight, but this is how the modern
game works.

>One other thing about the modern game.  I find that mines repeatedly
>disappear, so I have to keep re-laying them again and again with an engineer
>or mine ship.  And no, no enemy units are bumping into them.

Your poor miners are probably starving to death because you neglect to feed
them:

(table base-consumption
  (u* food 1)

If they are within 4 cells of a city thet will get their won food (see the
above table) but otherwise you have to resupply them in some other way.

Hans



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]