2019-07-16 22:59:13 +02:00
|
|
|
-- Scalevalues are:
|
2019-07-14 16:21:48 +02:00
|
|
|
-- 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
|
|
|
|
|
2019-12-28 13:11:29 +01:00
|
|
|
local cv_setting = "cucina_vegana.plant_settings."
|
|
|
|
|
2020-03-04 21:18:20 +01:00
|
|
|
-- Start germ at:
|
|
|
|
cucina_vegana.plant_settings.germ_launch = minetest.settings:get(cv_setting .. "germ_launch") or 0
|
|
|
|
|
2019-07-14 16:21:48 +02:00
|
|
|
-- Asparagus
|
2020-03-06 18:06:56 +01:00
|
|
|
cucina_vegana.plant_settings.asparagus = minetest.settings:get_bool(cv_setting .. "asparagus", true)
|
2019-12-28 13:11:29 +01:00
|
|
|
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
|
2019-07-16 22:59:13 +02:00
|
|
|
|
2022-02-12 14:00:09 +01:00
|
|
|
-- Banana
|
2022-02-12 15:25:06 +01:00
|
|
|
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.0006
|
|
|
|
cucina_vegana.plant_settings.banana_light = minetest.settings:get(cv_setting .."banana") or 12
|
2022-02-12 14:00:09 +01:00
|
|
|
|
2019-07-14 16:21:48 +02:00
|
|
|
-- Chives
|
2020-03-06 18:06:56 +01:00
|
|
|
cucina_vegana.plant_settings.chives = minetest.settings:get_bool(cv_setting .."chives", true)
|
2019-12-28 13:11:29 +01:00
|
|
|
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
|
2019-07-14 16:21:48 +02:00
|
|
|
|
|
|
|
-- Flax
|
2020-03-06 18:06:56 +01:00
|
|
|
cucina_vegana.plant_settings.flax = minetest.settings:get_bool(cv_setting .."flax", true)
|
2019-12-28 13:11:29 +01:00
|
|
|
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
|
2019-07-14 16:21:48 +02:00
|
|
|
|
|
|
|
-- Kohlrabi
|
2020-03-06 18:06:56 +01:00
|
|
|
cucina_vegana.plant_settings.kohlrabi = minetest.settings:get_bool(cv_setting .."kohlrabi", true)
|
2019-12-28 13:11:29 +01:00
|
|
|
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
|
2019-07-14 16:21:48 +02:00
|
|
|
|
2019-07-16 22:59:13 +02:00
|
|
|
-- Lettuce
|
2020-03-06 18:06:56 +01:00
|
|
|
cucina_vegana.plant_settings.lettuce = minetest.settings:get_bool(cv_setting .."lettuce", true)
|
2019-12-28 13:11:29 +01:00
|
|
|
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
|
2019-07-14 16:21:48 +02:00
|
|
|
|
|
|
|
-- Parsley
|
2020-03-06 18:06:56 +01:00
|
|
|
cucina_vegana.plant_settings.parsley = minetest.settings:get_bool(cv_setting .."parsley", true)
|
2019-12-28 13:11:29 +01:00
|
|
|
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
|
2019-07-14 16:21:48 +02:00
|
|
|
|
|
|
|
-- Peanut
|
2020-03-06 18:06:56 +01:00
|
|
|
cucina_vegana.plant_settings.peanut = minetest.settings:get_bool(cv_setting .."peanut", true)
|
2019-12-28 13:11:29 +01:00
|
|
|
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
|
2019-07-14 16:21:48 +02:00
|
|
|
|
|
|
|
-- Rice
|
2020-03-06 18:06:56 +01:00
|
|
|
cucina_vegana.plant_settings.rice = minetest.settings:get_bool(cv_setting .."rice", true)
|
2019-12-28 13:11:29 +01:00
|
|
|
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
|
2019-07-14 16:21:48 +02:00
|
|
|
|
|
|
|
-- Rosemary
|
2020-03-06 18:06:56 +01:00
|
|
|
cucina_vegana.plant_settings.rosemary = minetest.settings:get_bool(cv_setting .."rosemary", true)
|
2019-12-28 13:11:29 +01:00
|
|
|
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
|
2019-07-14 16:21:48 +02:00
|
|
|
|
|
|
|
-- Soy
|
2020-03-06 18:06:56 +01:00
|
|
|
cucina_vegana.plant_settings.soy = minetest.settings:get_bool(cv_setting .."soy", true)
|
2019-12-28 13:11:29 +01:00
|
|
|
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
|
2019-07-14 16:21:48 +02:00
|
|
|
|
|
|
|
-- Sunflowers
|
2020-03-06 18:06:56 +01:00
|
|
|
cucina_vegana.plant_settings.sunflower = minetest.settings:get_bool(cv_setting .."sunflower", true)
|
2019-12-28 13:11:29 +01:00
|
|
|
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
|