Skip to content
Snippets Groups Projects
Commit 58a337cc authored by Richard Qian's avatar Richard Qian Committed by Auke Kok
Browse files

Add metal sounds and update a copper rail texture

parent 1e2dcc6f
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@ end
-- =================
local default_stone_sounds = default.node_sound_stone_defaults()
local default_metal_sounds = default.node_sound_metal_defaults()
local function hoe_on_use(itemstack, user, pointed_thing, uses)
local pt = pointed_thing
......@@ -110,7 +111,7 @@ local function add_ore(modname, description, mineral_name, oredef)
description = S("%s Block"):format(S(description)),
tiles = { img_base .. "_block.png" },
groups = {snappy = 1, bendy = 2, cracky = 1, melty = 2, level= 2},
sounds = default_stone_sounds
sounds = default_metal_sounds,
})
minetest.register_alias(mineral_name.."_block", block_item)
if oredef.makes.ingot then
......@@ -347,6 +348,7 @@ minetest.register_node("moreores:copper_rail", {
type = "fixed",
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
sounds = default_metal_sounds,
groups = {bendy = 2,snappy = 1,dig_immediate = 2,rail= 1, connect_to_raillike = 1},
mesecons = {
effector = {
......
textures/moreores_copper_rail_t_junction.png

260 B | W: | H:

textures/moreores_copper_rail_t_junction.png

337 B | W: | H:

textures/moreores_copper_rail_t_junction.png
textures/moreores_copper_rail_t_junction.png
textures/moreores_copper_rail_t_junction.png
textures/moreores_copper_rail_t_junction.png
  • 2-up
  • Swipe
  • Onion skin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment