12 Commits

Author SHA1 Message Date
Dirk Sohler
7014c9ad5a add node sounds checking function
Some nodes do not provide sounds. With implementation of this function
and saubsequent checks no sounds are played if not available.

Fixes https://gitlab.com/4w/uniham/issues/2
2019-06-22 12:28:21 +02:00
Dirk Sohler
430c5b1a84 make the embossing effect configurable 2019-06-13 17:55:49 +02:00
Dirk Sohler
a0b5fdd473 add embossing effect to generated hammer heads
Idea by texmex

https://gitlab.com/tacotexmex
https://forum.minetest.net/viewtopic.php?p=349194#p349194
2019-06-12 21:04:35 +02:00
Dirk Sohler
1e9baa2fc2 add translations and fix loading mod support 2019-03-02 18:36:12 +01:00
Dirk Sohler
9186bb8de5 adapt mod to 5.0.0 changes 2019-03-02 18:26:11 +01:00
Dirk Sohler
691790c8a6 use more descriptive function/file name 2018-09-30 19:42:44 +02:00
Dirk Sohler
dbdf094855 put replacements where they belong 2018-09-30 19:38:04 +02:00
Dirk Sohler
0bc60d396f allow for recipe tables instead of only item IDs 2018-09-30 19:30:28 +02:00
Dirk Sohler
145208ade5 allow custom hammer textures 2018-09-30 19:14:41 +02:00
Dirk Sohler
f74c71b448 don’t crash when using hammer on non-nodes 2018-09-30 01:30:57 +02:00
Dirk Sohler
7495124061 hammer registration documentation/function update 2018-09-22 16:43:38 +02:00
Dirk Sohler
d5e48bdc32 modularize the mod for easier addition of hammers 2018-09-22 16:12:22 +02:00