diff --git a/alpine.lua b/alpine.lua index ccd027e..853b40d 100644 --- a/alpine.lua +++ b/alpine.lua @@ -531,7 +531,7 @@ minetest.register_node("naturalbiomes:cowberry", { fleshy = 3, dig_immediate = 3, flammable = 2, leafdecay = 1, leafdecay_drop = 1 }, - drop = "naturalbiomes_alpine_cowberry_fruit", + drop = "naturalbiomes:cowberry", on_use = minetest.item_eat(2), sounds = default.node_sound_leaves_defaults(), after_place_node = function(pos, placer) diff --git a/dye.lua b/dye.lua new file mode 100644 index 0000000..6940259 --- /dev/null +++ b/dye.lua @@ -0,0 +1,125 @@ +minetest.register_craft({ + output = "dye:yellow 2", + recipe = { + {"naturalbiomes:alderswamp_yellowflower"} + }, +}) + +minetest.register_craft({ + output = "dye:orange 2", + recipe = { + {"naturalbiomes:alpine_dandelion"} + }, +}) + +minetest.register_craft({ + output = "dye:red 2", + recipe = { + {"naturalbiomes:cowberry"} + }, +}) + +minetest.register_craft({ + output = "dye:white 2", + recipe = { + {"naturalbiomes:alpine_edelweiss"} + }, +}) + +minetest.register_craft({ + output = "dye:pink 2", + recipe = { + {"naturalbiomes:med_flower1"} + }, +}) + +minetest.register_craft({ + output = "dye:violet 2", + recipe = { + {"naturalbiomes:med_flower3"} + }, +}) + +minetest.register_craft({ + output = "dye:brown 2", + recipe = { + {"naturalbiomes:med_grass2"} + }, +}) + +minetest.register_craft({ + output = "dye:brown 2", + recipe = { + {"naturalbiomes:med_grass1"} + }, +}) + +minetest.register_craft({ + output = "dye:orange 2", + recipe = { + {"naturalbiomes:outback_grass6"} + }, +}) + +minetest.register_craft({ + output = "dye:brown 2", + recipe = { + {"naturalbiomes:savanna_flowergrass"} + }, +}) + +minetest.register_craft({ + output = "dye:green 2", + recipe = { + {"naturalbiomes:palmbeach_grass1"} + }, +}) + +minetest.register_craft({ + output = "dye:violet 2", + recipe = { + {"naturalbiomes:heatherflower"} + }, +}) + +minetest.register_craft({ + output = "dye:magenta 2", + recipe = { + {"naturalbiomes:heatherflower2"} + }, +}) + +minetest.register_craft({ + output = "dye:violet 2", + recipe = { + {"naturalbiomes:heatherflower3"} + }, +}) + +minetest.register_craft({ + output = "dye:pink 2", + recipe = { + {"naturalbiomes:heatherflower4"} + }, +}) + +minetest.register_craft({ + output = "dye:white 2", + recipe = { + {"naturalbiomes:med_flower2"} + }, +}) + +minetest.register_craft({ + output = "dye:grey 2", + recipe = { + {"naturalbiomes:outback_grass5"} + }, +}) + +minetest.register_craft({ + output = "dye:dark_green 2", + recipe = { + {"naturalbiomes:outback_grass2"} + }, +}) \ No newline at end of file diff --git a/init.lua b/init.lua index a4fef35..828a36a 100644 --- a/init.lua +++ b/init.lua @@ -40,6 +40,7 @@ dofile(path .. "outback.lua") -- dofile(path .. "mediterranean.lua") -- dofile(path .. "crafting.lua") -- dofile(path .. "heath.lua") -- +dofile(path .. "dye.lua") -- dofile(path .. "leafdecay.lua") -- dofile(path .. "hunger.lua") -- diff --git a/leafdecay.lua b/leafdecay.lua index 9697ff9..535d4ee 100644 --- a/leafdecay.lua +++ b/leafdecay.lua @@ -44,7 +44,7 @@ default.register_leafdecay({ default.register_leafdecay({ trunks = {"naturalbiomes:med_bush_stem"}, leaves = {"naturalbiomes:med_bush_leaves"}, - radius = 6 + radius = 16 }) default.register_leafdecay({