I'm yet not very advanced in making shadows, and I think (if I get there) I can modify the patterns. I made them as overlays because, as I looked at the other bricks, I thought, they are also made with an overlay and are just saved with the patterns already applied(correct me if I'm wrong). The chisel recipe is going to be changed soon too, thanks that you said this, I didn't notice.
The mods Invisible Wall, Charcoal and Chains are now on codeberg.org. Maybe there are some mistakes in the repositories, and the commits aren't about the versions, they yet only show what the file contains. All my other mods are going to be added soon too.
If someone would write a mod which needs all of these ores, it would be okay. But for now, this mod has no clear usage and the items fill your inventory very quickly. Too, there are (due to, probably, copy-pasting of the code) some mistakes, for example, the beryllium ore is named " Ore", or in front of all items, ores and blocks is "-- Lapis ...".
Here I wrote a short and simplyfied version of the mod "toomanymetals":
materials = {"alu","beryllium","bismuth","boron"}
for i = 1, #materials do
material = materials[i]
minetest.register_node("tmm:"..material.."_ore", {
description = (material.." Ore"),
tiles = {"default_stone.png^"..material.."_mineral_"..material..".png"},
drop = { --the drops code },
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craftitem("tmm:"..material, {
description = (material),
inventory_image = material..".png",
})
-- and so on
end
With this variant, you would use, round about, 100-200 lines of code instead of 3159. Or, you make it as a function, where you just need "tmm.register_metal("titan","Titanium")" to make a new ore.
So, as summary, this mod could have a future as an useful mixture of minerals and metals, if they would have a use else than filling chests. If that happens, I can change my mind and this comment into a thread.
I used this for a parkour, but there are some things which are unpleasent. The checkpoints are useful, but I don't understand why the default setting for the respawnpoint is at 0, 1, -52. I get teleported into the stone as I died. There is maybe an option to save the position when a player joins and use it later for this. Too, the checkpoints are global, every player is teleported to the checkpoint which was used at least. I try to code a mod like this too for a server with my friends, but I despair while I try to save metadata for each player. And, at last, it would be nicer if you use on_walk_over(), because someone is maybe confused if you must hit it.
But, I hope you can use something from this, and maybe develope the mod further.
X17
P.S.: A full english translation would be nice too!
Sorry for that, I first wrote this mod without translation and forgot to add the initial code.
In the new package this could be fixed.
(In my Minetest(5.6.0, Linux), the error wasn't shown)
I'm yet not very advanced in making shadows, and I think (if I get there) I can modify the patterns. I made them as overlays because, as I looked at the other bricks, I thought, they are also made with an overlay and are just saved with the patterns already applied(correct me if I'm wrong). The chisel recipe is going to be changed soon too, thanks that you said this, I didn't notice.
The mods Invisible Wall, Charcoal and Chains are now on codeberg.org. Maybe there are some mistakes in the repositories, and the commits aren't about the versions, they yet only show what the file contains. All my other mods are going to be added soon too.
If someone would write a mod which needs all of these ores, it would be okay. But for now, this mod has no clear usage and the items fill your inventory very quickly. Too, there are (due to, probably, copy-pasting of the code) some mistakes, for example, the beryllium ore is named " Ore", or in front of all items, ores and blocks is "-- Lapis ...". Here I wrote a short and simplyfied version of the mod "toomanymetals":
With this variant, you would use, round about, 100-200 lines of code instead of 3159. Or, you make it as a function, where you just need "tmm.register_metal("titan","Titanium")" to make a new ore.
So, as summary, this mod could have a future as an useful mixture of minerals and metals, if they would have a use else than filling chests. If that happens, I can change my mind and this comment into a thread.
I used this for a parkour, but there are some things which are unpleasent. The checkpoints are useful, but I don't understand why the default setting for the respawnpoint is at 0, 1, -52. I get teleported into the stone as I died. There is maybe an option to save the position when a player joins and use it later for this. Too, the checkpoints are global, every player is teleported to the checkpoint which was used at least. I try to code a mod like this too for a server with my friends, but I despair while I try to save metadata for each player. And, at last, it would be nicer if you use on_walk_over(), because someone is maybe confused if you must hit it.
But, I hope you can use something from this, and maybe develope the mod further. X17
P.S.: A full english translation would be nice too!
I will take some of your changes to a new release of the mod.
Sorry for that, I first wrote this mod without translation and forgot to add the initial code.
In the new package this could be fixed. (In my Minetest(5.6.0, Linux), the error wasn't shown)
I'm don't really know much about git, but maybe I can add an repository if I'm more advanced.