[Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

User avatar
desvox
Member
 
Posts: 12
Joined: Sun May 03, 2015 13:34
GitHub: desvox
IRC: desvox
In-game: desvox

[Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by desvox » Sat May 09, 2015 00:38

This is my first published mod. I've added ore generation to tree trunks, and you can grow the logs into farmable plants. It is intended to ease progression in the game, if you enjoy difficulty then this mod is probably not for you. If you're sick of digging like I am, though...

Ore is generated in both regular and jungle trees. Junglewood has a higher chance of spawning ore. All logs except coalwood logs need to be smelted to get their resources, coalwood just needs to be crafted. Place any orewood log (doesn't matter if it is facing up or sideways) next to water and it will sprout papyrus-like plants that drop their respective resources when they are harvested. They grow at about the same rate as papyrus (which isn't particularly fast), and have a max grow height just like it as well, the code is pretty much the same. Both junglewood and oak wood grow plants at the same rate.

A huge thank you to /u/Thermal--Shock for suggesting harvestable plants.

Also take a look at Gravelpunch's mod, Mineral Trees. I had no part in the development of this but figured I'd give him a mention, especially since some may prefer that mod to mine. <3

Changelog:

1.0 to 1.1: Orewood can now be placed near water to grow plants. Coalwood no longer just drops a coal lump, it must be crafted. Also fixed a typo in the names prior to the 1.1 release.

Image

Image

Image

License: WTFPL for code and textures are Creative Commons.

Mod dependencies: default

GitHub
Download .ZIP


Todo:
Clean up repetitive code for better readability. [Maybe someday]
Add support for ores of other mods. [ASAP]
Last edited by desvox on Mon Jun 15, 2015 13:05, edited 7 times in total.
I love your feedback and your suggestions!

Tox: E2602677725B4A2DA7B0395EFB9E03856CC5BBA948CFA9DB14ED6461EC39CC0F4859493BFD34
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod] OreWood [1.0] [orewood]

by Nathan.S » Sat May 09, 2015 01:04

This is a very interesting concept.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] OreWood [1.0] [orewood]

by Krock » Sat May 09, 2015 09:17

This would fit perfectly into the "weird" subgame.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
desvox
Member
 
Posts: 12
Joined: Sun May 03, 2015 13:34
GitHub: desvox
IRC: desvox
In-game: desvox

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by desvox » Sat May 09, 2015 17:29

I've updated the mod to include plants that can be harvested for even more resources. See the OP.
I love your feedback and your suggestions!

Tox: E2602677725B4A2DA7B0395EFB9E03856CC5BBA948CFA9DB14ED6461EC39CC0F4859493BFD34
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by Minetestforfun » Sun May 10, 2015 19:04

Very interresting idea, not for me, but very interresting ! :)
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by Sokomine » Mon May 18, 2015 21:11

Wood with ores is really strange. There used to be an old iron tree mod. Perhaps all that really ought to go into the weired game.

Papyrus in combination with the ore textures looks surprisingly intresting. The ore seems to from knots in the plant. That might be a way of getting diffrent plant types out of few textures. It's always good to have more of them around.
A list of my mods can be found here.
 

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

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by LionsDen » Mon May 18, 2015 21:18

From what I can see, the trees only get the orewood if they were generated during chunk generation. If you plant a sapling and a tree grows, there will never be any orewood in it.

Also, some of the jungle orewoods aren't giving the orewood in the inventory when they are chopped down. I think the coal one is one of these. I may not have found some of the other jungle orewoods at all. All of the default tree orewoods seem to work as expected.
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by jordan4ibanez » Wed May 20, 2015 03:31

I love it!
 

User avatar
desvox
Member
 
Posts: 12
Joined: Sun May 03, 2015 13:34
GitHub: desvox
IRC: desvox
In-game: desvox

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by desvox » Wed May 20, 2015 16:57

LionsDen wrote:From what I can see, the trees only get the orewood if they were generated during chunk generation. If you plant a sapling and a tree grows, there will never be any orewood in it.

Also, some of the jungle orewoods aren't giving the orewood in the inventory when they are chopped down. I think the coal one is one of these. I may not have found some of the other jungle orewoods at all. All of the default tree orewoods seem to work as expected.


Thanks for letting me know. You're right, jungle coal wood was dropping lumps and not the log. I'm fixing this now, when you read this you can go ahead and update from git. =)

Sokomine wrote:Wood with ores is really strange. There used to be an old iron tree mod. Perhaps all that really ought to go into the weired game.


Do you mean the textures for the wood? Because I tweaked the colors of the ore patterns to try and make it look less strange but I actually like the way the orewoods look. But yeah, if you mean as a concept, this is defintely a weird mod.

jordan4ibanez wrote:I love it!


It really means a lot to me <3
Last edited by desvox on Thu Jun 18, 2015 19:42, edited 1 time in total.
I love your feedback and your suggestions!

Tox: E2602677725B4A2DA7B0395EFB9E03856CC5BBA948CFA9DB14ED6461EC39CC0F4859493BFD34
 

User avatar
desvox
Member
 
Posts: 12
Joined: Sun May 03, 2015 13:34
GitHub: desvox
IRC: desvox
In-game: desvox

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by desvox » Mon Jun 15, 2015 12:43

Cool, I finally got moved to the releases!

