-
Notifications
You must be signed in to change notification settings - Fork 4
/
data.lua
41 lines (32 loc) · 1.43 KB
/
data.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
require "prototypes.extend-collision"
require "prototypes.extend-types"
require "prototypes.extend-biters"
require "prototypes.extend-spawners"
require "prototypes.base-units.defender"
require "prototypes.base-units.destroyer"
require "prototypes.base-units.distractor"
require "prototypes.base-units.construction"
require "prototypes.base-units.logistic"
require "prototypes.base-spawner.roboport"
data.erm_registered_race = data.erm_registered_race or {}
data.erm_spawn_specs = data.erm_spawn_specs or {}
data.erm_land_scout = data.erm_land_scout or {}
data.erm_aerial_scout = data.erm_aerial_scout or {}
if settings.startup['enemyracemanager-enable-bitters'].value then
-- This set of data is used for set up default autoplace calculation.
data.erm_registered_race[MOD_NAME] = true
table.insert(data.erm_spawn_specs, {
mod_name = MOD_NAME,
force_name = FORCE_NAME,
moisture = 2, -- 1 = Dry and 2 = Wet
aux = 1, -- 1 = red desert, 2 = sand
elevation = 1, --1,2,3 (1 low elevation, 2. medium, 3 high elavation)
temperature = 2, --1,2,3 (1 cold, 2. normal, 3 hot)
})
require('prototypes/compatibility/BobsEnemies/spawn_spec')
require('prototypes/compatibility/NaturalEvolutionEnemies/spawn_spec')
data.erm_land_scout[MOD_NAME] = 'small-biter'
data.erm_aerial_scout[MOD_NAME] = 'defender'
end
require "prototypes.extend-mapping-beacons"
require "prototypes.extend-rallypoint"