Skip to content

Commit

Permalink
Add metal sounds and update a copper rail texture
Browse files Browse the repository at this point in the history
  • Loading branch information
RQWorldblender authored and sofar committed Dec 31, 2016
1 parent 1e2dcc6 commit 58a337c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 = {
Expand Down
Binary file modified textures/moreores_copper_rail_t_junction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 58a337c

Please sign in to comment.