I haven't written any more code since the last release like a month ago, although I do still plan to add 3rd party ores at some point. I will also do any bugfixes or take suggestions.

Also, take a look at someone else's implementation of the same basic idea. Looks pretty rad.
I love your feedback and your suggestions!

Tox: E2602677725B4A2DA7B0395EFB9E03856CC5BBA948CFA9DB14ED6461EC39CC0F4859493BFD34
 

User avatar
programmingchicken
Member
 
Posts: 537
Joined: Sat Apr 18, 2015 02:20
GitHub: ProgrammingChicken
IRC: gamer chicken
In-game: gamerdude

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by programmingchicken » Mon Jun 15, 2015 13:31

Woahz.
I'm bold. I'm sarcastic. I'm PChicken.
 

Ivà
Member
 
Posts: 115
Joined: Sun Feb 22, 2015 07:11
GitHub: melzua
IRC: melzua
In-game: melzua

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by Ivà » Thu Jun 18, 2015 10:39

@desvox, can you use overlay textures for the wood ores on trees please? This will make them better support other textures than default one.

Thankyou!
Last edited by Ivà on Thu Jun 18, 2015 15:20, edited 1 time in total.
 

ronnietucker
New member
 
Posts: 7
Joined: Mon May 18, 2015 20:37

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by ronnietucker » Thu Jun 18, 2015 12:15

Can this be used in an existing map?
 

User avatar
cd2
Member
 
Posts: 552
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
IRC: freenode - cd2 InchraNet - cd
In-game: cd cd2

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by cd2 » Thu Jun 18, 2015 13:31

cool mod!
 

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

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by LionsDen » Thu Jun 18, 2015 17:54

ronnietucker wrote:Can this be used in an existing map?


As far I as I could see, the trees only show up during map generation. They don't grow when you plant saplings. So it will work on an existing map but only in the areas that have not been generated yet. In other words you will only see them in the areas that you haven't ever visited.
 

User avatar
desvox
Member
 
Posts: 12
Joined: Sun May 03, 2015 13:34
GitHub: desvox
IRC: desvox
In-game: desvox

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by desvox » Thu Jun 18, 2015 18:18

Ivà wrote:@desvox, can you use overlay textures for the wood ores on trees please? This will make them better support other textures than default one.

Thankyou!


That's a good idea, I've thought about it but wasn't sure if anyone would give a shit. I'll get to work on that today, I've got some free time for sure!


ronnietucker wrote:Can this be used in an existing map?


Sure, but it will only affect newly generated trees on new terrain. It doesn't generate in existing logs and they also do not show up in newly grown trees from saplings. You should also check out Gravelpunch's mod, if you dislike my implementation. I've mentioned him in my OP.

LionsDen wrote:
ronnietucker wrote:Can this be used in an existing map?


As far I as I could see, the trees only show up during map generation. They don't grow when you plant saplings. So it will work on an existing map but only in the areas that have not been generated yet. In other words you will only see them in the areas that you haven't ever visited.


I like you.

cd2 wrote:cool mod!


I *really* like you!
I love your feedback and your suggestions!

Tox: E2602677725B4A2DA7B0395EFB9E03856CC5BBA948CFA9DB14ED6461EC39CC0F4859493BFD34
 

User avatar
desvox
Member
 
Posts: 12
Joined: Sun May 03, 2015 13:34
GitHub: desvox
IRC: desvox
In-game: desvox

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by desvox » Thu Jun 18, 2015 19:26

Ivà wrote:@desvox, can you use overlay textures for the wood ores on trees please? This will make them better support other textures than default one.

Thankyou!


Done. The orewood logs still use their own mineral texture but the wood part is now loaded from the default texture set. Hopefully I didn't break anything when I did that! =D
I love your feedback and your suggestions!

Tox: E2602677725B4A2DA7B0395EFB9E03856CC5BBA948CFA9DB14ED6461EC39CC0F4859493BFD34
 

Ivà
Member
 
Posts: 115
Joined: Sun Feb 22, 2015 07:11
GitHub: melzua
IRC: melzua
In-game: melzua

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by Ivà » Thu Jun 18, 2015 20:29

desvox wrote:Done. The orewood logs still use their own mineral texture but the wood part is now loaded from the default texture set. Hopefully I didn't break anything when I did that! =D


Cool! Much appreciated :-)

And FYI, mineraltrees and orewood mods can live in the same world and use both :-P

+ Spoiler
Attachments
screenshot_20150618_222018.png
screenshot_20150618_222018.png (943.18 KiB) Viewed 3171 times
 

User avatar
desvox
Member
 
Posts: 12
Joined: Sun May 03, 2015 13:34
GitHub: desvox
IRC: desvox
In-game: desvox

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by desvox » Mon Jun 29, 2015 02:33

What other mods should I add support for? I want to add Technic ores but am not sure what other mods people use.
I love your feedback and your suggestions!

Tox: E2602677725B4A2DA7B0395EFB9E03856CC5BBA948CFA9DB14ED6461EC39CC0F4859493BFD34
 

User avatar
cd2
Member
 
Posts: 552
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
IRC: freenode - cd2 InchraNet - cd
In-game: cd cd2

Re: [Mod] OreWood: Grow ore from the trees! [1.1] [orewood]

by cd2 » Mon Jun 29, 2015 11:56

  • moreores
  • lapis (lapislazuli)
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 57 guests