Empire resources update
* Added a new update that computes the amount of resources possessed and owed by empires. At the moment this computation ignores fleets, as their upkeep does not use the resource system.
This commit is contained in:
parent
b49bc1a44f
commit
04e550709a
4 changed files with 186 additions and 2 deletions
legacyworlds-server-data/db-structure/parts/030-data
|
@ -29,9 +29,18 @@ CREATE TYPE log_type
|
|||
-- Update types
|
||||
CREATE TYPE update_type AS ENUM (
|
||||
|
||||
/* Empires' money is being updated using the previous update's results */
|
||||
/* Empires' money is being updated using the previous update's results
|
||||
*
|
||||
* FIXME: this update type should disappear, as everything it does will
|
||||
* be replaced by the resources update.
|
||||
*/
|
||||
'EMPIRE_MONEY' ,
|
||||
|
||||
|
||||
/* Empires' resources are being updated using the previous update's
|
||||
* results.
|
||||
*/
|
||||
'EMPIRE_RESOURCES' ,
|
||||
|
||||
/* Empire research points are being attributed to technologies */
|
||||
'EMPIRE_RESEARCH' ,
|
||||
|
||||
|
|
Reference in a new issue