1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2024-12-27 11:10:23 +01:00
Commit Graph

144 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
af8dca52c2 document the acacia tree biome info 2014-08-24 03:20:10 -04:00
Vanessa Ezekowitz
ff0df53829 add acacia trees
grows in the desert near the edges of the biome
2014-08-24 03:14:08 -04:00
Vanessa Ezekowitz
652baa7b32 don't register snow:sapling_pine if snow mod isn't installed 2014-08-15 00:49:27 -04:00
Zefram
1e01ca8dea Remove failed attempt at manual placement flag
The code was failing to set the "placed" flag on empty rubber tree trunk
nodes because the after_place_node callback that does it would only be
called by the default on_place callback, which is overridden for that
node type.  The code also fails to even attempt to set the flag on full
rubber tree trunk nodes.  The technic mod no longer looks at this flag,
so remove the attempt to set it, rather than fix setting it.
2014-08-13 23:19:56 +01:00
Vanessa Ezekowitz
c674a237e4 fix palm trees decaying with wrong radius 2014-08-07 22:29:58 -04:00
Vanessa Ezekowitz
5bfbe63197 spacing fixes 2014-08-07 21:51:55 -04:00
Vanessa Ezekowitz
25564985a2 combine checks for ignore and trunks into one call
(per tree; effectively treats ignore as another trunk)
2014-08-07 21:38:51 -04:00
Vanessa Ezekowitz
0d86cf2023 do the same for that mod's leaves and sapling 2014-08-06 12:54:48 -04:00
Vanessa Ezekowitz
c9f8ff5a39 alias old farming:rubber_tree_full to moretrees:rubber_tree_trunk 2014-08-06 12:44:43 -04:00
Vanessa Ezekowitz
bb1b668f8f phase out the old clone_node call. use minetest.override_item() instead. 2014-07-30 14:53:27 -04:00
Vanessa Ezekowitz
8581d3654e Make all leaves drop as items during decay by default.
This behavior can be disabled by setting...

moretrees.decay_leaves_as_items = false

...in moretrees_settings.txt in your world folder, in which case leaves will
simply disappear during decay, as usual.
2014-07-13 03:41:31 -04:00
Vanessa Ezekowitz
19e2734810 bright fir leaves need to drop themselves, not their dark counterparts 2014-07-13 03:18:22 -04:00
Vanessa Ezekowitz
b9cd044064 updated to match current moreblocks/stairsplus API 2014-06-16 05:25:46 -04:00
Vanessa Ezekowitz
06d28f7870 fixed beech trees using wrong node names 2014-06-14 22:41:14 -04:00
Zefram
1ea3e792cd aliases for jungle tree trunk and planks 2014-04-21 21:02:28 -04:00
Xanthin
7b32c392cf add support for intllib translation mod 2014-03-20 01:31:23 +01:00
Xanthin
83307b04c3 add support for intllib translation mod
now with stairsplus support
2014-03-20 01:30:14 +01:00
Xanthin
b18d06824d update german translation 2014-03-20 01:27:00 +01:00
Xanthin
09ab63ec4d Update template.txt 2014-03-20 01:25:26 +01:00
Xanthin
48e4f55582 added german translation 2014-03-12 22:29:12 +01:00
Xanthin
4a9bdc43ed added template file for translation 2014-03-12 22:28:44 +01:00
Xanthin
0f9e82cee6 added intllib function for translation 2014-03-12 22:24:42 +01:00
Xanthin
17f0826491 added intllib function for translation 2014-03-12 22:23:43 +01:00
Vanessa Ezekowitz
abb5dd3550 oops, forgot to remove the call to load the old ownership.lua file 2014-01-30 16:13:28 -05:00
Vanessa Ezekowitz
050b19e463 Get rid of old ownership code, use Minetest's own code instead 2014-01-30 16:09:23 -05:00
Vanessa Ezekowitz
b0a559ed0b Put all saplings into "sapling" group 2014-01-16 13:44:56 -05:00
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