[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: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
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, and brand new Minetest Modding Course
 

User avatar
Krock
Developer
 
Posts: 4141
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

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

by Krock » Sat May 09, 2015 09:17

This would fit perfectly into the "weird" subgame.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search 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
Location: On earth
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun
 

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

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: 530
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: 1893
Joined: Tue Sep 27, 2011 18:44
Location: Rhode Island, USA
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez
 

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: 540
Joined: Sat Apr 18, 2015 02:20
Location: not here
GitHub: pchicken
IRC: chicken pchicken
 

Ivà
Member
 
Posts: 115
Joined: Sun Feb 22, 2015 07:11
Location: Catalonia
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
 

User avatar
cd2
Member
 
Posts: 562
Joined: Mon Jun 01, 2015 06:30
Location: Linux
GitHub: cdqwertz
In-game: cd cd2
 

User avatar
LionsDen
Member
 
Posts: 530
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
Location: Catalonia
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
(943.18 KiB) Not downloaded yet
 

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: 562
Joined: Mon Jun 01, 2015 06:30
Location: Linux
GitHub: cdqwertz
In-game: cd cd2
 

User avatar
ShallowDweller
Member
 
Posts: 44
Joined: Thu Nov 02, 2017 22:23

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

by ShallowDweller » Sat Jul 28, 2018 07:02

So... since desvox seems to have been away for a while, I decided to try and add tinwood to the mod myself, and then I got carried away and added a few more things and...
In short, I kind of made a remake of your mod...
 


Return to Mod Releases



Who is online

Users browsing this forum: Chibi ghost and 9 guests