node group mecanic renamed to mechanic

This commit is contained in:
jimy-byerley 2018-03-24 09:28:48 +01:00
parent 28d653b3b7
commit a5e0463827
3 changed files with 16 additions and 18 deletions

View File

@ -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",

View File

@ -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,
})

View File

@ -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},
}
},
})