-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathshared.lua
40 lines (35 loc) · 1.03 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
--Shared data interface between data and script, notably prototype names.
local data = {}
data.drone_name = "mining-drone"
data.proxy_chest_name = "mining-drone-proxy-chest"
data.mining_damage = 5
data.mining_interval = math.floor(26 * 1.5) --dictated by character mining animation
data.attack_proxy_name = "mining-drone-attack-proxy-new"
data.mining_depot = "mining-depot"
data.mining_depot_chest_h = "mining-depot-chest-h"
data.mining_depot_chest_v = "mining-depot-chest-v"
data.variation_count = 20
data.mining_drone_collision_mask = {"error-fix-me"}
data.mining_speed_technology = "mining-drone-mining-speed"
data.mining_productivity_technology = "mining-drone-productivity"
data.depots =
{
["mining-depot"] =
{
radius = 25 + 0.5,
capacity = 100,
drop_offset = {0, -3.5},
shifts =
{
--north = {0,0.5},
--south = {0, 1},
--east = {0.5, 0.75},
--west = {-0.5, 0.75},
north = {0,1.5},
south = {0.1, -0.25},
east = {-1.25, 0.6},
west = {1.25, 0.6},
}
}
}
return data