Aaron Veden
4cdd6ce17e
fixed enabling new enemies late in save with Rampant already enabled
2021-12-15 20:25:44 -08:00
Sebastian Erik Bauer
32b8767d4e
Fix a non-recoverable error by supplying map
...
When NEW_ENEMIES is enabled, the game (or server) crashes after some time due to a non-recoverable error caused by line 750 because `getChunkByPosition` gets called without the `map` parameter.
2021-12-15 03:09:40 +01:00
Aaron Veden
219826fa86
added an initialPeaceTime setting allow initial base setup
2021-12-12 13:20:16 -08:00
Aaron Veden
424b7a6d9d
removed setCommandForces function from global table
2021-12-12 11:31:14 -08:00
Aaron Veden
ac7003faef
Optimized energy thief attack
2021-12-11 12:50:11 -08:00
Aaron Veden
d150e54bcb
dead code or code layout cleanup
2021-12-11 10:44:55 -08:00
Aaron Veden
1561456ba9
pre-allocated structures don't cross function boundaries
2021-12-11 10:42:49 -08:00
Aaron Veden
76dbc8363e
chunk passing scanning happens regardless of active map
2021-12-09 22:38:50 -08:00
Aaron Veden
e9681f1644
fixing temperament scoring around registering and unregistering enemy structures
2021-12-09 19:56:26 -08:00
Aaron Veden
1a60d01243
cleanup map is now processes all events regardless of active map
2021-12-08 22:18:09 -08:00
Aaron Veden
fa996bf96b
cleaned up surfaceTileChange logic
2021-12-08 22:11:05 -08:00
Aaron Veden
2289ff83de
cleanup energy thief biter logic in control
2021-12-08 22:01:54 -08:00
Aaron Veden
4a535ae79d
adding map check to main tick loop incase all maps are inactive
2021-12-08 21:29:52 -08:00
Aaron Veden
cd9443953e
removed debugging statements
2021-12-07 22:45:39 -08:00
Aaron Veden
0207aa0fe4
surfaces are begin processing lazily
2021-12-07 22:44:22 -08:00
Aaron Veden
d978d3fdd4
attack waves are processing outside active map
2021-12-07 21:36:56 -08:00
Aaron Veden
71e40a9c46
non covered spawners are now processed regardless of active map
2021-12-07 18:38:02 -08:00
Aaron Veden
c1b761d8dd
AI planning now processes upto 10 surfaces per cycle
2021-12-06 22:35:21 -08:00
Aaron Veden
4eb1f66465
limited map processing before switching map
2021-12-06 21:58:15 -08:00
Aaron Veden
09a9c51cec
victory scent is processed regardless of current map
2021-12-06 21:56:09 -08:00
Aaron Veden
e7a988aae1
added support for abandoned ruins mod
2021-12-06 21:32:44 -08:00
Aaron Veden
d52de9e6c2
fixed surfaceTileChange not using chunk in keyvalue pair
2021-12-06 21:20:41 -08:00
Aaron Veden
b88e1abd91
code cleanup in onDeath event and chunkProcessor
2021-12-06 21:20:05 -08:00
Aaron Veden
d68c3c93d6
removed extra unregisterResource call in onMined
2021-12-06 20:43:21 -08:00
Aaron Veden
d207dba5df
fixed neutral death and cliff processing
2021-12-06 20:34:14 -08:00
Aaron Veden
27426a42ae
renamed method processSpawners to processAttackWaves
2021-12-05 22:11:59 -08:00
Aaron Veden
beaeaa6c2e
pending chunks are processed across all chunks
2021-12-05 22:04:07 -08:00
Aaron Veden
2f87808593
active nests are now processed across all surfaces
2021-12-05 20:56:08 -08:00
Aaron Veden
b81c96c043
now upgrades are processed across all chunks
2021-12-05 20:43:41 -08:00
Aaron Veden
926ef9e383
uniform squad processing
2021-12-05 19:40:39 -08:00
Aaron Veden
47e20864e1
Fixed scanning around player
2021-12-05 17:17:28 -08:00
Aaron Veden
24d52de8a1
rng should now be deterministic
2021-12-05 15:33:24 -08:00
Aaron Veden
82058d16d4
ignore surfaces that will never have enemies
2021-12-05 11:39:39 -08:00
Aaron Veden
e814a9c648
potential desync fix and warding pheromone on attack path
2021-12-05 10:19:04 -08:00
Aaron Veden
8bbcca3dc4
adding random generator based on rampant seed and map seed
2021-12-04 16:03:33 -08:00
Aaron Veden
b733b2a21d
code cleanup in map prep
2021-12-04 15:44:29 -08:00
Aaron Veden
be98da5ebe
removed make building safe option
2021-12-04 15:41:53 -08:00
Aaron Veden
d51a717152
removed dead code
2021-12-04 15:06:19 -08:00
Aaron Veden
a61194150c
redistribute processing over more ticks
2021-12-04 14:57:45 -08:00
Aaron Veden
758ee7c0fc
added remaining onchunkgenerated tick property
2021-12-04 12:03:54 -08:00
Aaron Veden
9ea16e6a82
changed argument to entityUpgrade to base instead of alignment
2021-12-04 11:58:07 -08:00
Aaron Veden
ca72e200cb
added tick to chunkGenerationEvent for hives
2021-12-04 11:52:05 -08:00
Aaron Veden
31c50a15c8
cleaned up config.lua and distributed methods into code files
2021-12-04 11:42:41 -08:00
Aaron Veden
9dfb61e735
fixed regional bases processing, distribution, cleanup
2021-12-04 11:04:13 -08:00
Aaron Veden
b33f0e674c
fixed enemy force destroyed buildings not being unregistered
2021-12-01 20:27:59 -08:00
Aaron Veden
e5007ab465
optimized energy thief faction
2021-11-28 22:07:24 -08:00
Aaron Veden
b7b1a783a6
moved processUpgrades into chunk processor
2021-11-28 17:59:51 -08:00
Aaron Veden
ed2b588a06
added unit group command timeout + wander to allow gathering
2021-11-28 16:26:48 -08:00
Aaron Veden
77f5fd641b
removed dead or commented code
2021-11-26 12:55:50 -08:00
Aaron Veden
7efa7d3abf
doubled the number of buildings upgraded per tick
2021-11-26 12:49:40 -08:00