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: 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 2c93328..e2ff43d 100644 Binary files a/textures/farebox_front.png and b/textures/farebox_front.png differ -- cgit v1.2.3