mirror of
https://github.com/minetest-mods/moreores.git
synced 2025-01-03 11:27:33 +01:00
Add metal sounds and update a copper rail texture
This commit is contained in:
parent
1e2dcc6fd6
commit
58a337ccd6
4
init.lua
4
init.lua
@ -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 = {
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 337 B |
Loading…
Reference in New Issue
Block a user