aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2017-09-02 17:13:47 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2017-09-02 17:13:47 +0200
commitbbe8c1f2165cf55e7c6b6cb1fce0c35b1ffc5f63 (patch)
tree316b4dd814a10af726b92be57121aed7b6b78687
parent31eb128523f8e7baed31ee477dfba6fdd3003d80 (diff)
downloadfarebox-bbe8c1f2165cf55e7c6b6cb1fce0c35b1ffc5f63.zip
farebox-bbe8c1f2165cf55e7c6b6cb1fce0c35b1ffc5f63.tar.gz
farebox-bbe8c1f2165cf55e7c6b6cb1fce0c35b1ffc5f63.tar.bz2
Add azekillDIABLO's textures, change craft recipe accordingly.HEADmaster
-rw-r--r--README4
-rw-r--r--init.lua12
-rw-r--r--textures/farebox_front.pngbin370 -> 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
--- a/textures/farebox_front.png
+++ b/textures/farebox_front.png
Binary files differ