From 4b033fed838de1f936b808d4ab6d10a70682c02c Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sun, 25 Apr 2021 13:51:52 +0100 Subject: [PATCH] add new melon textures (thanks 7eventy7) --- crops/melon.lua | 7 ++++++- license.txt | 5 +++++ textures/farming_melon_bottom.png | Bin 0 -> 172 bytes textures/farming_melon_side.png | Bin 270 -> 179 bytes textures/farming_melon_top.png | Bin 272 -> 193 bytes 5 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 textures/farming_melon_bottom.png 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 0000000000000000000000000000000000000000..91d1e6cd443f4cd2590a6f88913b92c56cff8a13 GIT binary patch literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9JOMr-u7<@jL5(u`la*`ds`lDi zz6Od%d%8G=a9n2$U|9d3Vasc4Ifk{>mDLQdtIOUpSj|>m!r-^gFOcDA{ UmDelJ0Igy0boFyt=akR{0H%mLG5`Po literal 0 HcmV?d00001 diff --git a/textures/farming_melon_side.png b/textures/farming_melon_side.png index 88e40c6a08421585274e41b58ecd19c88cc0a567..07afb25d3d6fec12ab2e0e806c120ae153372003 100644 GIT binary patch delta 151 zcmV;I0BHY?0pu}1%Wy38 zZ)yGs*I0&$A^*3;pAgMsC{en5Q2v<7Ifg=pJq!JhD%@pgRBKwZK;xRid7#v~Ph3w8 z`WZ@;&wb#3>;Pi?f5dkc#4!GUNbZ@!K86y-_lu=o02xzM?k&qc?skr0i|hYmo;$*3 sF>H%?_bhvR+dhWrv;S_(KHYs50Lv3cFfLaFE&u=k07*qoM6N<$g21e8J^0B!3T3OjJcIT^TWR98!TCZ<8Z^oh6xxX?_3z0BuP`K~xCW4UNGO z0x=8&H8&IhxfFmM7XY>zz)Jr$k&k8{yCcxV$stq+BZCkREH!2&?^y;@$>ak&?_Rk! zYMWhy1uxCdO2_beyeT`mo>y^$dex~4vg+grjL0AF-3Y}ud>);zW~z@vSL)0kP%jqd TNi3`M00000NkvXXu0mjf2%0~> delta 244 zcmVbyH)^H%S5jT8hP9RRJ(+41`^He0BuwpeRME7yX*kD5k!(n z-7*{i?#d9WV-XZ40Pc7dz@QxcHUPOHUhwf3&TIg=1Yhy<0=}#O>Dumo?wDxo0NL&7 ue!H48oB+Q6`?>%8ddUFHySrM;yU*+?GEAu4rZoWo0000