Add Rack and pinion node
This commit is contained in:
parent
b759386016
commit
b8009dd2ab
@ -265,6 +265,34 @@ techage.register_node({"techage:ta4_movecontroller"}, {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node("techage:rack_and_pinion", {
|
||||||
|
description = "TA Rack and Pinion",
|
||||||
|
tiles = {
|
||||||
|
-- up, down, right, left, back, front
|
||||||
|
"default_steel_block.png",
|
||||||
|
"default_steel_block.png",
|
||||||
|
"default_steel_block.png",
|
||||||
|
"default_steel_block.png",
|
||||||
|
"default_steel_block.png",
|
||||||
|
"techage_rack_and_pinion.png",
|
||||||
|
},
|
||||||
|
|
||||||
|
drawtype = "nodebox",
|
||||||
|
node_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{ -6/32, -16/32, 14.1/32, 6/32, 16/32, 16/32},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
paramtype = "light",
|
||||||
|
use_texture_alpha = techage.CLIP,
|
||||||
|
sunlight_propagates = true,
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
is_ground_content = false,
|
||||||
|
groups = {cracky = 1, level = 2},
|
||||||
|
sounds = default.node_sound_metal_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "techage:ta4_movecontroller",
|
output = "techage:ta4_movecontroller",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -273,3 +301,12 @@ minetest.register_craft({
|
|||||||
{"group:wood", "basic_materials:gear_steel", "group:wood"},
|
{"group:wood", "basic_materials:gear_steel", "group:wood"},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "techage:rack_and_pinion 10",
|
||||||
|
recipe = {
|
||||||
|
{"", "default:steel_ingot", ""},
|
||||||
|
{"basic_materials:steel_bar", "default:steel_ingot", "basic_materials:steel_bar"},
|
||||||
|
{"", "default:steel_ingot", ""},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user