-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathshared.lua
74 lines (62 loc) · 1.63 KB
/
shared.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
--Shared data interface between data and script, notably prototype names.
local data = {}
data.deployers =
{
biter_deployer = "biter-deployer",
spitter_deployer = "spitter-deployer"
}
data.players =
{
small_biter_player = "small-biter-player",
medium_biter_player = "medium-biter-player",
big_biter_player = "big-biter-player",
behemoth_biter_player = "behemoth-biter-player",
}
data.pollution_proxy = "pollution-proxy"
data.firestarter_gun = "firestarter-gun"
data.firestarter_ammo = "firestarter-ammo"
data.creep = "creep"
data.creep_tumor = "creep-tumor"
data.creep_radius = 10
data.creep_sticker = "creep-sticker"
data.creep_landmine = "creep-landmine"
data.pollution_lab = "pollution-lab"
data.pollution_drill = "pollution-drill"
data.sticker_proxy = "sticker-proxy"
data.required_pollution =
{
[data.deployers.biter_deployer] = 100,
[data.deployers.spitter_deployer] = 200,
[data.creep_tumor] = 50,
[data.pollution_lab] = 150,
[data.pollution_drill] = 100,
["small-worm-turret"] = 200,
["medium-worm-turret"] = 400,
["big-worm-turret"] = 800,
["behemoth-worm-turret"] = 1600
}
data.needs_proxy_type =
{
["assembling-machine"] = true,
["lab"] = true,
["mining-drill"] = true
}
data.default_unlocked =
{
["small-biter"] = true,
["small-spitter"] = true,
["small-worm-turret"] = true
}
data.needs_creep =
{
["small-worm-turret"] =true,
["medium-worm-turret"] = true,
["big-worm-turret"] = true,
["behemoth-worm-turret"] = true,
[data.creep_tumor] = true,
[data.pollution_drill] = true,
[data.pollution_lab] = true,
}
data.pollution_cost_multiplier = 1
data.deployer_speed_modifier = 0.25
return data