-
Notifications
You must be signed in to change notification settings - Fork 3
/
tracker-hooks.lua
29 lines (24 loc) · 1.31 KB
/
tracker-hooks.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
require "__DragonIndustries__/entitytracker"
require "functions"
require "caches"
require "constants"
require "config"
require "fans"
function getGlobal()
return global.nvday
end
--remote.call("human interactor", "bye", "dear reader")
--not necessary anymore, with fluid power source addTracker("steam-furnace", addSteamFurnace, removeSteamFurnace, tickSteamFurnaces, "nvday", getGlobal())
--addTracker("gas-boiler", addGasBoiler, removeGasBoiler, tickGasBoilers)
addTracker("pollution-detector", addPollutionDetector, removePollutionDetector, tickDetectors)
addTracker("borer", addBoreholeMaker, removeBoreholeMaker, tickBoreholeMakers)
addTracker("storage-machine", addBorehole, removeBorehole, tickBoreholes)
addTracker("storage-machine-2", addBorehole, removeBorehole, tickBoreholes)
addTracker("greenhouse", addGreenhouse, nil, nil)
addTracker("pollution-fan", addFan, removeFan, tickFans)
addTracker("pollution-fan-placer", addFan, removeFan, nil)
--addTracker("chemical-steam-furnace", addSteamFurnace, removeSteamFurnace, nil)
--addTracker("mixing-steam-furnace", addSteamFurnace, removeSteamFurnace, nil)
for i = 1,4 do
addTracker("air-filter-machine-" .. i, addDeaerosolizer, removeDeaerosolizer, i == 1 and tickDeaerosolizers or nil)
end