Page 1 of 1

[Mod] Glowstone [1.2] [glowstone]

PostPosted: Fri Mar 01, 2013 18:22
by BlockMen
Hi everyone,

I made a simple mod that implements "Glowstone". It's crafted like that:

stone stone stone
stone mese_crystal stone -> Output: 4 "Glowstone"
stone stone stone


Glowstones can placed anywhere and be used as alternative light source with a little higher lightlevel than torches. When block is digged it drops one "Glowstone", so you won't loose it.

Furthermore you can make stairs and slabs out of glowstone.

Screenshot:
Image
(added blocks)

Depends:
default
stairs (optional)

Download:
Version 1.2: Download

works with Minetest 0.4.5 or later

License:
WTFPL

Please give Feedback and ideas for improvement

PostPosted: Fri Mar 01, 2013 18:43
by lkjoel
Nice! :D

PostPosted: Fri Mar 01, 2013 19:23
by artur99
+1
It would be nice if there'd be more types of this stone...

PostPosted: Fri Mar 01, 2013 19:35
by BlockMen
lkjoel wrote:Nice! :D


Thanks. I have seen that you are developing a Nether, so maybe you can implement it ;)

artur99 wrote:+1
It would be nice if there'd be more types of this stone...


Thanks, will keep in mind ;)

PostPosted: Fri Mar 01, 2013 19:47
by lkjoel
BlockMen wrote:
lkjoel wrote:Nice! :D


Thanks. I have seen that you are developing a Nether, so maybe you can implement it ;)
-snip-

Yes, I have ;)

PostPosted: Sun Mar 03, 2013 02:24
by BlockMen
Yes, I have ;)


Nice! I had not noticed you already have glowstone in your project :D

PostPosted: Sun Mar 03, 2013 03:22
by Josh
Nice mod BlockMen! I was playing around with your mod, next thing you know im building a glowstone house in my creative world :)
Really nice mod, I would also like to suggest a different recipe.
Change your current one with this:
C= Cobblestone
T= Torch
M= Mese
C
C T C
C
OR use this!
M
MTM
M

-Josh :):):):)

PostPosted: Sun Mar 03, 2013 21:28
by BlockMen
Josh wrote:Nice mod BlockMen! I was playing around with your mod, next thing you know im building a glowstone house in my creative world :)
Really nice mod, I would also like to suggest a different recipe.
Change your current one with this:
C= Cobblestone
T= Torch
M= Mese
C
C T C
C
OR use this!
M
MTM
M

-Josh :):):):)


Thanks! If you have done your building, could you upload an image? :)

To your recipes: I thought about torches too, but decided for mese cas it should be a little bit rare, like in mc. Your second recipe is a good idea, but a bit too expensive i think.

Would that recipe be better?

cobble cobble cobble
cobble mese cobble
cobble cobble cobble

PostPosted: Mon Mar 04, 2013 02:13
by Josh
BlockMen wrote:
Josh wrote:Nice mod BlockMen! I was playing around with your mod, next thing you know im building a glowstone house in my creative world :)
Really nice mod, I would also like to suggest a different recipe.
Change your current one with this:
C= Cobblestone
T= Torch
M= Mese
C
C T C
C
OR use this!
M
MTM
M

-Josh :):):):)


Thanks! If you have done your building, could you upload an image? :)

To your recipes: I thought about torches too, but decided for mese cas it should be a little bit rare, like in mc. Your second recipe is a good idea, but a bit too expensive i think.

Would that recipe be better?

cobble cobble cobble
cobble mese cobble
cobble cobble cobble

Glowstone is a light node, so it would need a torch. But that recipe seems fine!
Here is the glowstone house i made: https://dl.dropbox.com/u/102401091/screenshot_858456849.png
Look's great at night dosen't it?

PostPosted: Mon Mar 04, 2013 02:27
by Likwid H-Craft
Click here blockMen :)
http://forum.minetest.net/viewtopic.php?pid=72446#p72446

I made you a banner yours welcome :) though you didn't asked for, one but I am being nice :)

PostPosted: Mon Mar 04, 2013 18:27
by BlockMen
Josh wrote:Glowstone is a light node, so it would need a torch. But that recipe seems fine!
Here is the glowstone house i made: https://dl.dropbox.com/u/102401091/screenshot_858456849.png
Look's great at night dosen't it?


Yeah, it looks cool. I will update the recipe as soon as posible, also improve the texture a little bit.


Likwid H-Craft wrote:Click here blockMen :)
http://forum.minetest.net/viewtopic.php?pid=72446#p72446

I made you a banner yours welcome :) though you didn't asked for, one but I am being nice :)


Thanks, looks good. Maybe I will use somewhere, don't know yet.

PostPosted: Mon Mar 04, 2013 20:34
by Likwid H-Craft
Well You can add it on first post :) to start.

PostPosted: Thu Mar 07, 2013 12:34
by BlockMen
Version 1.1 released

Changelog:
-improved texture
-changed recipe (every kind of stone can used now)

PostPosted: Thu Mar 07, 2013 18:02
by Jordach
Have a free texture:

Image

PostPosted: Fri Mar 08, 2013 13:07
by BlockMen
Jordach wrote:Have a free texture:

Image



Thanks, looks not bad:
Image

