]> git.pond.sub.org Git - empserver/blobdiff - info/BTU.t
ship: Unbreak MOB_ACCESS real-time mobility update for ships
[empserver] / info / BTU.t
index f4137eaad96aefba5ad9ea25ca418aa9846c782e..99c16823fee1dba24ee0054f1eab4cab87ee7d3d 100644 (file)
@@ -14,65 +14,59 @@ do.
 BTUs are generated in real-time based on the number of civilians that
 are in your capital.  Every time you log out and in again, the server
 calculates how long you've been away, and based on that time awards
-you a certain number of BTUs.
+you a certain number of BTUs.  The same happens at the update.
 .s1
 Here is the procedure for determining how many BTUs you get:
 .nf
 If the game is a blitz, then as soon as your BTUs go below zero, then
-they are automatically set back to 512.
+they are automatically set back to the maximum.
 
 (1) Count the number of civs generating BTUs.
-  civs = maximum(999, number of civs in your capital sector)
+  civs = maximum(1000, number of civs in your capital sector)
   Note that if you don't have a capital, then you will get _no_ BTUs.
 
 (2) Find out how many civs are required to make one BTU in one time unit.
 The "version" command will tell you how many civilians are required to
-produce one BTU in one time unit.
+produce one BTU in one Empire Time Unit (ETU) in a perfectly efficient
+capital.
 
-(3) Calculate how many BTUs your cap produces in one time unit.
+(3) Calculate how efficiently your capital makes BTUs.  A proper
+capital's BTU efficiency is sector efficiency times work percentage,
+but at least 0.5%.  A mountain capital's BTU efficiency is always
+0.5%.
+
+(4) Calculate how many BTUs your capital produces in one time unit.
 Divide the number of civs generating BTUs (step 1) by the number of
-civs required to produce one BTU in one time unit (step 2).  If your
-capital is in a mountain or has zero efficiency, then multiply by
-1/200.  Otherwise, multiply by (sector efficiency) / 100.  Note that
-0% capitals and mountains generate BTUs as if they were 0.5% capitals.
+civs required to produce one BTU in one time unit (step 2).  Multiply
+by efficiency (step 3).
 
-(4) Calculate how many time units have passed.
-The number of "Time units" (TU) since your last login is:
-  TU = (number of seconds since last login) / (number of seconds per ETU).
-The "version" command will tell you how many seconds are in an
-"Empire time unit" (ETU).  If more than 336 time units have passed
-since your last login, then set TU = 336.
+(5) Find out how many time units have passed since you last got BTUs.
+A fixed number of ETUs elapse between updates.  The \*Qversion\*U
+command shows how many.
 
-(5) Calculate how many BTUs you get.
-Multiply the number of BTUs your cap produces in one TU (step 3) by
-the number of TUs which have passed (step 4).  This is how many BTUs
+(6) Calculate how many BTUs you get.
+Multiply the number of BTUs your cap produces in one ETU (step 4) by
+the number of ETUs which have passed (step 5).  This is how many BTUs
 you get.  Note that there is a limit to how many BTUs you can have at
-any given time.  This number is usually 512 but can be changed by the deity.
+any given time.  This number is usually 640 but can be changed by the deity.
 
-EXAMPLE: say you had a 100% capital containing 500 civs.
-Suppose that version said:
+EXAMPLE: say your capital is in perfect condition (100% efficiency and
+work), and has 500 civilians.  Suppose that version said:
 
 It takes 25.00 civilians to produce a BTU in one time unit
 
 Then first you would divide 500 by 25 to get 20.  Now since your cap
-is 100% efficient, you would multiply 20 by (100/100) and so the civs
-in your cap would produce 20 BTUs per time unit.  Now suppose that
+is 100% efficient and 100% working, its BTU efficiency is 100% * 100%
+= 100%, i.e. your capital makes 20 BTUs per ETU.  Now suppose that
 version said:
 
-An Empire time unit is 1440 seconds long.
+An update consists of 60 empire time units.
 
-and suppose that 1 day had passed since the last time you logged on.
-Then that means that the number of time units which have passed is:
-  TU = (number of second in a day) / (number of seconds per etu)
-     = (24 * 60 * 60) / (1440)
-     = (1440 * 60) / (1440)
-     = 60
-(Note that another way to find out how many time units there are between
-updates is to find out how many ETU's there are per update.)
-  Lastly, we multiply 20 by 60 to get 1200 BTUs.  But since the
-maximum is 512, we would have 512 BTUs.  Note that if your capital had
-been in a mountain sector, then you would have only gotten 6 BTUs in
-24 hours.
+and suppose that exactly that many had passed since the last time you
+got BTUs.  You multiply 20 by 60 and get 1200 BTUs.  But since the
+maximum is 640, you'd have 640 BTUs.  Note that if your capital were a
+mountain sector, it would make only 20 * 0.5% = 0.1 BTUs per time
+unit.  You'd get only 6 BTUs then.
 .fi
 .s1
 .SA "Innards, version, Time, Playing"