-
Notifications
You must be signed in to change notification settings - Fork 26
/
shared.lua
19 lines (15 loc) · 894 Bytes
/
shared.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--Shared data interface between data and script, notably prototype names.
local data = {}
data.drone_collision_mask = {"poop your pants"}
--data.drone_collision_mask = {"ground-tile", "water-tile", "not-colliding-with-itself", "colliding-with-tiles-only"}
--data.drone_collision_mask = {"ground-tile", "water-tile"}
data.variation_count = 50
data.special_variation_count = 10
data.transport_speed_technology = "transport-drone-speed"
data.transport_capacity_technology = "transport-drone-capacity"
data.transport_system_technology = "transport-system"
data.fuel_amount_per_drone = settings.startup["fuel-amount-per-drone"].value
data.fuel_consumption_per_meter = settings.startup["fuel-consumption-per-meter"].value
data.drone_fluid_capacity = settings.startup["drone-fluid-capacity"].value
data.drone_pollution_per_second = settings.startup["drone-pollution-per-second"].value
return data