forked from acmgit/cucina_vegana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.lua
103 lines (82 loc) · 5.8 KB
/
settings.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
-- Scalevalues are:
-- Lower value = easy to find (like 0.002)
-- Higher value = hard to find (like 0.0005)
-- Plantname
-- plant is on (true) or off (true)
-- scalevalue
-- minlight-settings
local cv_setting = "cucina_vegana.plant_settings."
-- Start germ at:
cucina_vegana.plant_settings.germ_launch = minetest.settings:get(cv_setting .. "germ_launch") or 0
-- Asparagus
cucina_vegana.plant_settings.asparagus = minetest.settings:get_bool(cv_setting .. "asparagus", true)
cucina_vegana.plant_settings.asparagus_scale = minetest.settings:get(cv_setting .."asparagus_scale") or 0.0007
cucina_vegana.plant_settings.asparagus_light = minetest.settings:get(cv_setting .."asparagus_light") or 11
-- Banana
cucina_vegana.plant_settings.banana = minetest.settings:get_bool(cv_setting .. "banana", true)
cucina_vegana.plant_settings.banana_scale = minetest.settings:get(cv_setting .."banana_scale") or 0.009
cucina_vegana.plant_settings.banana_light = minetest.settings:get(cv_setting .."banana") or 12
-- Chives
cucina_vegana.plant_settings.chives = minetest.settings:get_bool(cv_setting .."chives", true)
cucina_vegana.plant_settings.chives_scale = minetest.settings:get(cv_setting .."chives_scale") or 0.0005
cucina_vegana.plant_settings.chives_light = minetest.settings:get(cv_setting .."chives_light") or 10
-- Flax
cucina_vegana.plant_settings.flax = minetest.settings:get_bool(cv_setting .."flax", true)
cucina_vegana.plant_settings.flax_scale = minetest.settings:get(cv_setting .."flax_scale") or 0.0006
cucina_vegana.plant_settings.flax_light = minetest.settings:get(cv_setting .."flax_light") or 10
-- Kohlrabi
cucina_vegana.plant_settings.kohlrabi = minetest.settings:get_bool(cv_setting .."kohlrabi", true)
cucina_vegana.plant_settings.kohlrabi_scale = minetest.settings:get(cv_setting .."kohlrabi_scale") or 0.0007
cucina_vegana.plant_settings.kohlrabi_light = minetest.settings:get(cv_setting .."kohlrabi_light") or 13
-- Lettuce
cucina_vegana.plant_settings.lettuce = minetest.settings:get_bool(cv_setting .."lettuce", true)
cucina_vegana.plant_settings.lettuce_scale = minetest.settings:get(cv_setting .."lettuce_scale") or 0.0008
cucina_vegana.plant_settings.lettuce_light = minetest.settings:get(cv_setting .."lettuce_light") or 12
-- Parsley
cucina_vegana.plant_settings.parsley = minetest.settings:get_bool(cv_setting .."parsley", true)
cucina_vegana.plant_settings.parsley_scale = minetest.settings:get(cv_setting .."parsley_scale") or 0.0005
cucina_vegana.plant_settings.parsley_light = minetest.settings:get(cv_setting .."parsley_light") or 11
-- Peanut
cucina_vegana.plant_settings.peanut = minetest.settings:get_bool(cv_setting .."peanut", true)
cucina_vegana.plant_settings.peanut_scale = minetest.settings:get(cv_setting .."peanut_scale") or 0.0006
cucina_vegana.plant_settings.peanut_light = minetest.settings:get(cv_setting .."peanut_light") or 12
-- Rice
cucina_vegana.plant_settings.rice = minetest.settings:get_bool(cv_setting .."rice", true)
cucina_vegana.plant_settings.rice_scale = minetest.settings:get(cv_setting .."rice_scale") or 0.0005
cucina_vegana.plant_settings.rice_light = minetest.settings:get(cv_setting .."rice_light") or 12
-- Rosemary
cucina_vegana.plant_settings.rosemary = minetest.settings:get_bool(cv_setting .."rosemary", true)
cucina_vegana.plant_settings.rosemary_scale = minetest.settings:get(cv_setting .."rosemary") or 0.0008
cucina_vegana.plant_settings.rosemary_light = minetest.settings:get(cv_setting .."rosemary") or 12
-- Soy
cucina_vegana.plant_settings.soy = minetest.settings:get_bool(cv_setting .."soy", true)
cucina_vegana.plant_settings.soy_scale = minetest.settings:get(cv_setting .."soy") or 0.0007
cucina_vegana.plant_settings.soy_light = minetest.settings:get(cv_setting .."soy") or 12
-- Sunflowers
cucina_vegana.plant_settings.sunflower = minetest.settings:get_bool(cv_setting .."sunflower", true)
cucina_vegana.plant_settings.sunflower_scale = minetest.settings:get(cv_setting .."sunflower") or 0.0007
cucina_vegana.plant_settings.sunflower_light = minetest.settings:get(cv_setting .."sunflower") or 13
-- Tomato
cucina_vegana.plant_settings.tomato = minetest.settings:get_bool(cv_setting .."tomato", true)
cucina_vegana.plant_settings.tomato_scale = minetest.settings:get(cv_setting .."tomato_scale") or 0.0006
cucina_vegana.plant_settings.tomato_light = minetest.settings:get(cv_setting .."tomato_light") or 11
-- Potato
cucina_vegana.plant_settings.potato = minetest.settings:get_bool(cv_setting .."potato", true)
cucina_vegana.plant_settings.potato_scale = minetest.settings:get(cv_setting .."potato_scale") or 0.0005
cucina_vegana.plant_settings.potato_light = minetest.settings:get(cv_setting .."potato_light") or 11
-- Carrot
cucina_vegana.plant_settings.carrot = minetest.settings:get_bool(cv_setting .."carrot", true)
cucina_vegana.plant_settings.carrot_scale = minetest.settings:get(cv_setting .."carrot_scale") or 0.0005
cucina_vegana.plant_settings.carrot_light = minetest.settings:get(cv_setting .."carrot_light") or 11
-- Garlic
cucina_vegana.plant_settings.garlic = minetest.settings:get_bool(cv_setting .."garlic", true)
cucina_vegana.plant_settings.garlic_scale = minetest.settings:get(cv_setting .."garlic_scale") or 0.0006
cucina_vegana.plant_settings.garlic_light = minetest.settings:get(cv_setting .."garlic_light") or 12
-- Chili
cucina_vegana.plant_settings.chili = minetest.settings:get_bool(cv_setting .."chili", true)
cucina_vegana.plant_settings.chili_scale = minetest.settings:get(cv_setting .."chili_scale") or 0.0002
cucina_vegana.plant_settings.chili_light = minetest.settings:get(cv_setting .."chili_light") or 13
-- Onion
cucina_vegana.plant_settings.onion = minetest.settings:get_bool(cv_setting .."onion", true)
cucina_vegana.plant_settings.onion_scale = minetest.settings:get(cv_setting .."onion_scale") or 0.0006
cucina_vegana.plant_settings.onion_light = minetest.settings:get(cv_setting .."onion_light") or 12