Parameter Light moved to settingtypes.lua
This commit is contained in:
parent
fe0d55dfa5
commit
dd7f20e71a
@ -18,7 +18,7 @@ farming.register_plant("cucina_vegana:" .. pname, {
|
||||
description = dname .. " " .. S("Seed"),
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
steps = step,
|
||||
minlight = 11,
|
||||
minlight = cucina_vegana_plant_settings.asparagus_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
fertility = {"grassland"},
|
||||
groups = {flammable = 4, attached_node = 1},
|
||||
|
@ -20,7 +20,7 @@ local modname = minetest.get_current_modname()
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
wield_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
drawtype = "signlike",
|
||||
minlight = 11,
|
||||
minlight = cucina_vegana_plant_settings.asparagus_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, dig_immediate=1, flammable = 4},
|
||||
paramtype = "light",
|
||||
|
@ -18,7 +18,7 @@ farming.register_plant("cucina_vegana:" .. pname, {
|
||||
description = dname .. " " .. S("Seed"),
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
steps = step,
|
||||
minlight = 10,
|
||||
minlight = cucina_vegana_plant_settings.chives_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
fertility = {"grassland"},
|
||||
groups = {flammable = 4},
|
||||
|
@ -19,7 +19,7 @@ minetest.register_node("cucina_vegana:" .. pname .. "_seed", {
|
||||
tiles = {"cucina_vegana_" .. pname .. "_seed.png"},
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
wield_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
minlight = 10,
|
||||
minlight = cucina_vegana_plant_settings.chives_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
drawtype = "signlike",
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, dig_immediate=1, flammable = 4},
|
||||
|
@ -18,7 +18,7 @@ farming.register_plant("cucina_vegana:" .. pname, {
|
||||
description = dname .. " " .. S("Seed"),
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
steps = step,
|
||||
minlight = 10,
|
||||
minlight = cucina_vegana_plant_settings.flax_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
fertility = {"grassland"},
|
||||
groups = {flammable = 4},
|
||||
|
@ -19,7 +19,7 @@ minetest.register_node("cucina_vegana:" .. pname .. "_seed", {
|
||||
tiles = {"cucina_vegana_" .. pname .. "_seed.png"},
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
wield_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
minlight = 10,
|
||||
minlight = cucina_vegana_plant_settings.flax_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
drawtype = "signlike",
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, dig_immediate=1, flammable = 4},
|
||||
|
@ -18,7 +18,7 @@ farming.register_plant("cucina_vegana:" .. pname, {
|
||||
description = dname .. " " .. S("Seed"),
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
steps = step,
|
||||
minlight = 13,
|
||||
minlight = cucina_vegana_plant_settings.kohlrabi_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
fertility = {"grassland"},
|
||||
groups = {flammable = 4, attached_node = 1},
|
||||
|
@ -20,7 +20,7 @@ local modname = minetest.get_current_modname()
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
wield_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
drawtype = "signlike",
|
||||
minlight = 13,
|
||||
minlight = cucina_vegana_plant_settings.kohlrabi_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, dig_immediate=1, flammable = 4},
|
||||
paramtype = "light",
|
||||
|
@ -19,7 +19,7 @@ farming.register_plant("cucina_vegana:" .. pname, {
|
||||
description = dname .. " " .. S("Seed"),
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
steps = step,
|
||||
minlight = 12,
|
||||
minlight = cucina_vegana_plant_settings.lettuce_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
fertility = {"grassland"},
|
||||
groups = {flammable = 4, attached_node = 1},
|
||||
|
@ -20,7 +20,7 @@ minetest.register_node("cucina_vegana:" .. pname .. "_seed", {
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
wield_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
drawtype = "signlike",
|
||||
minlight = 12,
|
||||
minlight = cucina_vegana_plant_settings.lettuce_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, dig_immediate=1, flammable = 4},
|
||||
paramtype = "light",
|
||||
|
@ -18,7 +18,7 @@ farming.register_plant("cucina_vegana:" .. pname, {
|
||||
description = dname .. " " .. S("Seed"),
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
steps = step,
|
||||
minlight = 11,
|
||||
minlight = cucina_vegana_plant_settings.parsley_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
fertility = {"grassland"},
|
||||
groups = {flammable = 4, attached_node = 1},
|
||||
|
@ -20,7 +20,7 @@ minetest.register_node("cucina_vegana:" .. pname .. "_seed", {
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
wield_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
drawtype = "signlike",
|
||||
minlight = 11,
|
||||
minlight = cucina_vegana_plant_settings.parsley_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, dig_immediate=1, flammable = 4, attached_node = 1},
|
||||
paramtype = "light",
|
||||
|
@ -18,7 +18,7 @@ farming.register_plant("cucina_vegana:" .. pname .. "", {
|
||||
description = dname .. " " .. S("Seed"),
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
steps = step,
|
||||
minlight = 12,
|
||||
minlight = cucina_vegana_plant_settings.rice_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
fertility = {"grassland"},
|
||||
groups = {flammable = 4, attached_node = 1},
|
||||
|
@ -20,7 +20,7 @@ local modname = minetest.get_current_modname()
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
wield_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
drawtype = "signlike",
|
||||
minlight = 12,
|
||||
minlight = cucina_vegana_plant_settings.rice_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, dig_immediate=1, flammable = 4},
|
||||
paramtype = "light",
|
||||
|
@ -19,7 +19,7 @@ farming.register_plant("cucina_vegana:" .. pname, {
|
||||
description = dname .. " " .. S("Seed"),
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
steps = 6,
|
||||
minlight = 12,
|
||||
minlight = cucina_vegana_plant_settings.rosemary_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
fertility = {"sand", "grassland"},
|
||||
groups = {flammable = 4},
|
||||
|
@ -20,7 +20,7 @@ minetest.register_node("cucina_vegana:" .. pname .. "_seed", {
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
wield_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
drawtype = "signlike",
|
||||
minlight = 12,
|
||||
minlight = cucina_vegana_plant_settings.rosemary_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, dig_immediate=1, flammable = 4},
|
||||
paramtype = "light",
|
||||
|
@ -5,39 +5,50 @@
|
||||
-- Asparagus
|
||||
cucina_vegana_plant_settings.asparagus = true -- Asparagus is on
|
||||
cucina_vegana_plant_settings.asparagus_scale = 0.0006 -- Scalevalue
|
||||
|
||||
cucina_vegana_plant_settings.asparagus_light = 11
|
||||
|
||||
-- Chives
|
||||
cucina_vegana_plant_settings.chives = true -- Chives is on
|
||||
cucina_vegana_plant_settings.chives_scale = 0.0005
|
||||
cucina_vegana_plant_settings.chives_light = 10
|
||||
|
||||
-- Flax
|
||||
cucina_vegana_plant_settings.flax = true -- Flax is on
|
||||
cucina_vegana_plant_settings.flax_scale = 0.0006
|
||||
|
||||
cucina_vegana_plant_settings.flax_light = 10
|
||||
|
||||
-- Kohlrabi
|
||||
cucina_vegana_plant_settings.kohlrabi = true -- Kohlrabi is on
|
||||
cucina_vegana_plant_settings.kohlrabi_scale = 0.0007
|
||||
|
||||
cucina_vegana_plant_settings.kohlrabi_light = 13
|
||||
|
||||
-- Lettuce
|
||||
cucina_vegana_plant_settings.lettuce = true -- Lettuce is on
|
||||
cucina_vegana_plant_settings.lettuce_scale = 0.0002
|
||||
|
||||
cucina_vegana_plant_settings.lettuce_light = 12
|
||||
|
||||
-- Parsley
|
||||
cucina_vegana_plant_settings.parsley = true -- Parsley is on
|
||||
cucina_vegana_plant_settings.parsley_scale = 0.0005
|
||||
|
||||
cucina_vegana_plant_settings.parsley_light = 11
|
||||
|
||||
-- Rice
|
||||
cucina_vegana_plant_settings.rice = true -- Rice is on
|
||||
cucina_vegana_plant_settings.rice_scale = 0.0007
|
||||
|
||||
cucina_vegana_plant_settings.rice_light = 12
|
||||
|
||||
-- Rosemary
|
||||
cucina_vegana_plant_settings.rosemary = true -- Rosemary is on
|
||||
cucina_vegana_plant_settings.rosemary_scale = 0.0008
|
||||
|
||||
cucina_vegana_plant_settings.rosemary_light = 12
|
||||
|
||||
-- Soy
|
||||
cucina_vegana_plant_settings.soy = true -- Soy is on
|
||||
cucina_vegana_plant_settings.soy_scale = 0.0007
|
||||
|
||||
cucina_vegana_plant_settings.soy_light = 12
|
||||
|
||||
-- Sunflowers#
|
||||
cucina_vegana_plant_settings.sunflower = true -- Sunflower is on
|
||||
cucina_vegana_plant_settings.sunflower_scale = 0.0003
|
||||
cucina_vegana_plant_settings.sunflower_light = 13
|
||||
|
||||
|
@ -17,7 +17,7 @@ farming.register_plant("cucina_vegana:".. pname, {
|
||||
description = dname .. " " .. S("Seed"),
|
||||
inventory_image = "cucina_vegana_".. pname .. "_seed.png",
|
||||
steps = step,
|
||||
minlight = 12,
|
||||
minlight = cucina_vegana_plant_settings.soy_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
fertility = {"grassland"},
|
||||
groups = {flammable = 4, attached_node = 1},
|
||||
|
@ -20,7 +20,7 @@ minetest.register_node("cucina_vegana:".. pname .."_seed", {
|
||||
inventory_image = "cucina_vegana_".. pname .. "_seed.png",
|
||||
wield_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
drawtype = "signlike",
|
||||
minlight = 12,
|
||||
minlight = cucina_vegana_plant_settings.soy_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, flammable = 4},
|
||||
paramtype = "light",
|
||||
|
@ -26,7 +26,7 @@ else
|
||||
description = dname .. " " .. S("Seed"),
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
steps = step,
|
||||
minlight = 13,
|
||||
minlight = cucina_vegana_plant_settings.sunflower_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
fertility = {"grassland"},
|
||||
groups = {flammable = 4},
|
||||
|
@ -28,7 +28,7 @@ else
|
||||
inventory_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
wield_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
drawtype = "signlike",
|
||||
minlight = 13,
|
||||
minlight = cucina_vegana_plant_settings.sunflower_light,
|
||||
maxlight = default.LIGHT_MAX,
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, dig_immediate=1, flammable = 4},
|
||||
paramtype = "light",
|
||||
|
Loading…
x
Reference in New Issue
Block a user