forked from DylanTaylor1/GTNH-CropAutomation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
65 lines (55 loc) · 2.12 KB
/
config.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
local config = {
-- NOTE: EACH CONFIG SHOULD END WITH A COMMA
-- Side Length of Working Farm
workingFarmSize = 6,
-- Side Length of Storage Farm
storageFarmSize = 9,
-- Once complete, remove all extra crop sticks to prevent the working farm from weeding
cleanUp = true,
-- Pickup any and all drops (don't change)
keepDrops = true,
-- Keep crops that are not the target crop during autoSpread and autoStat
keepMutations = false,
-- Stat-up crops during autoTier (Very Slow)
statWhileTiering = false,
-- Minimum tier for the working farm during autoTier
autoTierThreshold = 13,
-- Minimum Gr + Ga - Re for the working farm during autoStat (21 + 31 - 0 = 52)
autoStatThreshold = 52,
-- Minimum Gr + Ga - Re for the storage farm during autoSpread (23 + 31 - 0 = 54)
autoSpreadThreshold = 50,
-- Maximum Growth for crops on the working farm
workingMaxGrowth = 21,
-- Maximum Resistance for crops on the working farm
workingMaxResistance = 2,
-- Maximum Growth for crops on the storage farm
storageMaxGrowth = 23,
-- Maximum Resistance for crops on the storage farm
storageMaxResistance = 2,
-- Minimum Charge Level
needChargeLevel = 0.2,
-- Max breed round before termination of autoTier.
maxBreedRound = 1000,
-- =========== DO NOT CHANGE ===========
-- The coordinate for charger
chargerPos = {0, 0},
-- The coordinate for the container contains crop sticks
stickContainerPos = {-1, 0},
-- The coordinate for the container to store seeds, products, etc
storagePos = {-2, 0},
-- The coordinate for the farmland that the dislocator is facing
relayFarmlandPos = {1, 1},
-- The coordinate for the transvector dislocator
dislocatorPos = {1, 2},
-- The slot for spade
spadeSlot = 0,
-- The slot for the transvector binder
binderSlot = -1,
-- The slot for crop sticks
stickSlot = -2,
-- The slot which the robot will stop storing items
storageStopSlot = -3
}
config.workingFarmArea = config.workingFarmSize^2
config.storageFarmArea = config.storageFarmSize^2
return config