Add azekillDIABLO's textures, change craft recipe accordingly.
parent
31eb128523
commit
bbe8c1f216
4
README
4
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
|
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
|
12
init.lua
12
init.lua
|
@ -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 |
Loading…
Reference in New Issue