Page 1 of 1

[Mod] Semiprecious [1.1] [semiprecious]

PostPosted: Wed Aug 24, 2016 16:32
by lumberJack
Semiprecious is a Minetest mod enhancing the mining and building experience by adding semiprecious stones nodes with original textures. Currently includes turquoise, lapis lazuli and malachite. This mod also allows the crafting respective tile nodes and dyes from semiprecious stones. Optional stairsplus(moreblocks) support is included.

Image

Semiprecious nodes spawn in sheets in default:stone. Tile is crafted the spawned nodes (ex. 9 tuquoise blocks = 9 tuquoise tiles).
Image
Single blocks also craft 8 dyes (cyan, blue, dark green) for extra options for sourcing dyes.

Possibly other semiprecious stones, crafting options and mapgen configurations to come in future versions. Enjoy :)

Depends:
Depends on default, (stairs, dyes) and moreblocks for stairsplus compatibility.

License:
License for Code

Copyright (C) 2016 kakalak-lumberJack Jack Manning kaklak-lumberjack@gmail.com

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

License for Textures

CC-BY-SA 3.0 UNPORTED. Created by kakalak-lumberJack
Github: https://github.com/kakalak-lumberJack/semiprecious

Re: [Mod] Semiprecious [semiprecious]

PostPosted: Wed Aug 24, 2016 16:58
by pithy
Should register stairs even when moreblocks is not found.
To make it cross compatable use "stairs" as the mod name in stairsplus:register_all.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
if minetest.get_modpath("moreblocks") then
   stairsplus:register_all("stairs", subname, "mod:"..subname, {
      description = subdesc,
      tiles = tiles,
      groups = groups,
      sounds = sounds
   })
else
   stairs.register_stair_and_slab(subname, "mod:"..subname, groups, tiles,
         subdesc.." Stairs", subdesc.." Slab", sounds)
end

Re: [Mod] Semiprecious [semiprecious]

PostPosted: Fri Aug 26, 2016 01:16
by lumberJack
pithy wrote:Should register stairs even when moreblocks is not found.
To make it cross compatable use "stairs" as the mod name in stairsplus:register_all.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
if minetest.get_modpath("moreblocks") then
   stairsplus:register_all("stairs", subname, "mod:"..subname, {
      description = subdesc,
      tiles = tiles,
      groups = groups,
      sounds = sounds
   })
else
   stairs.register_stair_and_slab(subname, "mod:"..subname, groups, tiles,
         subdesc.." Stairs", subdesc.." Slab", sounds)
end


Thanks pithy. I am having trouble with attempt to call field 'register_stair_and_slab (a nil value)' Still digging trying to see what is causing the issue, but I will post the updated version as soon as I work it out :)

Re: [Mod] Semiprecious [semiprecious]

PostPosted: Fri Aug 26, 2016 02:02
by pithy
Add stairs to depends.txt
Everyone forgets about depends.txt

Re: [Mod] Semiprecious [semiprecious]

PostPosted: Fri Aug 26, 2016 03:23
by twoelk
nice!

you may want to check these old mods for compatibility as some are present on some servers:

Malachite by Dan Duncombe
Lapis Lazuli by LNJ
Lapis Lazuli modified by Napiophelios

especially the pyrite works really well together with Lapis Lazuli, so it might be interesting to combine the ideas of some of these mods. Btw, I do like your textures more than the old ones.

Re: [Mod] Semiprecious [semiprecious]

PostPosted: Fri Aug 26, 2016 10:26
by azekill_DIABLO
pithy wrote:Add stairs to depends.txt
Everyone forgets about depends.txt

This is a terrible reality...We all been there.

Re: [Mod] Semiprecious [semiprecious]

PostPosted: Sat Aug 27, 2016 18:32
by lumberJack
pithy wrote:Add stairs to depends.txt
Everyone forgets about depends.txt


That is a good guess but didn't turn out to be the problem. At any rate it is fixed. Thanks again for the help.

Re: [Mod] Semiprecious [semiprecious]

PostPosted: Sat Aug 27, 2016 18:45
by lumberJack
twoelk wrote:nice!

you may want to check these old mods for compatibility as some are present on some servers:

Malachite by Dan Duncombe
Lapis Lazuli by LNJ
Lapis Lazuli modified by Napiophelios

especially the pyrite works really well together with Lapis Lazuli, so it might be interesting to combine the ideas of some of these mods. Btw, I do like your textures more than the old ones.


Glad you like the texture, twoelk. I saw a couple of those mods, but also wasn't quite satisfied with the textures either. I would assume (probably mistakenly) that most people would either use one or the other mod and not both, but I will check those out for compatibility issues and possibly other features when I get a chance. Thanks for the links.