diff --git a/move_controller/movecontroller.lua b/move_controller/movecontroller.lua index 2c25fb1..66f2888 100644 --- a/move_controller/movecontroller.lua +++ b/move_controller/movecontroller.lua @@ -265,6 +265,34 @@ techage.register_node({"techage:ta4_movecontroller"}, { 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({ output = "techage:ta4_movecontroller", recipe = { @@ -273,3 +301,12 @@ minetest.register_craft({ {"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", ""}, + }, +})