Permalink
Browse files

- Adds transporters

- Refactored AiWorkers logic
- Adds manageTurretUpgrades and use it within AiGovernor
- Better logic for launch and recall of workers
- Refactored functions to find harvestables, scaffoldings and ships in need of ore
  • Loading branch information...
xymus committed Apr 7, 2010
1 parent 504f071 commit 2a50cc46911421e15d9e411b5ba872d7b96a8c83
Showing with 364 additions and 99 deletions.
  1. +4 −0 src/common/ids.py
  2. +236 −44 src/server/ais.py
  3. +4 −1 src/server/players.py
  4. +40 −31 src/server/ships.py
  5. +80 −23 src/server/stats/__init__.py
View
@@ -36,6 +36,7 @@ def getId():
S_HARVESTER = 15
S_HUMAN_BUILDER = 7 # warning
S_HUMAN_TRANSPORTER = 5 # warning
S_CIVILIAN_0 = 16
@@ -55,6 +56,7 @@ def getId():
S_AI_HARVESTER = 26
S_AI_BASE_CARGO = 27
S_AI_BUILDER = 28
S_AI_TRANSPORTER = 29
# nomad's
S_NOMAD_FS_0 = 30
@@ -66,6 +68,7 @@ def getId():
S_NOMAD_HARVESTER_1 = 36
S_NOMAD_BASE_CARGO = 37
S_NOMAD_BUILDER = 38
S_NOMAD_TRANSPORTER = 39
# evolved's
S_EVOLVED_FS_0 = 40
@@ -78,6 +81,7 @@ def getId():
S_EVOLVED_BASE_CARGO = 47
S_EVOLVED_BUILDER = 48
S_EVOLVED_BASE_HEAVY_MILITARY = 49
S_EVOLVED_TRANSPORTER = 56 # warning
# extras's
S_EXTRA_BASE = 50
Oops, something went wrong.

0 comments on commit 2a50cc4

Please sign in to comment.