diff --git a/crops/melon.lua b/crops/melon.lua index 0549dd3..59f6190 100644 --- a/crops/melon.lua +++ b/crops/melon.lua @@ -74,14 +74,19 @@ minetest.register_node("farming:melon_7", table.copy(def)) -- stage 8 (final) def.drawtype = "nodebox" def.description = S("Melon") -def.tiles = {"farming_melon_top.png", "farming_melon_top.png", "farming_melon_side.png"} +def.tiles = { + "farming_melon_top.png", "farming_melon_bottom.png", "farming_melon_side.png" +} def.selection_box = {-.5, -.5, -.5, .5, .5, .5} def.walkable = true +def.buildable_to = false +def.paramtype2 = "facedir" def.groups = { food_melon = 1, snappy = 2, oddly_breakable_by_hand = 1, flammable = 2, plant = 1 } def.drop = "farming:melon_8" +def.on_place = minetest.rotate_node minetest.register_node("farming:melon_8", table.copy(def)) -- add to registered_plants diff --git a/license.txt b/license.txt index 7ef6164..074e59b 100644 --- a/license.txt +++ b/license.txt @@ -63,6 +63,11 @@ Created by VanessaE (License: CC BY 3.0): farming_cotton_7.png farming_cotton_8.png +Created by 7eventy7 (https://www.planetminecraft.com/member/7eventy7/) + farming_melon_top.png + farming_melon_side.png + farming_melon_bottom.png + Created by Doc (License: CC BY 3.0): farming_cucumber.png farming_cucumber_1.png diff --git a/textures/farming_melon_bottom.png b/textures/farming_melon_bottom.png new file mode 100644 index 0000000..91d1e6c Binary files /dev/null and b/textures/farming_melon_bottom.png differ diff --git a/textures/farming_melon_side.png b/textures/farming_melon_side.png index 88e40c6..07afb25 100644 Binary files a/textures/farming_melon_side.png and b/textures/farming_melon_side.png differ diff --git a/textures/farming_melon_top.png b/textures/farming_melon_top.png index f387dbd..29ca92d 100644 Binary files a/textures/farming_melon_top.png and b/textures/farming_melon_top.png differ