Make ores slower to mine and non-minable with wooden tools

This closes #30.
This commit is contained in:
Hugo Locurcio 2019-02-24 16:33:48 +01:00
parent 77dcac7895
commit b851252996
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 5 additions and 1 deletions

@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Brazilian and Dutch translations. - Brazilian and Dutch translations.
### Changed
- Ores are now slower to mine and cannot be mined using wooden tools anymore.
### Deprecated ### Deprecated
- Deprecated hoes to follow Minetest Game's deprecation of hoes - Deprecated hoes to follow Minetest Game's deprecation of hoes

@ -75,7 +75,7 @@ local function add_ore(modname, description, mineral_name, oredef)
minetest.register_node(modname .. ":mineral_" .. mineral_name, { minetest.register_node(modname .. ":mineral_" .. mineral_name, {
description = S("%s Ore"):format(S(description)), description = S("%s Ore"):format(S(description)),
tiles = {"default_stone.png^" .. modname .. "_mineral_" .. mineral_name .. ".png"}, tiles = {"default_stone.png^" .. modname .. "_mineral_" .. mineral_name .. ".png"},
groups = {cracky = 3}, groups = {cracky = 2},
sounds = default_stone_sounds, sounds = default_stone_sounds,
drop = lump_item drop = lump_item
}) })