Add azekillDIABLO's textures, change craft recipe accordingly.

master
Gabriel Pérez-Cerezo 2017-09-02 17:13:47 +02:00
parent 31eb128523
commit bbe8c1f216
No known key found for this signature in database
GPG Key ID: 90422B01A46D0B3E
3 changed files with 9 additions and 7 deletions

4
README
View File

@ -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 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 when they receive a mesecons signal, i.e. from a pressure pad right
behind them that verifies that the player has passed through the behind them that verifies that the player has passed through the
faregate. faregate.
Farebox texture by azekillDIABLO

View File

@ -97,9 +97,9 @@ end)
minetest.register_node("farebox:farebox", { minetest.register_node("farebox:farebox", {
description = "Farebox", description = "Farebox",
tiles = { tiles = {
"farebox_side.png", "farebox_side.png", "default_steel_block.png", "default_steel_block.png",
"farebox_side.png", "farebox_side.png", "default_steel_block.png", "default_steel_block.png",
"farebox_side.png", "farebox_front.png" "default_steel_block.png", "farebox_front.png"
}, },
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky=2}, groups = {cracky=2},
@ -131,9 +131,9 @@ minetest.register_node("farebox:farebox", {
minetest.register_craft({output = "farebox:farebox", minetest.register_craft({output = "farebox:farebox",
recipe = { recipe = {
{"group:wood", "group:wood", "group:wood"}, {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{"group:wood", "", "group:wood"}, {"default:steel_ingot", "", "default:steel_ingot"},
{"group:wood", "mesecons:mesecon", "group:wood"}, {"default:steel_ingot", "mesecons:mesecon", "default:steel_ingot"},
} }
}) })
local modpath = minetest.get_modpath("farebox") local modpath = minetest.get_modpath("farebox")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 370 B

After

Width:  |  Height:  |  Size: 605 B