This repository has been archived on 2025-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
lwb6/legacyworlds-server-data/db-structure/parts/050-updates
Emmanuel BENOîT bf6bea5a79 Extracted quantities update as soon as possible
* The quantities of resources extracted from mines will now be updated
as soon as they have a reason to. This includes planet assignment,
abandonment, ownership changes, and updates to mining priorities.

* The mining update will now remove the current resource income from the
providers, and only then re-compute all extracted quantities. This is
more logical and corresponds to the way the other game updates work.

* Fixed bug in extraction computation where the size of the planet's
happy population was used instead of the happy/total ratio when
adjusting the mining production for riots.

* The following SQL scripts must be re-executed to upgrade a database:
  -> 040-functions/040-empire.sql
  -> 040-functions/145-resource-providers.sql
  -> 040-functions/147-empire-mining.sql
  -> 050-updates/120-planet-mining.sql
2012-02-09 10:54:00 +01:00
..
000-updates-ctrl.sql Game updates improvements 2012-02-03 16:25:03 +01:00
005-core-update-targets.sql Game updates improvements 2012-02-03 16:25:03 +01:00
010-empire-money.sql Game updates improvements 2012-02-03 16:25:03 +01:00
015-empire-resources.sql Game updates improvements 2012-02-03 16:25:03 +01:00
020-empire-research.sql Game updates improvements 2012-02-03 16:25:03 +01:00
025-empire-debt.sql Game updates improvements 2012-02-03 16:25:03 +01:00
030-fleet-arrivals.sql Game updates improvements 2012-02-03 16:25:03 +01:00
040-fleet-movements.sql Game updates improvements 2012-02-03 16:25:03 +01:00
050-fleet-status.sql Game updates improvements 2012-02-03 16:25:03 +01:00
060-planet-battle.sql Game updates improvements 2012-02-03 16:25:03 +01:00
070-planet-abandon.sql Game updates improvements 2012-02-03 16:25:03 +01:00
080-planet-construction.sql Game updates improvements 2012-02-03 16:25:03 +01:00
090-planet-military.sql Game updates improvements 2012-02-03 16:25:03 +01:00
100-planet-population.sql Game updates improvements 2012-02-03 16:25:03 +01:00
105-planet-resource-regeneration.sql Game updates improvements 2012-02-03 16:25:03 +01:00
110-planet-money.sql Game updates improvements 2012-02-03 16:25:03 +01:00
120-planet-mining.sql Extracted quantities update as soon as possible 2012-02-09 10:54:00 +01:00