1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2024-11-19 08:40:18 +01:00
Commit Graph

218 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
6498cf5ec0 incorrect check for drop rarity for palms 2014-01-13 05:22:27 -05:00
Vanessa Ezekowitz
61e2c96df7 make jungletree leaves wave (how the hell did I miss this?) 2013-12-25 04:20:51 -05:00
Vanessa Ezekowitz
0df62c3e35 local-ize several variables 2013-12-15 13:30:17 -05:00
Vanessa Ezekowitz
d8752b308e oops, extra comma 2013-11-27 17:32:21 -05:00
Vanessa Ezekowitz
dee888f7a8 oops, put that flag in the wrong place 2013-11-27 17:31:38 -05:00
Vanessa Ezekowitz
91779abef1 Add a metadata flag that's set when an empty rubber tree is placed in
the world (keeps it from regrowing into a full one)
2013-11-27 17:23:15 -05:00
Vanessa Ezekowitz
5be4dd2869 Added missing empty-rubber-tree-to-planks recipe
phased out the recipes that were used to create sideways trunks
2013-11-27 15:14:11 -05:00
Vanessa Ezekowitz
e814cdcc7d Add waving=1 (equivalent) to all leaves nodes, but only when
regular cubic leaves are in use (the default).  This affects default trees
also.
2013-11-27 02:48:43 -05:00
Vanessa Ezekowitz
a939fc1448 Clean up code that redefines default leaves and default jungle leaves
(it was redefining more stuff than was necessary).  As a side effect,
this fixes a bug where non-plantlike leaves were using the wrong
textures in the inventory.

Remove all of the previous waving leaves changes as the shader that provides
that feature is about to change in a way that will break what I had here.

Clean up code that sets default drawtype and visual_scale of leaves
2013-11-22 23:51:42 -05:00
Vanessa Ezekowitz
d15ff706a2 Actually make the leaf waving work right 2013-11-21 20:33:02 -05:00
Vanessa Ezekowitz
235e002d8f Make regular cubical leaves the default again, since plantlike leaves don't
wave with shaders.
2013-11-21 18:50:53 -05:00
Vanessa Ezekowitz
374116bc6e Make leaves wave when shaders are on and regular cubical drawtype is selected. 2013-11-21 18:40:55 -05:00
Vanessa Ezekowitz
98d76a8ea1 fix crash when regular cubical leaves mode is enabled 2013-11-16 17:38:46 -05:00
Vanessa Ezekowitz
621dc7eb44 fix crash? 2013-11-14 20:46:36 -05:00
Vanessa Ezekowitz
d3e68b3149 Made all leaves draw as cubes in the inventory regardless of whether
they are plantlike or not in the world.  This has the side effect that a
dropped leaf block will look like a flat sprite.  Oh well, no other way
to fix it.

Adjusted the offset of the textures so that leaves place more accurately
in the world (blame this on the engine, it has no option for me to
adjust the precise vertical visual scale independently from the
horizontal scale, so I have to fake it with the textures).
2013-11-14 20:39:07 -05:00
Vanessa Ezekowitz
2a85996d00 fix incorrect clone_node() call 2013-11-14 18:47:20 -05:00
Vanessa Ezekowitz
15601c6c51 Use clone node method to redefine the default apple 2013-11-14 18:11:42 -05:00
Vanessa Ezekowitz
e1baf2018b Made it possible via moretrees config to force all moretrees, default, and
default jungle tree leaves to be plantlike drawtype.

The default setting is now plantlike.  Change moretres_settings.txt in
your world folder if you don't like it.

Rearranged a bit of code to accommodate this.
2013-11-14 18:05:37 -05:00
Vanessa Ezekowitz
88eb73af90 forgot to return the modified itemstack on empty rubber trees 2013-11-08 19:02:47 -05:00
Vanessa Ezekowitz
9870e92737 Oops, forgot to return the modified item stack 2013-11-07 22:06:27 -05:00
Vanessa Ezekowitz
620a799fb4 Moretrees' trunks can now be turned sideways when placing,
using minetest.rotate_and_place()

Requires Minetest git commit 1d856b73 or later.
2013-11-07 21:01:09 -05:00
Vanessa Ezekowitz
c3e3f7ae38 fix incorrect assumpton about math.random() 2013-10-27 02:11:32 -04:00
Vanessa Ezekowitz
f3a8c29d1a Fixed missing drops on leaf decay 2013-10-27 02:05:44 -04:00
Vanessa Ezekowitz
fa64297c09 Fix leafdecay along unloaded block boundaries
Also added separate check and variable for decaying default jungle leaves.
2013-10-17 17:48:49 -04:00
Vanessa Ezekowitz
b320a7db8f All leaf decay values sped up a bit and palm leaf decay radius changed
to 15, by default (does not affect existing world - admins will need to
change the moretrees_settings.txt file manually, if so desired)

Palms make more saplings now. (Affects all worlds)
2013-10-02 13:43:50 -04:00
Vanessa Ezekowitz
5a27405fad forgot to update sapling_ongen spawn chance/interval of some trees. 2013-09-15 01:56:30 -04:00
Vanessa Ezekowitz
2f3d7bed0b oops, dropped an alias that caused jungle trees to spawn without trunks!
Fixed by altering the tree model to use the original node.
2013-09-15 01:52:08 -04:00
Vanessa Ezekowitz
fad79d86b7 add option to spawn saplings instead of fully-grown trees at mapgen
time.  Such saplings will grow very quickly into a tree, compared to a
planted sapling.  Defaults to spawning saplings.

