Lines of Settings shortened.
This commit is contained in:
parent
895382a3f0
commit
f450c7ef09
@ -1,3 +1,6 @@
|
|||||||
|
Lines of Settings shorened.
|
||||||
|
|
||||||
|
*** Version 2.4
|
||||||
Fix replacement #s in recipes #3 by fluxionary.
|
Fix replacement #s in recipes #3 by fluxionary.
|
||||||
Ingame Translation-Support added.
|
Ingame Translation-Support added.
|
||||||
Changed flax to flax_roasted, fixed Problem in default with flax.
|
Changed flax to flax_roasted, fixed Problem in default with flax.
|
||||||
|
68
settings.lua
68
settings.lua
@ -7,57 +7,59 @@
|
|||||||
-- scalevalue
|
-- scalevalue
|
||||||
-- minlight-settings
|
-- minlight-settings
|
||||||
|
|
||||||
|
local cv_setting = "cucina_vegana.plant_settings."
|
||||||
|
|
||||||
-- Asparagus
|
-- Asparagus
|
||||||
cucina_vegana.plant_settings.asparagus = minetest.settings:get_bool("cucina_vegana.plant_settings.asparagus") or true
|
cucina_vegana.plant_settings.asparagus = minetest.settings:get_bool(cv_setting .. "asparagus") or true
|
||||||
cucina_vegana.plant_settings.asparagus_scale = minetest.settings:get("cucina_vegana.plant_settings.asparagus_scale") or 0.0007
|
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("cucina_vegana.plant_settings.asparagus_light") or 11
|
cucina_vegana.plant_settings.asparagus_light = minetest.settings:get(cv_setting .."asparagus_light") or 11
|
||||||
|
|
||||||
-- Chives
|
-- Chives
|
||||||
cucina_vegana.plant_settings.chives = minetest.settings:get_bool("cucina_vegana.plant_settings.chives") or true
|
cucina_vegana.plant_settings.chives = minetest.settings:get_bool(cv_setting .."chives") or true
|
||||||
cucina_vegana.plant_settings.chives_scale = minetest.settings:get("cucina_vegana.plant_settings.chives_scale") or 0.0005
|
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("cucina_vegana.plant_settings.chives_light") or 10
|
cucina_vegana.plant_settings.chives_light = minetest.settings:get(cv_setting .."chives_light") or 10
|
||||||
|
|
||||||
-- Flax
|
-- Flax
|
||||||
cucina_vegana.plant_settings.flax = minetest.settings:get_bool("cucina_vegana.plant_settings.flax") or true
|
cucina_vegana.plant_settings.flax = minetest.settings:get_bool(cv_setting .."flax") or true
|
||||||
cucina_vegana.plant_settings.flax_scale = minetest.settings:get("cucina_vegana.plant_settings.flax_scale") or 0.0006
|
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("cucina_vegana.plant_settings.flax_light") or 10
|
cucina_vegana.plant_settings.flax_light = minetest.settings:get(cv_setting .."flax_light") or 10
|
||||||
|
|
||||||
-- Kohlrabi
|
-- Kohlrabi
|
||||||
cucina_vegana.plant_settings.kohlrabi = minetest.settings:get_bool("cucina_vegana.plant_settings.kohlrabi") or true
|
cucina_vegana.plant_settings.kohlrabi = minetest.settings:get_bool(cv_setting .."kohlrabi") or true
|
||||||
cucina_vegana.plant_settings.kohlrabi_scale = minetest.settings:get("cucina_vegana.plant_settings.kohlrabi_scale") or 0.0007
|
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("cucina_vegana.plant_settings.kohlrabi_light") or 13
|
cucina_vegana.plant_settings.kohlrabi_light = minetest.settings:get(cv_setting .."kohlrabi_light") or 13
|
||||||
|
|
||||||
-- Lettuce
|
-- Lettuce
|
||||||
cucina_vegana.plant_settings.lettuce = minetest.settings:get_bool("cucina_vegana.plant_settings.lettuce") or true
|
cucina_vegana.plant_settings.lettuce = minetest.settings:get_bool(cv_setting .."lettuce") or true
|
||||||
cucina_vegana.plant_settings.lettuce_scale = minetest.settings:get("cucina_vegana.plant_settings.lettuce_scale") or 0.0008
|
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("cucina_vegana.plant_settings.lettuce_light") or 12
|
cucina_vegana.plant_settings.lettuce_light = minetest.settings:get(cv_setting .."lettuce_light") or 12
|
||||||
|
|
||||||
-- Parsley
|
-- Parsley
|
||||||
cucina_vegana.plant_settings.parsley = minetest.settings:get_bool("cucina_vegana.plant_settings.parsley") or true
|
cucina_vegana.plant_settings.parsley = minetest.settings:get_bool(cv_setting .."parsley") or true
|
||||||
cucina_vegana.plant_settings.parsley_scale = minetest.settings:get("cucina_vegana.plant_settings.parsley_scale") or 0.0005
|
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("cucina_vegana.plant_settings.parsley_light") or 11
|
cucina_vegana.plant_settings.parsley_light = minetest.settings:get(cv_setting .."parsley_light") or 11
|
||||||
|
|
||||||
-- Peanut
|
-- Peanut
|
||||||
cucina_vegana.plant_settings.peanut = minetest.settings:get_bool("cucina_vegana.plant_settings.peanut") or true
|
cucina_vegana.plant_settings.peanut = minetest.settings:get_bool(cv_setting .."peanut") or true
|
||||||
cucina_vegana.plant_settings.peanut_scale = minetest.settings:get("cucina_vegana.plant_settings.peanut_scale") or 0.0006
|
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("cucina_vegana.plant_settings.peanut_light") or 12
|
cucina_vegana.plant_settings.peanut_light = minetest.settings:get(cv_setting .."peanut_light") or 12
|
||||||
|
|
||||||
-- Rice
|
-- Rice
|
||||||
cucina_vegana.plant_settings.rice = minetest.settings:get_bool("cucina_vegana.plant_settings.rice") or true
|
cucina_vegana.plant_settings.rice = minetest.settings:get_bool(cv_setting .."rice") or true
|
||||||
cucina_vegana.plant_settings.rice_scale = minetest.settings:get("cucina_vegana.plant_settings.rice_scale") or 0.0005
|
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("cucina_vegana.plant_settings.rice_light") or 12
|
cucina_vegana.plant_settings.rice_light = minetest.settings:get(cv_setting .."rice_light") or 12
|
||||||
|
|
||||||
-- Rosemary
|
-- Rosemary
|
||||||
cucina_vegana.plant_settings.rosemary = minetest.settings:get_bool("cucina_vegana.plant_settings.rosemary") or true
|
cucina_vegana.plant_settings.rosemary = minetest.settings:get_bool(cv_setting .."rosemary") or true
|
||||||
cucina_vegana.plant_settings.rosemary_scale = minetest.settings:get("cucina_vegana.plant_settings.rosemary") or 0.0008
|
cucina_vegana.plant_settings.rosemary_scale = minetest.settings:get(cv_setting .."rosemary") or 0.0008
|
||||||
cucina_vegana.plant_settings.rosemary_light = minetest.settings:get("cucina_vegana.plant_settings.rosemary") or 12
|
cucina_vegana.plant_settings.rosemary_light = minetest.settings:get(cv_setting .."rosemary") or 12
|
||||||
|
|
||||||
-- Soy
|
-- Soy
|
||||||
cucina_vegana.plant_settings.soy = minetest.settings:get_bool("cucina_vegana.plant_settings.soy") or true
|
cucina_vegana.plant_settings.soy = minetest.settings:get_bool(cv_setting .."soy") or true
|
||||||
cucina_vegana.plant_settings.soy_scale = minetest.settings:get("cucina_vegana.plant_settings.soy") or 0.0007
|
cucina_vegana.plant_settings.soy_scale = minetest.settings:get(cv_setting .."soy") or 0.0007
|
||||||
cucina_vegana.plant_settings.soy_light = minetest.settings:get("cucina_vegana.plant_settings.soy") or 12
|
cucina_vegana.plant_settings.soy_light = minetest.settings:get(cv_setting .."soy") or 12
|
||||||
|
|
||||||
-- Sunflowers
|
-- Sunflowers
|
||||||
cucina_vegana.plant_settings.sunflower = minetest.settings:get_bool("cucina_vegana.plant_settings.sunflower") or true
|
cucina_vegana.plant_settings.sunflower = minetest.settings:get_bool(cv_setting .."sunflower") or true
|
||||||
cucina_vegana.plant_settings.sunflower_scale = minetest.settings:get("cucina_vegana.plant_settings.sunflower") or 0.0007
|
cucina_vegana.plant_settings.sunflower_scale = minetest.settings:get(cv_setting .."sunflower") or 0.0007
|
||||||
cucina_vegana.plant_settings.sunflower_light = minetest.settings:get("cucina_vegana.plant_settings.sunflower") or 13
|
cucina_vegana.plant_settings.sunflower_light = minetest.settings:get(cv_setting .."sunflower") or 13
|
||||||
|
Loading…
x
Reference in New Issue
Block a user