Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] tech cost style 1 analysis
Home

[Freeciv-Dev] tech cost style 1 analysis

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] tech cost style 1 analysis
From: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Date: Thu, 16 May 2002 02:14:39 +0200 (MEST)

I put a few printf in a game to check the cost of techs, comparing old and
new methods. The result is not good. Techs become a _lot_ cheaper. Of
course, since a often has a lot of other techs that are _not_ dependencies
if it. What to do? (The duplicates and the ridiculously low "would be"
results are probably barbarians. They are ignored in the first calculation.)

We could double researchcost to offset this cheapening, but that would
make science a lot slower in the beginning. If we cannot come up with a
good way to deal with this, we'll have to pull tech_chost_style 1 for now,
IMHO.

calculating total tech costs (87 techs): style 0 is 38280, and
style 1 is 21120

Below, first number is tech_cost_style 1 and the "would be" number is
tech_chost_style 0 (old style).

calculating tech cost for Alphabet to 10 (would be 10), prereqs 1
calculating tech cost for Map Making to 20 (would be 20), prereqs 2
calculating tech cost for Bronze Working to 10 (would be 30), prereqs 1
calculating tech cost for Code of Laws to 20 (would be 40), prereqs 2
calculating tech cost for Monarchy to 40 (would be 50), prereqs 4
calculating tech cost for Writing to 20 (would be 60), prereqs 2
calculating tech cost for Currency to 20 (would be 70), prereqs 2
calculating tech cost for Trade to 50 (would be 80), prereqs 5
calculating tech cost for Literacy to 40 (would be 90), prereqs 4
calculating tech cost for The Republic to 50 (would be 100), prereqs 5
calculating tech cost for Seafaring to 40 (would be 110), prereqs 4
calculating tech cost for Mysticism to 20 (would be 120), prereqs 2
calculating tech cost for Horseback Riding to 10 (would be 130), prereqs 1
calculating tech cost for Mathematics to 30 (would be 140), prereqs 3
calculating tech cost for Mathematics to 30 (would be 140), prereqs 3
calculating tech cost for Astronomy to 60 (would be 150), prereqs 6
calculating tech cost for Navigation to 100 (would be 160), prereqs 10
calculating tech cost for Warrior Code to 10 (would be 170), prereqs 1
calculating tech cost for Iron Working to 30 (would be 180), prereqs 3
calculating tech cost for The Wheel to 20 (would be 190), prereqs 2
calculating tech cost for Construction to 40 (would be 200), prereqs 4
calculating tech cost for Engineering to 70 (would be 210), prereqs 7
calculating tech cost for Invention to 120 (would be 220), prereqs 12
calculating tech cost for Gunpowder to 150 (would be 230), prereqs 15
calculating tech cost for Philosophy to 70 (would be 240), prereqs 7
calculating tech cost for University to 100 (would be 250), prereqs 10
calculating tech cost for Medicine to 110 (would be 260), prereqs 11
calculating tech cost for Chemistry to 150 (would be 270), prereqs 15
calculating tech cost for Explosives to 240 (would be 280), prereqs 24
calculating tech cost for Metallurgy to 210 (would be 290), prereqs 21
calculating tech cost for Feudalism to 60 (would be 300), prereqs 6
calculating tech cost for Chivalry to 80 (would be 310), prereqs 8
calculating tech cost for Leadership to 200 (would be 320), prereqs 20
calculating tech cost for Banking to 90 (would be 330), prereqs 9
calculating tech cost for Banking to 90 (would be 330), prereqs 9
calculating tech cost for Banking to 90 (would be 10), prereqs 9
calculating tech cost for Invention to 120 (would be 10), prereqs 12
calculating tech cost for Metallurgy to 210 (would be 20), prereqs 21
calculating tech cost for Democracy to 160 (would be 340), prereqs 16
calculating tech cost for Democracy to 160 (would be 30), prereqs 16
calculating tech cost for Masonry to 10 (would be 40), prereqs 1
calculating tech cost for Conscription to 260 (would be 350), prereqs 26
calculating tech cost for Tactics to 310 (would be 360), prereqs 31
calculating tech cost for Physics to 140 (would be 370), prereqs 14
calculating tech cost for Magnetism to 180 (would be 380), prereqs 18
calculating tech cost for Construction to 40 (would be 50), prereqs 4
calculating tech cost for Amphibious Warfare to 370 (would be 390), prereqs 37
calculating tech cost for Electricity to 290 (would be 400), prereqs 29
calculating tech cost for Conscription to 260 (would be 60), prereqs 26
calculating tech cost for Bronze Working to 10 (would be 70), prereqs 1
calculating tech cost for Alphabet to 10 (would be 80), prereqs 1
calculating tech cost for Code of Laws to 20 (would be 90), prereqs 2
calculating tech cost for Steam Engine to 220 (would be 410), prereqs 22
calculating tech cost for Bridge Building to 70 (would be 420), prereqs 7
calculating tech cost for Trade to 50 (would be 100), prereqs 5
calculating tech cost for The Wheel to 20 (would be 110), prereqs 2
calculating tech cost for Railroad to 260 (would be 430), prereqs 26
calculating tech cost for Industrialization to 300 (would be 440), prereqs 30
calculating tech cost for Steel to 370 (would be 450), prereqs 37
calculating tech cost for Machine Tools to 450 (would be 460), prereqs 45
calculating tech cost for Economics to 160 (would be 470), prereqs 16
calculating tech cost for Engineering to 70 (would be 120), prereqs 7
calculating tech cost for Physics to 140 (would be 130), prereqs 14
calculating tech cost for Monarchy to 40 (would be 140), prereqs 4
calculating tech cost for The Corporation to 340 (would be 480), prereqs 34
calculating tech cost for Astronomy to 60 (would be 150), prereqs 6
calculating tech cost for The Corporation to 340 (would be 480), prereqs 34
calculating tech cost for Refining to 370 (would be 490), prereqs 37
calculating tech cost for Refining to 370 (would be 490), prereqs 37
calculating tech cost for Combustion to 400 (would be 500), prereqs 40
calculating tech cost for Automobile to 450 (would be 510), prereqs 45
calculating tech cost for Combustion to 400 (would be 500), prereqs 40
calculating tech cost for Writing to 20 (would be 160), prereqs 2
calculating tech cost for Literacy to 40 (would be 170), prereqs 4
calculating tech cost for Automobile to 450 (would be 510), prereqs 45
calculating tech cost for The Republic to 50 (would be 180), prereqs 5
calculating tech cost for Chemistry to 150 (would be 190), prereqs 15
calculating tech cost for Iron Working to 30 (would be 200), prereqs 3
calculating tech cost for Mobile Warfare to 530 (would be 520), prereqs 53
calculating tech cost for Mobile Warfare to 530 (would be 520), prereqs 53
calculating tech cost for Theory of Gravity to 120 (would be 530), prereqs 12
calculating tech cost for Communism to 320 (would be 540), prereqs 32
calculating tech cost for Invention to 120 (would be 210), prereqs 12
calculating tech cost for Flight to 420 (would be 550), prereqs 42
calculating tech cost for Steam Engine to 220 (would be 220), prereqs 22
calculating tech cost for Guerilla Warfare to 430 (would be 560), prereqs 43
calculating tech cost for Mass Production to 460 (would be 570), prereqs 46
calculating tech cost for Labor Union to 560 (would be 580), prereqs 56
calculating tech cost for Gunpowder to 150 (would be 230), prereqs 15
calculating tech cost for Communism to 320 (would be 530), prereqs 32
calculating tech cost for Feudalism to 60 (would be 240), prereqs 6
calculating tech cost for Horseback Riding to 10 (would be 250), prereqs 1
calculating tech cost for Electronics to 390 (would be 590), prereqs 39
calculating tech cost for Recycling to 480 (would be 600), prereqs 48
calculating tech cost for Chivalry to 80 (would be 260), prereqs 8
calculating tech cost for Guerilla Warfare to 430 (would be 540), prereqs 43
calculating tech cost for Communism to 320 (would be 270), prereqs 32
calculating tech cost for Currency to 20 (would be 280), prereqs 2
calculating tech cost for Sanitation to 170 (would be 610), prereqs 17
calculating tech cost for Genetic Engineering to 360 (would be 620),
calculating tech cost for Miniaturization to 490 (would be 630),
calculating tech cost for Computers to 570 (would be 640), prereqs 57
calculating tech cost for Mass Production to 460 (would be 550), prereqs 46
calculating tech cost for Robotics to 590 (would be 650), prereqs 59
calculating tech cost for Radio to 460 (would be 660), prereqs 46
calculating tech cost for Advanced Flight to 560 (would be 670), prereqs 56
calculating tech cost for Rocketry to 580 (would be 680), prereqs 58
calculating tech cost for Combined Arms to 590 (would be 690), prereqs 59
calculating tech cost for Polytheism to 30 (would be 700), prereqs 3
calculating tech cost for Monotheism to 100 (would be 710), prereqs 10
calculating tech cost for Theology to 140 (would be 720), prereqs 14
calculating tech cost for Atomic Theory to 180 (would be 730), prereqs 18
calculating tech cost for Espionage to 340 (would be 740), prereqs 34
calculating tech cost for Nuclear Fission to 490 (would be 750), prereqs 49
calculating tech cost for Nuclear Power to 510 (would be 760), prereqs 51
calculating tech cost for Space Flight to 630 (would be 770), prereqs 63
calculating tech cost for Genetic Engineering to 360 (would be 560), prereqs 36
calculating tech cost for Laser to 520 (would be 780), prereqs 52
calculating tech cost for Refrigeration to 330 (would be 790), prereqs 33
calculating tech cost for Plastics to 640 (would be 800), prereqs 64
calculating tech cost for Superconductors to 530 (would be 810), prereqs 53
calculating tech cost for Fusion Power to 540 (would be 820), prereqs 54
calculating tech cost for Stealth to 660 (would be 830), prereqs 66

Yours,
Per



[Prev in Thread] Current Thread [Next in Thread]