[Mod] Semiprecious [1.1] [semiprecious]

lumberJack
Member
 
Posts: 12
Joined: Wed Apr 06, 2016 23:38
GitHub: kakalak-lumberJack
IRC: lumberJack lumberJuice
In-game: lumberJack

[Mod] Semiprecious [1.1] [semiprecious]

by lumberJack » Wed Aug 24, 2016 16:32

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
Attachments
semiprecious.tar.gz
(19.41 KiB) Downloaded 64 times
Last edited by lumberJack on Sat Aug 27, 2016 18:53, edited 2 times in total.
 

User avatar
pithy
Member
 
Posts: 252
Joined: Wed Apr 13, 2016 17:34
GitHub: pithydon

Re: [Mod] Semiprecious [semiprecious]

by pithy » Wed Aug 24, 2016 16:58

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
 

lumberJack
Member
 
Posts: 12
Joined: Wed Apr 06, 2016 23:38
GitHub: kakalak-lumberJack
IRC: lumberJack lumberJuice
In-game: lumberJack

Re: [Mod] Semiprecious [semiprecious]

by lumberJack » Fri Aug 26, 2016 01:16

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 :)
 

User avatar
pithy
Member
 
Posts: 252
Joined: Wed Apr 13, 2016 17:34
GitHub: pithydon

Re: [Mod] Semiprecious [semiprecious]

by pithy » Fri Aug 26, 2016 02:02

Add stairs to depends.txt
Everyone forgets about depends.txt
 

twoelk
Member
 
Posts: 1092
Joined: Fri Apr 19, 2013 16:19

Re: [Mod] Semiprecious [semiprecious]

by twoelk » Fri Aug 26, 2016 03:23

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.
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Semiprecious [semiprecious]

by azekill_DIABLO » Fri Aug 26, 2016 10:26

pithy wrote:Add stairs to depends.txt
Everyone forgets about depends.txt

This is a terrible reality...We all been there.
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
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

lumberJack
Member
 
Posts: 12
Joined: Wed Apr 06, 2016 23:38
GitHub: kakalak-lumberJack
IRC: lumberJack lumberJuice
In-game: lumberJack

Re: [Mod] Semiprecious [semiprecious]

by lumberJack » Sat Aug 27, 2016 18:32

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.
 

lumberJack
Member
 
Posts: 12
Joined: Wed Apr 06, 2016 23:38
GitHub: kakalak-lumberJack
IRC: lumberJack lumberJuice
In-game: lumberJack

Re: [Mod] Semiprecious [semiprecious]

by lumberJack » Sat Aug 27, 2016 18:45

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.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 6 guests

cron