But I will keep my texture ;)

Who want's use Jordach's Texture, download it, rename it to "glowstone_block.png" and copy it to ~/minetest-game-folder/textures/all

PostPosted: Fri Mar 08, 2013 13:37
by Likwid H-Craft
It looks like a bee comb...Hey we should have a Bee Mod next, have bees to get, flowers and so on and, they have a hive they going in to make, honey and it act like a chest or something for them, to add the honey in the area but it takes time.

So that will be cool having bees anyone like make it happen sometime? and Jordach made the Comb since it this
Image looks like one.

PostPosted: Fri Mar 08, 2013 14:41
by BlockMen
Hybrid Dog wrote:There are 2 useless lines:
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
minetest.register_node("glowstone:block", {
    description = "Glowstone",
    tiles = {"glowstone_block.png"},
    is_ground_content = true,
    groups = {cracky=3,oddly_breakable_by_hand=2},
    drop = 'glowstone:block',
    sounds = default.node_sound_glass_defaults(),
    light_source = LIGHT_MAX-0.5,
})

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
minetest.register_node("glowstone:block", {
    description = "Glowstone",
    tiles = {"glowstone_block.png"},
    groups = {cracky=3,oddly_breakable_by_hand=2},
    sounds = default.node_sound_glass_defaults(),
    light_source = LIGHT_MAX-0.5,
})


Thanks! Will be removed in next release ;)

PostPosted: Fri Mar 08, 2013 14:55
by Sokomine
Likwid H-Craft wrote:It looks like a bee comb...Hey we should have a Bee Mod next, have bees to get, flowers and so on and, they have a hive they going in to make, honey and it act like a chest or something for them, to add the honey in the area but it takes time.

That mod is called Bees and Candles and has been written by darkrose. It works very fine and is a nice addition to the game.

Regarding the glowstone mod, perhaps a smaller nodebox-version like the one in homedecor might be useful as well in some places.

PostPosted: Fri Mar 08, 2013 16:06
by Calinou
You can't use floating point light values, also LIGHT_MAX is kinda useless today (max light level is 15 currently).

PostPosted: Sat Mar 09, 2013 21:39
by BlockMen
Calinou wrote:You can't use floating point light values, also LIGHT_MAX is kinda useless today (max light level is 15 currently).

Good to know. Will be fixed too ;)

PostPosted: Tue Mar 19, 2013 17:06
by BlockMen
Would it be an improvement, when I change the recipe to following?

stone stone stone
stone mese_crystal stone -> Output: 4 "Glowstone"
stone stone stone

Notice: stone is every kind of Stone, so: Cobblestone, Stone, Dessert Stone, etc...


Or would mese_fragment be even better?

PostPosted: Tue Mar 19, 2013 17:46
by VanessaE
I'd go with the crystal here, given the amount of stone you're using.

PostPosted: Wed Mar 20, 2013 02:13
by Josh
Blockmen, maybe you could make Glowstone slabs or stairs?

PostPosted: Wed Mar 20, 2013 12:57
by BlockMen
VanessaE wrote:I'd go with the crystal here, given the amount of stone you're using.


Ok, then I will change to crystal.

Josh wrote:Blockmen, maybe you could make Glowstone slabs or stairs?


Yeah, actually I want add Stairs, Slabs and quater blocks.

PostPosted: Wed Mar 20, 2013 13:46
by VanessaE
Be sure you run those stair/slabs/etc through the circular saw in moreblocks and keep them out of the creative inventory to reduce clutter.

PostPosted: Wed Mar 20, 2013 13:57
by BlockMen
Calinou wrote:You can't use floating point light values, also LIGHT_MAX is kinda useless today (max light level is 15 currently).



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
// This directly sets the range of light.
// Actually this is not the real maximum, and this is not the
// brightest. The brightest is LIGHT_SUN.
#define LIGHT_MAX 14
// Light is stored as 4 bits, thus 15 is the maximum.
// This brightness is reserved for sunlight
#define LIGHT_SUN 15

and
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
inline u8 decode_light(u8 light)
{
    if(light > LIGHT_MAX)
        light = LIGHT_MAX;

    return light_decode_table[light];
}

from Github (minetest)


I guess although the absolute maximum is 15, you can only use 14, because 15 is reserved for LIGHT_SUN.

PostPosted: Wed Mar 20, 2013 14:30
by BlockMen
VanessaE wrote:Be sure you run those stair/slabs/etc through the circular saw in moreblocks and keep them out of the creative inventory to reduce clutter.


Of cause they won't be in creative Inventory. But when i run those through the circular saw I get more types of stairs n slabs I want.

So it is free to Calinou to add Glowstone as new slab/stair material, but I will just implement the chosen 3 kinds of.


EDIT: Decided to add them in creative inventory...

PostPosted: Sat Oct 12, 2013 09:53
by geralddizon15
its work for 0.4.7??

PostPosted: Sat Oct 12, 2013 11:20
by BlockMen
geralddizon15 wrote:its work for 0.4.7??


It would work, but i released a new version now that has a cheaper recipe and includes stairs and slabs. Already forgot about this mod and that i wanted to add that.

PostPosted: Sun Nov 17, 2013 21:10
by Johnyknowhow
Cool mod