Page 1 of 1

Metal Light Mod

PostPosted: Sat May 11, 2013 23:58
by Dan Duncombe
This is my first mod, it is very lightweight (no pun intended!). It basically adds a craftable block that, when placed, will stay still for ten seconds, then light up with the maximum light level available in Minetest. Sadly, this is not very bright. The advantages of this over a normal torch are: It looks better, and is freestanding.
It is only in alpha, I, in version 2, may add a function that is basically you have to fuel it with coal. Coal will last, say, ten minutes, and everytime you put new coal in the timer is reset. I am, however, not this advanced yet, and so this feature probably won't be implemented for a while.

Dowload:
http://www.mediafire.com/?5fi0owbjwoskkz5

Licence:
WTFPL

All support appreciated!

If anyone does know how to implement coal fueling please help me.

PostPosted: Sun May 12, 2013 00:02
by Evergreen
Yes, implement the coal feature. Just don't make it break, just make it turn off.

PostPosted: Sun May 12, 2013 00:12
by Dan Duncombe
So, I think the idea will be, you place it and, say 20 min later it will turn off, and you need to right click it with coal to make it restart. If this is good, I will implement, however, as I said, I do know enough LUA to do this yet, so, any coding help would be appreciated!

Some Screenshots:

The lamp turned off
Image

The lamp turned on
Image

Example of brightness
Image

PostPosted: Sun May 12, 2013 00:32
by Dan Duncombe
I almost forgot! The crafting recipe!

Steel Ingot Glass Steel Ingot
Glass Torch Glass
Steel Ingot Glass Steel Ingot

PostPosted: Sun May 12, 2013 21:19
by babe223
please put the images so
Image
Image
Image