From f85e9ba691ae534c6b129b4e7e93299c101cd8cc Mon Sep 17 00:00:00 2001 From: BlockMen Date: Thu, 17 Apr 2014 14:14:56 +0200 Subject: [PATCH] Add mese and diamond hoe, new tool textures --- mods/farming/README.txt | 4 +- mods/farming/init.lua | 36 ++++++++++++++++++ .../textures/farming_tool_bronzehoe.png | Bin 242 -> 308 bytes .../textures/farming_tool_diamondhoe.png | Bin 0 -> 299 bytes .../farming/textures/farming_tool_mesehoe.png | Bin 0 -> 277 bytes .../textures/farming_tool_steelhoe.png | Bin 248 -> 278 bytes .../textures/farming_tool_stonehoe.png | Bin 257 -> 296 bytes .../farming/textures/farming_tool_woodhoe.png | Bin 217 -> 270 bytes 8 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 mods/farming/textures/farming_tool_diamondhoe.png create mode 100644 mods/farming/textures/farming_tool_mesehoe.png diff --git a/mods/farming/README.txt b/mods/farming/README.txt index b92e0bee..75521b2c 100644 --- a/mods/farming/README.txt +++ b/mods/farming/README.txt @@ -28,7 +28,9 @@ Created by PilzAdam (License: WTFPL): farming_soil_wet_side.png farming_string.png -Created by Calinou (License: CC BY-SA): +Created by BlockMen (License: CC BY 3.0): + farming_tool_diamondhoe.png + farming_tool_mesehoe.png farming_tool_bronzehoe.png farming_tool_steelhoe.png farming_tool_stonehoe.png diff --git a/mods/farming/init.lua b/mods/farming/init.lua index 4a2df196..31cacc4d 100644 --- a/mods/farming/init.lua +++ b/mods/farming/init.lua @@ -142,6 +142,24 @@ minetest.register_tool("farming:hoe_bronze", { end, }) +minetest.register_tool("farming:hoe_mese", { + description = "Mese Hoe", + inventory_image = "farming_tool_mesehoe.png", + + on_use = function(itemstack, user, pointed_thing) + return farming.hoe_on_use(itemstack, user, pointed_thing, 350) + end, +}) + +minetest.register_tool("farming:hoe_diamond", { + description = "Diamond Hoe", + inventory_image = "farming_tool_diamondhoe.png", + + on_use = function(itemstack, user, pointed_thing) + return farming.hoe_on_use(itemstack, user, pointed_thing, 500) + end, +}) + minetest.register_craft({ output = "farming:hoe_wood", recipe = { @@ -178,6 +196,24 @@ minetest.register_craft({ } }) +minetest.register_craft({ + output = "farming:hoe_mese", + recipe = { + {"default:mese_crystal", "default:mese_crystal"}, + {"", "group:stick"}, + {"", "group:stick"}, + } +}) + +minetest.register_craft({ + output = "farming:hoe_diamond", + recipe = { + {"default:diamond", "default:diamond"}, + {"", "group:stick"}, + {"", "group:stick"}, + } +}) + -- -- Override grass for drops -- diff --git a/mods/farming/textures/farming_tool_bronzehoe.png b/mods/farming/textures/farming_tool_bronzehoe.png index 140fb64ddccb9c594aa67ed42fdafb2ef7daa016..ed10a595897bb661d0c520e58819e5d1914e65c3 100644 GIT binary patch delta 281 zcmV+!0p|Yl0ki^;B!3BTNLh0L01m?d01m?e$8V@)0002yNklAg9sXcY|#I9+yDRP7yUm|Z1F$PQs%##uIPWF4S#?c^0d+Q|ECGj{|{zr z|F>2ZAkBaY-_A2wYl{4z=Ewj4euLZp&9Ty?8Q`oh{@>q}_rIYc-~Y|A(*H>cgFs7} z|2dw*{|)7MNe@JrW@}XejHo1N06xtG4Irc$uK~np#%Tbtnz0%H(`=?hSTj}w%#;L( f){NBvN-zKvQxbdC?BGQu00000NkvXXu0mjfk$;f5 delta 214 zcmdnO^oenTNPZ}u5UgGKN%6^ws zlvj~yxm1<_P^jM1#WBRPh9GG!?os~f}62l_yj3e1!s?KlKD!C)}JTj8jCP6NUO$ca%Y>r1iFR6 M)78&qol`;+0C^5frT_o{ diff --git a/mods/farming/textures/farming_tool_diamondhoe.png b/mods/farming/textures/farming_tool_diamondhoe.png new file mode 100644 index 0000000000000000000000000000000000000000..401d713c01dc18d021a2f473944806d2dbbba010 GIT binary patch literal 299 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9F5he4R}c>anMpx|9k z7srr_IZH3va~(2}X?qy6AgJS!Qj-&VyMnC9lF4E$u`1sK3OIKNY zfoFBj6P7->D0=#|q?>~v*Cr98%7gZ@2h?THL~`G9==15XW{K>&`I6!M#D3ciw_j(N%H(GLU^3q|Zm#XwGvy8YZIA!^>7^PVs?8W0!};P! tJ>%USA}1af#>-A;dc1EfkSzVimbqoO>IDhIB%ntbJYD@<);T3K0RWLZaR2}S literal 0 HcmV?d00001 diff --git a/mods/farming/textures/farming_tool_mesehoe.png b/mods/farming/textures/farming_tool_mesehoe.png new file mode 100644 index 0000000000000000000000000000000000000000..245b7d5c207a9272751ccb7e9acc082ff3752c0b GIT binary patch literal 277 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9F5he4R}c>anMpx|*& z7srr_IZH3@TodL?8Y20(>hG%iEs@+XkN>8wmBnPe!cTiz z%^v9c_T82{x8w4k4%as~-Ck->b%lwUK=?mv$z!ht9kJfB;Y{mNGmcMnm~G1- Y8SHc5WUI$ipqCgtUHx3vIVCg!0JQsQw*UYD literal 0 HcmV?d00001 diff --git a/mods/farming/textures/farming_tool_steelhoe.png b/mods/farming/textures/farming_tool_steelhoe.png index c19afb85668a302fafe954e777db52a9f5cf75a1..9ae231aac1abf4479f1b6b1ad6b6e9941afae9ba 100644 GIT binary patch delta 250 zcmV~iDSxZTFcZxS7N`6_9`^+xyt4p= zGG@Wuk%YU`bsc7gB+8hDzZ(R8PZD)q1K{qM8Iyp1W=7k#0CSib*Ta(2c0n@GzeW;G z(_m)AO+F1MV;17~2a>3&3Q5y|+yIH*st^Cco2AJcP+2)Qf^-s%m4rY07*qoM6N<$g5&yb AV*mgE delta 220 zcmbQn^n-DNNPZ}u5UgGKN%6^BN zO;|`{#iqNKK%rJo7sn8b)5!@7#40{NJ6oUPv&~W3Eayl4von&Xc$p&5zPg*B1 z$L+84-IXSxa7uKCiSq6yowFy_9eBl?Wb(L#b!8xnQA^6~k7`1jjQMYxIWscM+tctZ TQCD9F=pqJBS3j3^P64n4 z133t3=@JSF$u(qUzrUIfmTrzAtGd1hKS(rJU3tnwDLb*Xxo-N&k+$f;QRB9->(ISwMIm6y216d zBEBp+yf563Xk&lp{rk#E;88pYOvMj@Iq_X!ZafOu__&#lM}gzUn;nk=&+G=7THU^n TL-!y60000VO0|RG)M`SSr1K$x4W}K?cCk+&2FY)wsWxvDC zCM;yI`<`n)P^iz-#WBRGj d%57s}cp;M1IE&%zd!W-8JYD@<);T3K0RXfzS|9)b diff --git a/mods/farming/textures/farming_tool_woodhoe.png b/mods/farming/textures/farming_tool_woodhoe.png index 2448c181089ab9257fd08b17d45a73051f7bb715..21838a2452095a4b5735b713b4ce2331b5e4d58a 100644 GIT binary patch delta 242 zcmVj5p+hMdB8WO!0#4%Cu3Ea}VSS_1p+tmQjX0bs{NHdx0FWai0LWN6(;k(N z;qIYV33S6Te=}PJ4AM%9w>m>N9M8(dF2Jmn6unCDQXzE1(QD-a)b#{wU@RR{Ts*Xr zVyGEJ$i?`!NAd8uGya*iG2bILuIfZDtZU6uP07*qoM6N<$f|VO0|RG)M`SSr1K$x4W}K?cCk+&2FY)wsWxvDC zCM;xmi0SWXpir8pi(`mIZ*sx{u@fbi|K1nL<2$Bcc9ZR9me=3!reS~hjVI(BPGCF8 zQ@r`gfBEdyPP-D@xEB3)Y-{9UkbJV_h-aH(kc`>?iH4rD9M7@cT%~!?b=O&gvnts# nD`%bTTGY5*lI6rUNiK%D-(7!M`w2<_tz__Y^>bP0l+XkKg*!-p -- 2.25.1