erlehmann / minetest-delta

Fork of minetest-c55 with additional experimental features.
28 stars 12 forks source link

Question: Tree Growth/Planting & Doors #53

Open masternetra opened 13 years ago

masternetra commented 13 years ago

I was wondering how far from implementation is tree growth/planting as well as doors? While I'm sure both are on the to do list, I was wondering when they are to be implemented. I have no problem waiting for the other stuff, but being able to plant & grow trees and having at least one usable door would be nice so we don't have keep blocking up our entrances (or leaving them open to the elements) and it would be nice not having to travel great distances just to find some wood. Just curious about it is all.

MarkTraceur commented 13 years ago

Doors: There seems to be some code for doors in mapgen.cpp, probably for the ruins. Doors in the traditional (Minecraft) sense, however, don't have any support.

Trees: None. The code for generating a tree is in mapgen.cpp, but the code for planting it and how long it will take to grow are nowhere.

I don't know if anyone is working on this, but if you want to you certainly may.

MarkTraceur commented 12 years ago

would it be possible to implement doors using the lua api?

It might be possible, but it would take some work. You might need to define more than one block type in order to do it....possibly up to four, but I'm not sure.

hurricanerainbow commented 12 years ago

one thing i thought of (just now, and yesterday), was 2 blocks. using _abm and setting some flag/boolean to allow/deny passage. some of the mods at the wiki can do that already, so it's probably a matter of implementation (and maybe a tweak in the api to allow blocks 2 high).

hurricanerainbow commented 12 years ago

oh, forgot, i opened an issue on the original (c55's)