82 Commits

Author SHA1 Message Date
HybridDog
2b112e6ac1 Add a .luacheckrc and code style changes 2020-10-11 17:58:50 +02:00
HybridDog
23f5060825 Add Markdown documentation 2020-02-14 17:13:33 +01:00
HybridDog
ea520dc03d Update get_a_tree: detect trunk nodes of neighbour trees 2020-02-14 15:43:08 +01:00
HybridDog
bf93f8c08d Allow param2 1,2 and 3 trunks and update non-v6 jungletree 2018-08-01 21:21:51 +02:00
Hybrid Dog
8c39b7a72f Use new settings interface 2017-06-11 09:18:59 +02:00
Hybrid Dog
fbffeff665 Add a setting to disallow digging a tree if no tool would become worn out 2017-05-25 08:44:02 +02:00
Hybrid Dog
b68948ef34 moretrees: Add date palm, jungletree and update cedar 2017-03-26 21:08:30 +02:00
Hybrid Dog
12d01eca05 palm: Fix infinite stem walking 2017-03-26 19:55:51 +02:00
Hybrid Dog
058180565b Fix coconut detection 2017-03-26 18:31:25 +02:00
Hybrid Dog
5fe3fb74fa palm: Set max_forbi of nighbour trees to 0 2017-03-26 18:06:35 +02:00
Hybrid Dog
d77d4cd9fc Add neighbour detection to palm tree 2017-03-26 18:01:54 +02:00
Hybrid Dog
f8b433bbc6 palm: Allow walking the forbidden direction 1 time 2017-03-26 17:19:35 +02:00
Hybrid Dog
9f864f1e94 Fix typo 2017-03-25 19:31:48 +01:00
Hybrid Dog
532cabf6e5 Add not working palm type 2017-03-23 18:45:34 +01:00
Hybrid Dog
8921e59f4b Fix fruits dropping and support moretrees apple tree 2017-03-23 15:28:28 +01:00
Hybrid Dog
83ce4556a0 Accommodate drop_leaf for creative mode 2017-03-23 15:19:05 +01:00
Hybrid Dog
337756eb41 Improve cutting leaves workaround 2017-03-23 14:38:22 +01:00
Hybrid Dog
13889abee8 Fix spruce tree neighbour detection, the arguments had the wrong order 2017-03-23 13:20:08 +01:00
Hybrid Dog
24988831ac Add support for trees with leaves cutting through their stems 2017-03-18 21:11:47 +01:00
Hybrid Dog
2b89371b07 Fix moretrees neighbour trees stems detection 2017-03-18 19:30:37 +01:00
Hybrid Dog
25f603e9c7 Add support for + stem trees 2017-03-18 19:00:50 +01:00
Hybrid Dog
602774d210 Add support for eroded 2x2 stem trees 2017-03-17 19:58:25 +01:00
Hybrid Dog
9e4e8ba462 Fix 2x2 stem trees neighbour detection 2017-03-16 16:36:14 +01:00
Hybrid Dog
633eef4a68 Add support for 2x2 stems (unfinished) and fix leaves test position 2017-03-16 16:36:14 +01:00
Hybrid Dog
2bafc24960 Preparation for adding stem types 2017-03-16 16:36:14 +01:00
Hybrid Dog
6eec36591c Use metatable to avoid all those table_contains 2017-03-16 16:36:14 +01:00
Hybrid Dog
68662c91ef Some updates
Drop support for minetest versions without minetest.override_item
Disallow registering trees before registering their trunk nodes
Abort if nodes can't be overridden correctly

Code style fixes
2017-03-16 16:36:14 +01:00
Hybrid Dog
3424f86ebe Move api to api.lua 2017-03-16 16:36:14 +01:00
Hybrid Dog
544fe0ceb8 Add hash2 function, currently unused 2017-03-16 16:36:14 +01:00
Hybrid Dog
9576a40e33 Try to fix fir cone dropping without success and fix fir ranges 2017-03-16 16:36:14 +01:00
Hybrid Dog
910f1cdc17 Add poplar trees and fix fir trees 2017-03-16 16:36:14 +01:00
Hybrid Dog
e607b110f7 Add support for mgv7 trees (requested by fireglow), three possible fields are added to the default tree type
M  README.md
M  init.lua
M  trees.lua
2017-03-16 16:36:14 +01:00
Hybrid Dog
be441dbfa2 Fix snow not falling after digging a tree, sorry for the delay, AnxiousInfusion
M  init.lua
2017-03-16 16:36:14 +01:00
KurikAmudnil
7c1f0255dd Fix typo in Moretrees support 2017-03-16 16:36:14 +01:00
Hybrid Dog
06c5144df8 luacheck used
M  init.lua
2016-12-28 12:40:57 +01:00
HybridDog
b0257cd1c8 support acacia tree, TODO: delimiting currently works wrong l think
M  init.lua
M  trees.lua
2016-09-12 17:12:29 +02:00
HybridDog
af266a0d45 extricate the moretrees capitation function (untested)
M  init.lua
2016-09-12 16:12:43 +02:00
HybridDog
29628e0f52 clean code: extricate the default capitation function from capitate_tree
M  init.lua
2016-09-12 15:57:16 +02:00
HybridDog
eb92d783e6 fix bracket
M  init.lua
M  trees.lua
2016-07-12 18:33:44 +02:00
HybridDog
e47b5393b4 update loops etc.
M  README.txt
M  init.lua
2016-07-12 17:21:27 +02:00
HybridDog
88d292d283 use faster position indexing
M  init.lua
2016-07-12 17:01:54 +02:00
HybridDog
c4a9702fce fix custom settings
M  README.txt
M  init.lua
A  settingtypes.txt
2016-07-12 16:55:00 +02:00
HybridDog
6bad84b773 sry, p2 needs to be defined again every time 2015-07-06 19:43:44 +02:00
HybridDog
83bc027353 disable it by default 2015-07-06 16:47:53 +02:00
HybridDog
b5296ea8e7 add a setting to delay capitating trees 2015-07-06 16:46:22 +02:00
HybridDog
3d971b26bd 🐈 2015-05-23 18:31:30 +02:00
HybridDog
4d4c1ff5ba add a setting to enable moretrees support 2015-05-23 08:02:51 +02:00
HybridDog
ab5867fd1b fix trees with same leaves and add farming_plus support 2015-03-28 15:30:25 +01:00
HybridDog
2c34313eeb this should fix trees with equal stems but different leaves 2015-03-17 19:48:08 +01:00
HybridDog
275f5918c8 fix node dig and play the sound by default 2015-03-16 18:36:21 +01:00