From b8512529965067c9d4cd3ca108092754fcd10b11 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 24 Feb 2019 16:33:48 +0100 Subject: [PATCH] Make ores slower to mine and non-minable with wooden tools This closes #30. --- CHANGELOG.md | 4 ++++ init.lua | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 313c7c4..6ec2e51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Brazilian and Dutch translations. +### Changed + +- Ores are now slower to mine and cannot be mined using wooden tools anymore. + ### Deprecated - Deprecated hoes to follow Minetest Game's deprecation of hoes diff --git a/init.lua b/init.lua index cc6f27d..8e4924f 100644 --- a/init.lua +++ b/init.lua @@ -75,7 +75,7 @@ local function add_ore(modname, description, mineral_name, oredef) minetest.register_node(modname .. ":mineral_" .. mineral_name, { description = S("%s Ore"):format(S(description)), tiles = {"default_stone.png^" .. modname .. "_mineral_" .. mineral_name .. ".png"}, - groups = {cracky = 3}, + groups = {cracky = 2}, sounds = default_stone_sounds, drop = lump_item })