add custom jungle tree sapling, alias default one to that, so that
moretrees will be able to grow its own jungle trees.

fix tree density bug
2013-09-14 22:44:32 -04:00
Tim Huppertz
258f33e42a Fixes mixup of textures. 2013-09-09 15:55:28 +02:00
Dominik George
95db67ace6 Replaced LICENSE file with a complete and clear version. The version
change from CC-BY-SA-2.0 to CC-BY-SA-3.0 was authorized by VanessaE in
writing.
2013-09-09 15:44:50 +02:00
Tim Huppertz
d2759ef35b Replaces TerraFirmaCraft textures with new ones under CC-BY-SA-3.0. 2013-09-09 15:37:31 +02:00
Vanessa Ezekowitz
c6678d81f4 Oops, textures are supposed to be cc-by-sa 2.0 for now 2013-09-08 21:19:32 -04:00
Vanessa Ezekowitz
11e8460275 Change the license on the textures to cc-by-sa 3.0 2013-09-08 11:53:28 -04:00
Vanessa Ezekowitz
dbf775808a always read default_settings.txt before reading the world-folder's settings file
also close the file after copying.
2013-08-05 04:58:08 -04:00
Vanessa Ezekowitz
d32993e355 Made moreblocks dependency optional and configurable 2013-07-22 03:55:12 -04:00
Vanessa Ezekowitz
1377d69f54 adjusted apples to heal 1/2 heart to match defaults. 2013-07-21 12:30:09 -04:00
Vanessa Ezekowitz
f74cd8e1d4 add license file 2013-07-18 12:32:53 -04:00
Vanessa Ezekowitz
1c5dd852f4 put wood planks stairs/slabs/micros/panels into separate groups (wood_xxxxx=1)
did the same for tree trunks (tree_xxxxx=1)
2013-07-04 23:03:40 -04:00
Vanessa Ezekowitz
c277590fc2 Phased out all deprecated minetest.env:* uses in favor of minetest.* 2013-06-30 23:55:07 -04:00
Vanessa Ezekowitz
9e2c0485f4 Ran all textures through pngquant. 2013-05-30 17:29:46 -04:00
Vanessa Ezekowitz
cc813a47d5 Ran all textures through pngcrush. 2013-05-30 15:47:52 -04:00
Vanessa Ezekowitz
c41195acc8 deleted sideways, empty rubber tree trunk, added conversion abm for it 2013-04-26 20:12:22 -04:00
Vanessa Ezekowitz
ae09c948ff get rid of sideways tree trunks and their stairs/slabs
Add conversion code to handle them.  Minor formatting fixes.
2013-04-24 08:54:48 -04:00
Vanessa Ezekowitz
ea61c08ae0 Merge branch 'master' into newstuff 2013-04-18 18:28:34 -04:00
Vanessa Ezekowitz
c1a5cf776b Update 2013-04-17: Got rid of horizontal jungle tree trunk, aliased it
to the one in the moreblocks mod.  Got rid of jungle tree planks recipe,
default already has it.  But that's not the important part...

Acorns, fir/spruce/pine cones, and coconuts are now edible!

Fir/spruce/pine cones can be cooked to extract fir/spruce/pine nuts.  One cone yields 4 portions of nuts, each of which heals 1/2 heart.

Coconuts can be broken apart to get milk and raw coconut solids (e.g. the "meat").  Craft one coconut, one drinking glass, and one cutting tool (*see below).  Yields one portion of coconut solids, one glass full of coconut milk, and the tool is returned.  The coconut milk heals 1 heart and returns the empty glass, while one portion of coconut solids heals two hearts.

Coconut milk can be crafted with four acorns to produce acorn muffin batter.  One portion of this batter can be cooked into four acorn muffins.  Each muffin restores two hearts.

Enjoy :-)

-----
* Since Minetest doesn't have any default cutting tools that would normally be suitable for this purpose, the following tools may be used instead to cut the coconuts open:

Default bronze, diamond, Mese, or steel axe,
...or... glooptest Alatro or Arol axe,
...or... moreores Mithril or silver axe,
...or... titanium axe.

(note that stone and wooden axes are deliberately not usable)
2013-04-17 19:30:17 -04:00
Vanessa Ezekowitz
7a7ee2d168 Added alises for farming_plus rubber trees, added "empty" rubber tree trunk
for technic (also a sideways version).
2013-04-13 13:58:35 -04:00
Vanessa Ezekowitz
6184e4a4e8 technic has discontinued rubber trees in favor of this mod. Added some aliases
to cover old technic nodes.
2013-04-10 16:56:46 -04:00
Vanessa Ezekowitz
93248e883f Merge branch 'master' into newstuff 2013-04-10 14:32:06 -04:00
Vanessa Ezekowitz
85e07fb787 forgot to test if the file can be read the second time the mod is run.
Should be fixed now.
2013-04-09 00:32:15 -04:00
Vanessa Ezekowitz
8a1ebec951 Made settings world-specific - look for moretrees_settings.txt in your world
folder.  If it isn't found, the mod will create it with the contents of
default_settings.txt and then read those default settings and use them.
Otherwise, it will read its settings from the world folder.
2013-04-09 00:15:24 -04:00