[Freeciv-Dev] Re: Remaining lightbulbs
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm trying to pull together the code that handles aquiring a new
advance into one common routine.
I'm a bit confused by what happens to the lightbulbs you have
stored up when you get the tech you're working on by other means.
As far as I have worked out:
You lose them if you get the tech from the Great Library,
You keep them for your next advance if you get the tech by
espionage, conquest or finding scrolls
And if you get it by diplomacy, I'm not sure what happens, as the
code in diplhand.c doesn't check if the new tech is the one your
already working on or not. I think this is a bug, as it means you
will be given the same technology "again" when your lightbulbs
stack up, and get the points for it again.
Does anyone know
- - What actually does happen (am I right?)
Don't know, but it should be different.
- - What should happen:
You should not loose any bulbs, but incur a loss proportional to
the cost of the technology gained.
This is freeciv style and bulbs can go negative; it makes sense
because otherwise it is easy to circumvent the loss by
always exchanging half a dozen technologies between players
through treaties at a time, or syncing capture of cities.
The server settings for:
freecost, conquercost, diplcost
should multiply the loss.
freecost: applies to tech you get free for some reason.
conquercost: applies to tech you get from conquering a city.
diplcost; applies to tech you get from treaties with other players.
Maybe i got small mistakes in here; check the server help.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: Remaining lightbulbs,
Peter Schaefer <=
|
|