coal from wood mod

leetelate
Member
 
Posts: 205
Joined: Thu Aug 29, 2013 18:07

coal from wood mod

by leetelate » Thu Sep 05, 2013 17:02

in minecraft if you can't find coal you can make charcoal (coal_lump) from wood planks

anyway, here's the mod: - create a folder named coalfromwood into the mods folder then create a text file named init.lua inside that folder, then put the follwing into it

minetest.register_craft({
type = "cooking",
output = "default:coal_lump",
recipe = "default:wood",
})

save it, enable the mod, put something that burns into the furnace, then pop some wooden_planks into the top -> coal_lump
Last edited by leetelate on Thu Sep 05, 2013 17:28, edited 1 time in total.
MT IS MC'S SMARTER BROTHER
minetest 0.4.8 compiled from latest git on linux mint 15 with qjoypad and wired 360 controller
freeminer, pilztest, buildcraft and next are the idea factories
my minetest page is http://1337318.zymichost.com if zymic isn't down - meh, it is free...
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Thu Sep 05, 2013 17:53

leetelate wrote:in minecraft if you can't find coal you can make charcoal (coal_lump) from wood planks

anyway, here's the mod: - create a folder named coalfromwood into the mods folder then create a text file named init.lua inside that folder, then put the follwing into it

minetest.register_craft({
type = "cooking",
output = "default:coal_lump",
recipe = "default:wood",
})

save it, enable the mod, put something that burns into the furnace, then pop some wooden_planks into the top -> coal_lump
Ehm, you can find coal in minecraft.
Last edited by Evergreen on Thu Sep 05, 2013 17:53, edited 1 time in total.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
LionsDen
Member
 
Posts: 525
Joined: Thu Jun 06, 2013 03:19

by LionsDen » Thu Sep 05, 2013 17:57

You will also need to create a text file called depends.txt and have default as it's only line. Plus if it's planks that you want, you might want to include the junglewood. Add this underneath the craft recipe above to do so.

minetest.register_craft({
type = "cooking",
output = "default:coal_lump",
recipe = "default:junglewood",
})


Otherwise, you will still have those stupid junglewood trees and planks that you can't do much with.
Last edited by LionsDen on Thu Sep 05, 2013 17:58, edited 1 time in total.
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Thu Sep 05, 2013 18:40

LionsDen wrote:You will also need to create a text file called depends.txt and have default as it's only line. Plus if it's planks that you want, you might want to include the junglewood. Add this underneath the craft recipe above to do so.

minetest.register_craft({
type = "cooking",
output = "default:coal_lump",
recipe = "default:junglewood",
})


Otherwise, you will still have those stupid junglewood trees and planks that you can't do much with.
Actually, just put group:wood.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

HeisenbergCZE
New member
 
Posts: 4
Joined: Sun Oct 06, 2013 21:11

by HeisenbergCZE » Tue Oct 08, 2013 19:52

hi, i made similar mod, with some additional features (then i made some search and found this, haha)
you can check http://minetest.puzmi.eu/index2.html if you are interested :)
 

User avatar
Melkor
Member
 
Posts: 285
Joined: Sat Sep 24, 2011 01:03

by Melkor » Wed Oct 09, 2013 01:04

HeisenbergCZE wrote:hi, i made similar mod, with some additional features (then i made some search and found this, haha)
you can check http://minetest.puzmi.eu/index2.html if you are interested :)


why?
if you make a mod, put it here, in the forum, use dropbox or equal for the download link, not in another site...
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Oct 09, 2013 08:23

LionsDen wrote:You will also need to create a text file called depends.txt and have default as it's only line. Plus if it's planks that you want, you might want to include the junglewood. Add this underneath the craft recipe above to do so.

minetest.register_craft({
type = "cooking",
output = "default:coal_lump",
recipe = "default:junglewood",
})


Otherwise, you will still have those stupid junglewood trees and planks that you can't do much with.


You do not need a depends, as you do not use any of the functions defined by default, and you assume that the default is assigned somewhere.

Instead of default:wood or default:junglewood, use group:wood, so you get all wood types. (another reason not to use depends)
 

HeisenbergCZE
New member
 
Posts: 4
Joined: Sun Oct 06, 2013 21:11

by HeisenbergCZE » Wed Oct 09, 2013 08:30

Melkor wrote:why?
if you make a mod, put it here, in the forum, use dropbox or equal for the download link, not in another site...


why not? i want to start somehow and this was easy, i cannot start with something difficult, if do not know the Lua much
and i use my own site, because of my conviction about dropbox and those kind of services, but that is a different story
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Oct 09, 2013 08:36

You can use your own site for file storage, but you need to post a topic on the forum to actually release it to the public.
Last edited by rubenwardy on Wed Oct 09, 2013 08:36, edited 1 time in total.
 

HeisenbergCZE
New member
 
Posts: 4
Joined: Sun Oct 06, 2013 21:11

by HeisenbergCZE » Wed Oct 09, 2013 08:44

rubenwardy wrote:You can use your own site for file storage, but you need to post a topic on the forum to actually release it to the public.


thanks, i tried, but i cannot post new topics (or i did something wrong). so maybe the next time.

edit: but in the modding general i can, so next time i will post a topic there
Last edited by HeisenbergCZE on Wed Oct 09, 2013 08:52, edited 1 time in total.
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Wed Oct 09, 2013 11:01

HeisenbergCZE wrote:
rubenwardy wrote:You can use your own site for file storage, but you need to post a topic on the forum to actually release it to the public.


thanks, i tried, but i cannot post new topics (or i did something wrong). so maybe the next time.

edit: but in the modding general i can, so next time i will post a topic there
You can't post topics in mod releases. They have to be moved by a moderator.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Oct 09, 2013 14:58

There is generally nothing wrong with creating a new website for your mods (or mods of other people if the license allows it).
The problem is just that you most likely will get a lot less attention from the community.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 8 guests

cron