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/040-functions
Emmanuel BENOîT afc66166e0 Mining settings
* Changed the way mining settings work: use a priority value (between 0
and 4) as the weight. Leaving them as they were before would have caused
numerous problems (and a lot of unnecessary code to work around them)

* Empire mining settings will be created along with the empire's own
record. By default all natural resources will have weight = 2.

* Added a set of four stored procedures which can be used to update an
empire's mining settings, including planet-specific settings. The
emp.mset_update_start() function can be used to start an update (on an
empire's settings if there is only one parameter, or on a planet's
settings if there are two parameters); the emp.mset_update_set() and
emp.mset_update_apply() functions are then used to modify the settings
and apply the changes, respectively.
2012-01-10 10:17:47 +01:00
..
000-defs.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
002-sys.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
005-logs.sql SQL logging fixes 2012-01-07 11:14:17 +01:00
010-constants.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
020-naming.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
025-resources.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
030-tech.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
035-users.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
040-empire.sql Mining settings 2012-01-10 10:17:47 +01:00
045-empire-mining.sql Mining settings 2012-01-10 10:17:47 +01:00
050-computation.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
053-generator-basics.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
055-generator-resources.sql SQL logging fixes 2012-01-07 11:14:17 +01:00
060-universe.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
070-users.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
075-session.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
080-buildings.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
100-status.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
110-prefs.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
120-map.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
140-planets.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
145-resource-providers.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
150-battle.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
160-battle-views.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
163-alliance.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
165-fleets.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
167-planet-list.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
170-events.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
180-messages.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
190-admin.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
200-bugs.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00
210-admin-overview.sql Database definition & tests organisation 2012-01-06 11:19:19 +01:00