settingtypes added. Better Spreadvalues.

This commit is contained in:
A.C.M 2019-04-29 20:14:11 +02:00
parent 2620b7c014
commit b70967e152
6 changed files with 29 additions and 22 deletions

View File

@ -12,7 +12,7 @@
]]--
local plants = {}
local version = "1.7"
local version = "1.8"
cucina_vegana_farming_default = true
cucina_vegana_plant_settings = {}

View File

@ -132,7 +132,7 @@ minetest.register_craftitem("cucina_vegana:chives", {
})
minetest.register_craftitem("cucina_vegana:flax_raw", {
description = S("Flx (raw)"),
description = S("Flax (raw)"),
inventory_image = "cucina_vegana_flax_raw.png",
groups = {flammable = 1, string = 1},
})

View File

@ -4,7 +4,7 @@ minetest.register_decoration({
sidelen = 16,
noise_params = {
offset = 0,
scale = 0.01,
scale = cucina_vegana_plant_settings.kohlrabi_scale,
spread = {x = 100, y = 100, z = 100},
seed = 6349,
octaves = 4,
@ -17,4 +17,4 @@ minetest.register_decoration({
minetest.register_alias("kohlrabi:kohlrabi_roasted", "cucina_vegana:kohlrabi_roasted")
minetest.register_alias("kohlrabi:soup", "cucina_vegana:kohlrabi_soup")
minetest.register_alias("kohlrabi:soup_cooked", "cucina_vegana:kohlrabi_soup_cooked")
minetest.register_alias("kohlrabi:soup_cooked", "cucina_vegana:kohlrabi_soup_cooked")

View File

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-24 01:26+0200\n"
"PO-Revision-Date: 2019-04-24 01:29+0200\n"
"POT-Creation-Date: 2019-04-29 18:47+0200\n"
"PO-Revision-Date: 2019-04-29 18:49+0200\n"
"Last-Translator: acm <undertakers_help@yahoo.com>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de\n"
@ -22,20 +22,20 @@ msgid "Asparagus"
msgstr "Spargel"
#: asparagus_default.lua asparagus_redo.lua chives_default.lua chives_redo.lua
#: flex_default.lua flex_redo.lua kohlrabi_default.lua kohlrabi_redo.lua
#: flax_default.lua flax_redo.lua kohlrabi_default.lua kohlrabi_redo.lua
#: lettuce_default.lua lettuce_redo.lua parsley_default.lua parsley_redo.lua
#: rice_default.lua rice_redo.lua rosemary_default.lua rosemary_redo.lua
#: soy_default.lua soy_redo.lua sunflower_default.lua sunflower_redo.lua
msgid "Seed"
msgstr "Samen"
#: asparagus_default.lua chives_default.lua flex_default.lua
#: asparagus_default.lua chives_default.lua flax_default.lua
#: kohlrabi_default.lua lettuce_default.lua parsley_default.lua
#: rice_default.lua rosemary_default.lua soy_default.lua sunflower_default.lua
msgid "Wild"
msgstr "Wild"
#: asparagus_redo.lua chives_redo.lua flex_redo.lua kohlrabi_redo.lua
#: asparagus_redo.lua chives_redo.lua flax_redo.lua kohlrabi_redo.lua
#: lettuce_redo.lua parsley_redo.lua rice_redo.lua rosemary_redo.lua
#: soy_redo.lua sunflower_redo.lua
msgid "Wild "
@ -45,8 +45,8 @@ msgstr "Wild"
msgid "Chives"
msgstr "Schnittlauch"
#: flex_default.lua flex_redo.lua items.lua
msgid "Flex"
#: flax_default.lua flax_redo.lua items.lua
msgid "Flax"
msgstr "Flachs"
#: items.lua
@ -110,7 +110,7 @@ msgid "Imitation poultry"
msgstr "Analog Geflügel"
#: items.lua
msgid "Flex (raw)"
msgid "Flax (raw)"
msgstr "Flachs (roh)"
#: items.lua kohlrabi_default.lua kohlrabi_redo.lua
@ -178,7 +178,7 @@ msgid "Bottle of Sunflower Seeds Oil"
msgstr "Flasche Sonnenblumenkernöl"
#: nodes.lua
msgid "Bottle of Flexseed Oil"
msgid "Bottle of Flaxseed Oil"
msgstr "Flasche Leinsamenöl"
#: nodes.lua
@ -293,6 +293,9 @@ msgstr "Rosmarie"
msgid "Soy"
msgstr "Soja"
#~ msgid "Flex"
#~ msgstr "Flachs"
#~ msgid "beans seed"
#~ msgstr "bohnen Samen"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-24 01:26+0200\n"
"POT-Creation-Date: 2019-04-29 18:47+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -22,20 +22,20 @@ msgid "Asparagus"
msgstr ""
#: asparagus_default.lua asparagus_redo.lua chives_default.lua chives_redo.lua
#: flex_default.lua flex_redo.lua kohlrabi_default.lua kohlrabi_redo.lua
#: flax_default.lua flax_redo.lua kohlrabi_default.lua kohlrabi_redo.lua
#: lettuce_default.lua lettuce_redo.lua parsley_default.lua parsley_redo.lua
#: rice_default.lua rice_redo.lua rosemary_default.lua rosemary_redo.lua
#: soy_default.lua soy_redo.lua sunflower_default.lua sunflower_redo.lua
msgid "Seed"
msgstr ""
#: asparagus_default.lua chives_default.lua flex_default.lua
#: asparagus_default.lua chives_default.lua flax_default.lua
#: kohlrabi_default.lua lettuce_default.lua parsley_default.lua
#: rice_default.lua rosemary_default.lua soy_default.lua sunflower_default.lua
msgid "Wild"
msgstr ""
#: asparagus_redo.lua chives_redo.lua flex_redo.lua kohlrabi_redo.lua
#: asparagus_redo.lua chives_redo.lua flax_redo.lua kohlrabi_redo.lua
#: lettuce_redo.lua parsley_redo.lua rice_redo.lua rosemary_redo.lua
#: soy_redo.lua sunflower_redo.lua
msgid "Wild "
@ -45,8 +45,8 @@ msgstr ""
msgid "Chives"
msgstr ""
#: flex_default.lua flex_redo.lua items.lua
msgid "Flex"
#: flax_default.lua flax_redo.lua items.lua
msgid "Flax"
msgstr ""
#: items.lua
@ -110,7 +110,7 @@ msgid "Imitation poultry"
msgstr ""
#: items.lua
msgid "Flex (raw)"
msgid "Flax (raw)"
msgstr ""
#: items.lua kohlrabi_default.lua kohlrabi_redo.lua
@ -178,7 +178,7 @@ msgid "Bottle of Sunflower Seeds Oil"
msgstr ""
#: nodes.lua
msgid "Bottle of Flexseed Oil"
msgid "Bottle of Flaxseed Oil"
msgstr ""
#: nodes.lua

View File

@ -1,3 +1,7 @@
-- Settings are:
-- Lower value = easy to find (like 0.0005)
-- Higher value = hard to find (like 0.002)
-- Asparagus
cucina_vegana_plant_settings.asparagus_scale = 0.0006
@ -11,7 +15,7 @@ cucina_vegana_plant_settings.flax_scale = 0.0006
cucina_vegana_plant_settings.kohlrabi_scale = 0.0007
-- Lettuce
cucina_vegana_plant_settings.lettuce_scale = 0.0004
cucina_vegana_plant_settings.lettuce_scale = 0.0002
-- Parsley
cucina_vegana_plant_settings.parsley_scale = 0.0005