From bbe8c1f2165cf55e7c6b6cb1fce0c35b1ffc5f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Sat, 2 Sep 2017 17:13:47 +0200 Subject: [PATCH] Add azekillDIABLO's textures, change craft recipe accordingly. --- README | 4 +++- init.lua | 12 ++++++------ textures/farebox_front.png | Bin 370 -> 605 bytes 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README b/README index 33df7a3..3fe0f90 100644 --- a/README +++ b/README @@ -3,4 +3,6 @@ This mod adds a farebox that emmits a mesecons signal whenever a payment is acce It also adds faregates that open when a payment is received and close when they receive a mesecons signal, i.e. from a pressure pad right behind them that verifies that the player has passed through the -faregate. \ No newline at end of file +faregate. + +Farebox texture by azekillDIABLO \ No newline at end of file diff --git a/init.lua b/init.lua index f8f51a7..2193092 100644 --- a/init.lua +++ b/init.lua @@ -97,9 +97,9 @@ end) minetest.register_node("farebox:farebox", { description = "Farebox", tiles = { - "farebox_side.png", "farebox_side.png", - "farebox_side.png", "farebox_side.png", - "farebox_side.png", "farebox_front.png" + "default_steel_block.png", "default_steel_block.png", + "default_steel_block.png", "default_steel_block.png", + "default_steel_block.png", "farebox_front.png" }, paramtype2 = "facedir", groups = {cracky=2}, @@ -131,9 +131,9 @@ minetest.register_node("farebox:farebox", { minetest.register_craft({output = "farebox:farebox", recipe = { - {"group:wood", "group:wood", "group:wood"}, - {"group:wood", "", "group:wood"}, - {"group:wood", "mesecons:mesecon", "group:wood"}, + {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}, + {"default:steel_ingot", "", "default:steel_ingot"}, + {"default:steel_ingot", "mesecons:mesecon", "default:steel_ingot"}, } }) local modpath = minetest.get_modpath("farebox") diff --git a/textures/farebox_front.png b/textures/farebox_front.png index 2c93328ed649052da28d739816ab6b2a577b50b4..e2ff43d14ffca52782c9a70e8a6bf80449e696b4 100644 GIT binary patch delta 591 zcmV-V0ElA5qSCLN&8E)UDff&Z(-tLA%|yYPBlV>vhGW<0EUeTFQyFT21Fh zqhZZvQ;`}FL{Vhx^~!GZ+_LP})>*2Y^LR2A=F_F6X<8sj5=FQH>P{v?c7ZsKB`}-M zM0#88=pGlfp18$p7Ol-&Qw2 zvd`*dG#cB@=w>qlOY{-S<+9Be3l%w;4iJF+nw1n+lU?iedYcj0s25f$6)g-ma)4Np zEoAaA|D@LMXM1)%92(|9r_)gpq;9vXh56DPf3qz)zkehjM1Dz164D5?0og@xWsK=` zs@#7oIb=6r2U;Qms0{{#Vs6B^a}gpr@Vpp-m*tmty+eB%9@uj~6xg;G<47IunDxK+ zHv-JT2V8%D3x(Cy7kfNEC|n^S=B*W`E^dF z11*uw<4Er6PNEnhE}XgZ?~s8y@OQABO^O!=D1eB8JG(e_0Io)$6^G}j6In8mV*Z$) dc|TDU**mZfI?7E!GN1qe002ovPDHLkV1jLQ0xbXl delta 354 zcmV-o0iFKc1o8rq8Gix*005AYXf^-<010qNS#tmY3ljhU3ljkVnw%H_000McNliru z;RqHKG8$j=hoS%g03B&mSad^gZEa<4bN~PV002XBWnpw>WFU8GbZ8()Nlj2>E@cM* z008JoL_t(2&y7+$3c^4TeFLI3 z1hKOi*$iV8rPYvE^P?OW0N`g&SPXxBDrmM=G#35Ouu)1zw}&eJScKB2?0r04yXW;xS(dZwKK$~!h@2klk2__n`13;5wW=Au07~6;^ps({FaQ7m07*qoM6N<$f