fixed some textures + add some crafts + added some soups
@ -137,8 +137,7 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
--lamp
|
||||
|
||||
--box
|
||||
minetest.register_craft({
|
||||
output = "default:box 4",
|
||||
recipe = {
|
||||
@ -269,6 +268,18 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
-- rope
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:rope",
|
||||
recipe = {
|
||||
{"", "default:string_strong", ""},
|
||||
{"", "default:string_strong", ""},
|
||||
{"", "default:string_strong", ""},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
-- grass
|
||||
|
||||
|
@ -3,11 +3,6 @@ minetest.register_craftitem("default:string", {
|
||||
inventory_image = "default_string.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("default:wood_item", {
|
||||
description = "Wood",
|
||||
inventory_image = "default_wood_inv.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("default:stone_item", {
|
||||
description = "Stone",
|
||||
inventory_image = "default_stone_item.png",
|
||||
@ -29,16 +24,6 @@ minetest.register_craftitem("default:coal_dust", {
|
||||
inventory_image = "default_coal_dust.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("default:iron_lump", {
|
||||
description = "Iron Lump",
|
||||
inventory_image = "default_iron_lump.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("default:gold_lump", {
|
||||
description = "Gold Lump",
|
||||
inventory_image = "default_gold_lump.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("default:diamond", {
|
||||
description = "Diamond",
|
||||
inventory_image = "default_diamond.png",
|
||||
|
@ -218,34 +218,6 @@ minetest.register_node("default:lamp", {
|
||||
groups = {crumbly = 3},
|
||||
})
|
||||
|
||||
minetest.register_node("default:present", {
|
||||
description = "Present",
|
||||
tiles = {"default_present_top.png", "default_present_top.png", "default_present_side.png", "default_present_side.png", "default_present_side.png", "default_present_side.png"},
|
||||
groups = {crumbly = 3},
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.4, -0.5, -0.4, 0.4, 0, 0.4},
|
||||
},
|
||||
},
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_node("default:present_big", {
|
||||
description = "Present (big)",
|
||||
tiles = {"default_present_top.png", "default_present_top.png", "default_present_side.png", "default_present_side.png", "default_present_side.png", "default_present_side.png"},
|
||||
groups = {crumbly = 3},
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.4, -0.5, -0.4, 0.4, 0.4, 0.4},
|
||||
},
|
||||
},
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node("default:ladder", {
|
||||
description = "Ladder",
|
||||
@ -577,6 +549,20 @@ minetest.register_node("default:mushroom", {
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"default:mushroom"},
|
||||
neighbors = {"default:dirt"},
|
||||
interval = 20,
|
||||
chance = 2,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
local p = {x = pos.x + math.random(-1,1), y = pos.y, z = pos.z + math.random(-1,1)}
|
||||
local under = vector.new(p.x, p.y-1, p.z)
|
||||
if minetest.get_node(p).name == "air" and minetest.get_node(under).name == "default:dirt" then
|
||||
minetest.set_node(p, {name = "default:mushroom"})
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_node("default:liana", {
|
||||
description = "Liana",
|
||||
drawtype = "signlike",
|
||||
@ -639,7 +625,6 @@ end
|
||||
default.register_floor("red")
|
||||
default.register_floor("green")
|
||||
default.register_floor("yellow")
|
||||
default.register_floor("brown")
|
||||
default.register_floor("white")
|
||||
default.register_floor("black")
|
||||
|
||||
@ -656,7 +641,6 @@ end
|
||||
default.register_wool("red")
|
||||
default.register_wool("green")
|
||||
default.register_wool("yellow")
|
||||
default.register_wool("brown")
|
||||
default.register_wool("white")
|
||||
default.register_wool("black")
|
||||
|
||||
|
Before Width: | Height: | Size: 283 B After Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 206 B After Width: | Height: | Size: 269 B |
@ -218,7 +218,17 @@ minetest.register_craftitem("farming:cookie", {
|
||||
on_use = minetest.item_eat(5),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("farming:mushroom_soup", {
|
||||
description = "Mushroom Soup",
|
||||
inventory_image = "farming_mushroom_soup.png",
|
||||
on_use = minetest.item_eat(7),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("farming:cactus_soup", {
|
||||
description = "Cactus Soup",
|
||||
inventory_image = "farming_cactus_soup.png",
|
||||
on_use = minetest.item_eat(7),
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
@ -259,3 +269,15 @@ minetest.register_craft({
|
||||
{"farming:bowl_with_water", "farming:bowl"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "farming:mushroom_soup",
|
||||
recipe = {"default:mushroom", "default:mushroom", "farming:bowl"},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "farming:cactus_soup",
|
||||
recipe = {"farming:cactus", "farming:cactus", "farming:bowl"},
|
||||
})
|
||||
|
BIN
mods/farming/textures/farming_cactus_soup.png
Normal file
After Width: | Height: | Size: 301 B |
BIN
mods/farming/textures/farming_mushroom_soup.png
Normal file
After Width: | Height: | Size: 301 B |