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

113 Commits

Author SHA1 Message Date
wsor4035
458536dbe6
switch to using xcompat (#46)
* switch to using xcompat

* fix readme

* fix dumb mistake
2024-09-06 22:41:48 +02:00
wsor4035
3e424b2797
culls settings (#41)
* load all trees

* remove now sorta duplicate settings

* remove dead settings

* prune useless file

* prune dead settings
2024-05-27 12:18:58 -04:00
wsor4035
1b6914bc26
tune for voxel garden (#40)
* tune for voxel garden based off https://github.com/mt-mods/moretrees/pull/38

* add internal api setting rather than same if statement all over the place, per j-r suggestion
2024-05-27 10:25:10 -04:00
wsor4035
f49b1c42c9
makes moretrees game agnostic (#37)
* at least boot into minetest

* start using some xcompat materials

* transition some more materials

* translate and default lock some more stuff

* handle more stuff

* translate leaves and bugfix jungle nodes near

* fallback on moretrees spaling texture when default not present

* fix https://github.com/mt-mods/moretrees/pull/37#discussion_r1615147786
2024-05-26 11:08:14 -04:00
debagos
9a6c64d163
Fix dead ongen saplings due to biome_lib secession (#35)
* Replaced print with minetest.log in init.lua

* Added moretrees_ongen group to ongen saplings

* Added LBM and setting to enable it for non-functional ongen saplings due to biome_lib secession

* Changed LBM run_at_every_load to true

* Fixed luacheck warnings

* Using random interval for node timer, like in the on_generated timer interval

* Update init.lua

* Update node_defs.lua

---------

Co-authored-by: Niklp <nik@niklp.net>
2024-01-12 12:08:54 -05:00
tenplus1
393840ba49
Player placed fruits have param2 set to 1 (#24)
Player placed fruits have their param2 set to 1 for any mods that need to know if it was grown by sapling or placed by player.
2022-12-27 15:20:39 -05:00
unknown
7879bd8192 manual merge https://github.com/mt-mods/moretrees/pull/19 and resolve conflicts 2022-11-06 13:39:56 -05:00
unknown
5bc6bdc3d9 fix https://github.com/mt-mods/moretrees/issues/17 resolves old legacy code for small varients that was missed when removing biome lib 2022-11-05 22:20:28 -04:00
wsor4035
e476b81cf5
Divorce biome lib and cleanup code (#11)
* make it boot without biome lib

* make luacheck semi sane

* make fast growth saplings work

* make fast saplings respect nodes there growing on

* make regualr saplings work

* fix some luacheck warnings

* add github actions for luacheck

* bump luacheck line limit, as to gracefully handle long tree rules

* switch over to inline luacheck length rules

* fix screenshot warning

* make tree generation work

* add settings from last night

* comment out new biome lib nonsense added

* tune spawning to be better

* turn down fallback ratio

* translate new abm patch to not use biome lib

* add ethereal since its still behaving badly :(
2022-10-24 19:09:19 -04:00
fluxionary
8103aaae79
fix typo to limit polar leaves drops to 1 (#15) 2022-08-25 20:15:31 -04:00
OgelGames
cbe846dfde remove floating date palm trunk and adjust decay
fixes #6
2022-06-01 17:02:34 +10:00
Louis Royer
3212fae8cf Add MT5 client-side translation
- Improve french translation

Warnings:
- many untranslated new strings for German and Spanish translations (some help would be appreciated)
- Inner and Outer Stairs are still badly translated (since there is [no support for this in stairs api yet](https://github.com/minetest/minetest_game/issues/2582)).
2020-08-26 02:11:54 +02:00
Louis Royer
ea92403fa3 Add luacheck and fix warnings 2020-08-26 02:11:18 +02:00
David Leal
fa83e1b262 Respect protection when placing saplings 2020-04-22 22:09:04 +00:00
flux
25250e6eea add optional fences and gates 2019-10-03 18:13:57 +00:00
flux
d097fd6044 make moretrees:jungletree_trunk drop default:jungletree 2019-10-03 18:10:58 +00:00
Vanessa Dannenberg
dde035cb5e use table.copy instead of clone-node 2019-06-18 14:37:06 -04:00
Vanessa Dannenberg
a27af10d2e put on_gen saplings into creative inv, adjust description 2019-05-22 18:44:09 -04:00
Hybrid Dog
af6d08414b Remove obsolete jungletree legacy aliases
Bas080's jungletree mod from 2013 registered those nodes, so the aliases are very old.
The sumpf modpack uses an updated version of that jungletree mod, so when using sumpf and moretrees together a warning appeared.
2017-12-30 16:23:54 +01:00
Vanessa Ezekowitz
c9add9b24d remove some debug prints 2017-08-12 20:26:33 -04:00
Vanessa Ezekowitz
f9d12a9def explicitly describe on-generated saplings 2017-08-12 20:17:53 -04:00
Vanessa Ezekowitz
82744f4a96 don't add "waving" to default leaves/jungle leaves
(they already have it now)
2017-08-12 20:09:14 -04:00
Vanessa Ezekowitz
922058700d spacing fixes 2017-08-12 19:04:02 -04:00
Vanessa Ezekowitz
cccfb1953b remove acacia trees entirely.
they're handled by minetest_game now (have been for a while)
only some aliases and an "avoid" setting for other trees remain.
2017-08-12 18:59:41 -04:00
Vanessa Ezekowitz
37e39a9ba7 fix broken leafdecay on jungle tree and fir tree 2017-03-30 21:51:58 -04:00
Vanessa Ezekowitz
3d7bcca134 set is_ground_content properly
to prevent cavegen griefing on everything but saplings
2017-03-15 13:04:48 -04:00
Vanessa Ezekowitz
2967c107d8 use new minetest_game leafdecay API 2017-03-14 20:26:59 -04:00
Vanessa Ezekowitz
f83f167d18 adapt plantlike leaves' scale for current engine 2017-02-10 09:48:20 -05:00
Vanessa Ezekowitz
471a11f92d pine_sapling_ongen -> cedar_sapling_ongen alias 2016-08-21 15:56:02 -04:00
Rogier
d72574d288 Add poplar tree
Poplars exist in two kinds: small and large trees. Both use the same
nodes, except for the sapling. Poplar leaves may drop one or the
other sapling.

Poplar trees require a humid environment, and water nearby.
Provided there is water, an occasional poplar will grow under less humid
conditions.
2016-07-03 07:16:36 +02:00
Rogier
75e8027bf7 Make cocos palm regrow coconuts.
This feature is optional, and can be turned off.

Existing cocos trees are converted.
2016-06-27 23:23:54 +02:00
Rogier
afab0692df Add date palm
Spawns in hot and dry desert, but requires water. This makes it a bit harder to
find, but where found, it can be more abundant.
If found in the middle of a desert, its presence indicates a water source below
the surface.

As an additional optional feature, dates (slowly) grow back after harvesting.
2016-06-27 23:23:54 +02:00
Rogier
cd9926f9e5 Restore previous pine as cedar
Commit ad0cbbc0f disabled the previous moretrees pine, and aliased it to the
default minetest pine.  The default pine is a completely different tree though,
with different apppearance and different textures.

This commit restores the previous pine tree, renaming it to cedar to avoid a tree
name clash with the default game. Any existing moretrees pine trees will be
converted to cedar, so that their appearance does not change. Moretrees pine
trees that have already been converted to the default pine tree are not converted
back.
2016-05-18 16:54:45 +02:00
Vanessa Ezekowitz
fa3c3c6004 fix alias 2015-08-21 09:07:31 -04:00
Vanessa Ezekowitz
0c596f332e fix copy&paste error in green -> default jungle leaves alias 2015-08-17 18:20:19 -04:00
Vanessa Ezekowitz
2aad14a883 fix bad texture refs on saplings 2015-08-15 17:13:18 -04:00
Vanessa Ezekowitz
f59fd56257 use default leaf decay code for everything. 2015-08-15 16:58:17 -04:00
Vanessa Ezekowitz
6694b8da61 made birch, spruce, fir, and jungle trees spawn again
turned out to be I was using foo:bar for their function calls, which
biome_lib filters out (only group defs can use that format).  Changed
them to quoted-string "foo.bar" format.  Also, jungle trees need a
moretrees-specific copy of the default jungle trunk node so that there's
something unique to match against for the density limit.

also, made jungle trees use the same biome settings as giant tree ferns
2015-08-14 14:40:45 -04:00
Vanessa Ezekowitz
2ae8a32aa3 Use default nodes wherever possible
for pines, jungle trees/leaves, acacias
2015-08-14 13:16:51 -04:00
Vanessa Ezekowitz
ba170ee66e use clone-node method to redefine apple
(only way to add a new group item, for compat with rubenwardy's food mod)
2015-07-30 09:42:47 -04:00
Vanessa Ezekowitz
ad0cbbc0fa don't define acacia and pine nodes - alias them to the default ones instead 2015-07-19 16:41:55 -04:00
Vanessa Ezekowitz
adecd4b1ea add support for the default stairs mod
renamed the relevant enable setting
2015-07-19 16:00:30 -04:00
Vanessa Ezekowitz
e7f2beda39 use current intllib API 2014-12-27 01:06:09 -05:00
Vanessa Ezekowitz
bc6acccd47 plantlike leaves images are obsolete now due to fixes in the engine. 2014-12-18 21:36:29 -05: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
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
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
19e2734810 bright fir leaves need to drop themselves, not their dark counterparts 2014-07-13 03:18:22 -04:00