From a5e0463827200bd9f8e5d240ad4aad4f3ba48905 Mon Sep 17 00:00:00 2001 From: jimy-byerley Date: Sat, 24 Mar 2018 09:28:48 +0100 Subject: [PATCH] node group mecanic renamed to mechanic --- elevator.lua | 10 ++++------ structures.lua | 22 +++++++++++----------- tools.lua | 2 +- 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/elevator.lua b/elevator.lua index 2e176fc..24ebe94 100644 --- a/elevator.lua +++ b/elevator.lua @@ -171,8 +171,8 @@ minetest.register_entity(elevator_entity, elevator) minetest.register_craftitem("technology:elevator", { description = "Elevator", - inventory_image="technology_elevator.png", - wield_image = "technology_elevator.png", + inventory_image="technology_elevator_item.png", + wield_image = "technology_elevator_item.png", wield_scale = {x=6, y=6, z=2}, on_place = function(itemstack, placer, pointed_thing) @@ -207,8 +207,6 @@ local zmin = -0.5 local zmax = 0.5 minetest.register_node("technology:elevator_rail", { description = "Vertical rail for elevator", - --inventory_image = "technology_elevator_rail.png", - --wield_image = "technology_elevator_rail.png", node_placement_prediction = "", paramtype = "light", paramtype2 = "facedir", @@ -232,13 +230,13 @@ minetest.register_node("technology:elevator_rail", { "technology_elevator_rail_front.png" --front }, walkable = true, - groups = {mecanic=1, oddly_breakable_by_hand=1}, + groups = {mechanic=1, oddly_breakable_by_hand=1}, on_punch = metal_punch, sounds = metal_footstep, }) technology.register_plan("ELEVATOR", "technology:elevator", nil, { - "technic:hv_transformer", + "technic:hv_transformer 1", "technic:motor 1", "technology:wire 2", "default:bronze_ingot 6", diff --git a/structures.lua b/structures.lua index 80690b2..2fc65de 100644 --- a/structures.lua +++ b/structures.lua @@ -93,7 +93,7 @@ minetest.register_node("technology:armature_h", { }}, tiles = {"steel_armature_top.png", "steel_armature_top.png", "steel_armature_top.png", "steel_armature_top.png", "steel_armature_h_side.png", "steel_armature_h_side.png"}, walkable = true, - groups = {mecanic=1, oddly_breakable_by_hand=1}, + groups = {mechanic=1, oddly_breakable_by_hand=1}, on_punch = metal_punch, sounds = metal_footstep, }) @@ -117,7 +117,7 @@ minetest.register_node("technology:armature_v", { }}, tiles = {"steel_armature_top.png", "steel_armature_top.png", "steel_armature_top.png", "steel_armature_top.png", "steel_armature_v_side.png", "steel_armature_v_side.png"}, walkable = true, - groups = {mecanic=1, oddly_breakable_by_hand=1}, + groups = {mechanic=1, oddly_breakable_by_hand=1}, on_punch = metal_punch, sounds = metal_footstep, }) @@ -140,7 +140,7 @@ minetest.register_node("technology:grid_v", { }}, tiles = {"bronze_grid_side.png", "bronze_grid_side.png", "bronze_grid_side.png", "bronze_grid_side.png", "bronze_grid_front.png", "steel_grid_front.png"}, walkable = true, - groups = {mecanic=1, oddly_breakable_by_hand=1}, + groups = {mechanic=1, oddly_breakable_by_hand=1}, on_punch = metal_punch, sounds = metal_footstep, }) @@ -163,7 +163,7 @@ minetest.register_node("technology:grid_h", { }}, tiles = {"bronze_grid_side.png", "bronze_grid_front.png", "bronze_grid_side.png", "bronze_grid_front.png", "bronze_grid_side.png", "steel_grid_side.png"}, walkable = true, - groups = {mecanic=1, oddly_breakable_by_hand=1}, + groups = {mechanic=1, oddly_breakable_by_hand=1}, on_punch = metal_punch, sounds = metal_footstep, }) @@ -243,7 +243,7 @@ minetest.register_node("technology:floor", { }}, tiles = {"floor_top.png", "floor_bottom.png", "floor_side.png", "floor_side.png", "floor_side.png", "floor_side.png"}, walkable = true, - groups = {paffly=2, mecanic=1, oddly_breakable_by_hand=1}, + groups = {paffly=2, mechanic=1, oddly_breakable_by_hand=1}, on_punch = metal_punch, sounds = metal_footstep, }) @@ -274,7 +274,7 @@ minetest.register_node("technology:stairs", { }}, tiles = {"floor_top.png", "floor_bottom.png", "floor_side.png", "floor_side.png", "floor_side.png", "floor_side.png"}, walkable = true, - groups = {paffly=2, mecanic=1, oddly_breakable_by_hand=1}, + groups = {paffly=2, mechanic=1, oddly_breakable_by_hand=1}, on_punch = metal_punch, sounds = metal_footstep, }) @@ -296,7 +296,7 @@ minetest.register_node("technology:edge", { }}, tiles = {"edge_side.png", "edge_side.png", "edge_side.png", "edge_side.png", "edge_side.png", "edge_side.png"}, walkable = true, - groups = {paffly=2, mecanic=1, oddly_breakable_by_hand=1}, + groups = {paffly=2, mechanic=1, oddly_breakable_by_hand=1}, on_punch = metal_punch, sounds = metal_footstep, }) @@ -322,7 +322,7 @@ minetest.register_node("technology:edge_angle", { }}, tiles = {"edge_side.png", "edge_side.png", "edge_side.png", "edge_side.png", "edge_side.png", "edge_side.png"}, walkable = true, - groups = {paffly=2, mecanic=1, oddly_breakable_by_hand=1}, + groups = {paffly=2, mechanic=1, oddly_breakable_by_hand=1}, on_punch = metal_punch, sounds = metal_footstep, drop = "technology:edge", @@ -344,7 +344,7 @@ minetest.register_node("technology:triangle", { }}, tiles = {"triangle_side.png", "triangle_side.png", "triangle_right.png", "triangle_left.png", "triangle_side.png", "triangle_side.png"}, walkable = true, - groups = {paffly=2, mecanic=1, oddly_breakable_by_hand=1}, + groups = {paffly=2, mechanic=1, oddly_breakable_by_hand=1}, on_punch = metal_punch, sounds = metal_footstep, }) @@ -379,7 +379,7 @@ minetest.register_node("technology:ladder", { tiles = {"technology_ladder.png", "technology_ladder.png", "technology_ladder.png", "technology_ladder.png", "technology_ladder.png", "technology_ladder.png"}, walkable = true, climbable = true, - groups = {paffly=2, mecanic=1, oddly_breakable_by_hand=1}, + groups = {paffly=2, mechanic=1, oddly_breakable_by_hand=1}, on_punch = metal_punch, sounds = metal_footstep, }) @@ -422,7 +422,7 @@ minetest.register_node("technology:ladder_closed", { tiles = {"technology_ladder.png", "technology_ladder.png", "technology_ladder.png", "technology_ladder.png", "technology_ladder.png", "technology_ladder.png"}, walkable = true, climbable = true, - groups = {paffly=2, mecanic=1, oddly_breakable_by_hand=1}, + groups = {paffly=2, mechanic=1, oddly_breakable_by_hand=1}, on_punch = metal_punch, sounds = metal_footstep, }) diff --git a/tools.lua b/tools.lua index acf736d..354c32b 100644 --- a/tools.lua +++ b/tools.lua @@ -14,7 +14,7 @@ minetest.register_tool("technology:wrench", { tool_capabilities = { max_drop_level=1, groupcaps={ - mecanic={times={[1]=1.00, [2]=2.60, [3]=4.00}, uses=0, maxlevel=3}, + mechanic={times={[1]=1.00, [2]=2.60, [3]=4.00}, uses=0, maxlevel=3}, } }, })