added carrots
This commit is contained in:
parent
bebe09cadc
commit
c27901a83b
@ -3,7 +3,7 @@
|
|||||||
minetest.register_node("default:wood", {
|
minetest.register_node("default:wood", {
|
||||||
description = "Wood",
|
description = "Wood",
|
||||||
tiles = {"default_wood.png"},
|
tiles = {"default_wood.png"},
|
||||||
groups = {choppy = 3},
|
groups = {choppy = 3, oddly_breakable_by_hand=1},
|
||||||
sounds = default.sounds.wood(),
|
sounds = default.sounds.wood(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ function farming.register_plant(name, steps, def)
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_craftitem(def.drop, {
|
minetest.register_craftitem(def.drop, {
|
||||||
description = def.drop_description,
|
description = def.drop_description,
|
||||||
inventory_image = def.drop_texture,
|
inventory_image = def.drop_texture,
|
||||||
@ -53,11 +54,21 @@ end
|
|||||||
farming.register_plant("wheat", 5, {
|
farming.register_plant("wheat", 5, {
|
||||||
description = "Wheat",
|
description = "Wheat",
|
||||||
texture = "farming_wheat",
|
texture = "farming_wheat",
|
||||||
|
|
||||||
drop = "farming:wheat_seeds",
|
drop = "farming:wheat_seeds",
|
||||||
drop_description = "Wheat Seeds",
|
drop_description = "Wheat Seeds",
|
||||||
drop_texture = "farming_wheat_seeds.png",
|
drop_texture = "farming_wheat_seeds.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
farming.register_plant("carrot", 3, {
|
||||||
|
description = "Carrot",
|
||||||
|
texture = "farming_carrot",
|
||||||
|
|
||||||
|
drop = "farming:carrot",
|
||||||
|
drop_description = "Carrot",
|
||||||
|
drop_texture = "farming_carrot.png",
|
||||||
|
})
|
||||||
|
|
||||||
minetest.override_item("default:plant_grass", {drop = {
|
minetest.override_item("default:plant_grass", {drop = {
|
||||||
max_items = 1,
|
max_items = 1,
|
||||||
items = {
|
items = {
|
||||||
|
BIN
mods/farming/textures/farming_carrot.png
Normal file
BIN
mods/farming/textures/farming_carrot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 299 B |
BIN
mods/farming/textures/farming_carrot_1.png
Normal file
BIN
mods/farming/textures/farming_carrot_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 237 B |
BIN
mods/farming/textures/farming_carrot_2.png
Normal file
BIN
mods/farming/textures/farming_carrot_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 270 B |
BIN
mods/farming/textures/farming_carrot_3.png
Normal file
BIN
mods/farming/textures/farming_carrot_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 402 B |
Loading…
x
Reference in New Issue
Block a user