Add files via upload

This commit is contained in:
Skandarella 2022-12-01 16:35:56 +01:00 committed by GitHub
parent 1ce3378ac4
commit aa72922e67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 128 additions and 2 deletions

View File

@ -531,7 +531,7 @@ minetest.register_node("naturalbiomes:cowberry", {
fleshy = 3, dig_immediate = 3, flammable = 2, fleshy = 3, dig_immediate = 3, flammable = 2,
leafdecay = 1, leafdecay_drop = 1 leafdecay = 1, leafdecay_drop = 1
}, },
drop = "naturalbiomes_alpine_cowberry_fruit", drop = "naturalbiomes:cowberry",
on_use = minetest.item_eat(2), on_use = minetest.item_eat(2),
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
after_place_node = function(pos, placer) after_place_node = function(pos, placer)

125
dye.lua Normal file
View File

@ -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"}
},
})

View File

@ -40,6 +40,7 @@ dofile(path .. "outback.lua") --
dofile(path .. "mediterranean.lua") -- dofile(path .. "mediterranean.lua") --
dofile(path .. "crafting.lua") -- dofile(path .. "crafting.lua") --
dofile(path .. "heath.lua") -- dofile(path .. "heath.lua") --
dofile(path .. "dye.lua") --
dofile(path .. "leafdecay.lua") -- dofile(path .. "leafdecay.lua") --
dofile(path .. "hunger.lua") -- dofile(path .. "hunger.lua") --

View File

@ -44,7 +44,7 @@ default.register_leafdecay({
default.register_leafdecay({ default.register_leafdecay({
trunks = {"naturalbiomes:med_bush_stem"}, trunks = {"naturalbiomes:med_bush_stem"},
leaves = {"naturalbiomes:med_bush_leaves"}, leaves = {"naturalbiomes:med_bush_leaves"},
radius = 6 radius = 16
}) })
default.register_leafdecay({ default.register_leafdecay({