-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.lua
66 lines (59 loc) · 2.25 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
66
-- Support https://discord.gg/cfxdev
Config = {
brewProp = "mp006_p_moonshiner_still03x",
mashProp = "model_name_for_barrel",
brewTime = 5000, -- Time taken to brew in milliseconds. Adjust accordingly.
mashTime = 3000, -- Time taken to create mash in milliseconds.
brewAnimDict = 'cript_re@moonshine_camp@player_put_in_her',
brewAnim = 'put_in_still',
DeleteStillDict = 'mini_games@story@beechers@build_floor@john',
DeleteStillAnim = 'intro_pickup',
Brewing = {
Requirements = {
{item = "water", quantity = 2},
{item = "corn", quantity = 2},
},
Rewards = {
{item = "moonshine", quantity = 1},
},
FailureRate = 0.1, -- 10% chance that brewing will fail. Adjust this as needed.
FailurePenalty = { -- If brewing fails
removeRequirements = true, -- If true, remove all required items even if brewing fails.
rewardReduction = 0 -- If set to a value, reduce the reward by this much in case of failure.
},
},
UsableItems = {
['moonshine'] = {
removeItems = {
{item = 'moonshine', count = 1},
},
addItems = {
-- {item = '', count = 1}
},
notification = 'Drinking Moonshine',
-- clientEffect = 'here' -- specify client-side effect here
},
},
Farming = {
Crops = {
{crop = "corn", growTime = 60000}, -- Grow time in seconds
{crop = "wheat", growTime = 45000},
},
HarvestAnimDict = '',
HarvestAnim = '',
Locations = {
{x = 123.4, y = 567.8, z = 90.1, radius = 10.0},
{x = 223.4, y = 267.8, z = 50.1, radius = 15.0},
},
},
Translation = {
createAlcohol = "Press [E] to create alcohol",
createMash = "Press [E] to create mash",
destroyStill = "Press [F] to destroy (pickup) still",
placeStill = "Press [G] to place still",
startFarming = "Press [E] to start farming",
farmingInProgress = "Farming in progress...",
farmingComplete = "Farming complete!",
notInFarmingArea = "You are not in a farming area",
}
}