Commit Graph

79 Commits (master)

Author SHA1 Message Date
Bas 2f7073300b Merge pull request #13 from VanessaE/master
use on_destruct for vines decay
2017-04-18 11:44:51 +02:00
Vanessa Ezekowitz d238862327 use on_destruct for vines decay
(after_destruct is used by default mt_game leaf decay now)
2017-03-30 23:16:56 -04:00
Bas b9391f7bd2 Merge pull request #12 from kaeza/std-mod-files
Add standard mod files.
2017-02-17 09:58:05 +01:00
Bas 6b3e9ff360 Merge pull request #11 from kaeza/luacheck
Add `.luacheckrc` and fix warnings.
2017-02-17 09:57:29 +01:00
Bas 1d524a557f Merge pull request #10 from kaeza/patch-1
Actually fix stack overflow.
2017-02-17 09:55:40 +01:00
Diego Martínez 0c6a41db46 Add standard mod files.
* description.txt
* screenshot.png
* mod.conf
2017-02-17 05:21:30 -03:00
Diego Martínez 0eea598078 Add `.luacheckrc` and fix warnings. 2017-02-17 03:05:58 -03:00
Diego Martínez 85d37b6694 Actually fix stack overflow. 2017-02-17 02:50:38 -03:00
Bas fc0ee6801b Merge pull request #8 from tenplus1/patch-1
Fix crash glitch with vine registry
2017-01-06 10:40:07 +01:00
Bas 152aac577c Merge pull request #9 from kaeza/fix_recursion
Prevent two separate instances of stack overflow.
2017-01-06 10:39:29 +01:00
Diego Martínez 7c68355f23 Prevent two separate instances of stack overflow.
The first one happens because `remove_node` is called
directly, calling `remove_node` for the vine below,
calling `remove_node` for the vine below, calling...

The second one happens because `get_item_group`
returns 0 for groups not set, and 0 is a truthy
value in Lua, so the code always removes the bottom
node regardless of its group rating. This interacted
funnily with doors wanting to remove their top node,
while vines wanted to remove their bottom nodes.
2017-01-06 06:05:40 -03:00
tenplus1 400f6b856c Fix crash glitch with vine registry
This simple change stops vines and roots from crashing client/servers by not making them buildable to.
2017-01-04 19:11:41 +00:00
Bas cf34bfe590 Merge pull request #5 from DonBatman/master
Fixed depreciated
2016-06-19 00:41:43 +02:00
DonBatman 66a7437c09 added groups to crafting
fixed wield image
2016-05-17 18:44:17 -07:00
DonBatman f5e528ef69 Fixed deprciated
tile_images to tiles
maxwear to uses = 60
Made fuction override local
2016-05-17 12:41:23 -07:00
Bas 1ac1892d56 Merge pull request #3 from VanessaE/master
follow renaming of plants_lib --> biome_lib
2015-08-09 17:33:50 +02:00
Vanessa Ezekowitz 6937651e8f follow renaming of plants_lib --> biome_lib 2015-08-09 11:12:19 -04:00
bas080 e96fc291e8 minetest bower.json package support 2015-08-09 15:32:43 +02:00
Bas 3d85ad7c89 Merge pull request #2 from VanessaE/master
fix spelling of jungletrees
2015-03-03 12:07:49 +01:00
Vanessa Ezekowitz 74276ec160 fix spelling of jungletrees 2015-03-01 12:43:10 -05:00
bas080 9174ecafa8 Minor fixes
- Duplicate variable instantiation removed

- Define the biome variable and attach the biome argument to it

- Placed comment in relevant location
2015-02-19 22:36:50 +01:00
bas080 faf4c2128a Biome definition fixes
- jungle vines now actually spawn on jungletrees.

- typo jungletree > jungletrees
2015-02-19 21:32:51 +01:00
bas080 4b2df54c6f Fixed typo
- jungletree spawn_surfaces nodes now are correctly spelled
2015-02-17 07:46:05 +01:00
bas080 49c34f862d Fixed the spawn delay of root vines
The values was very low for testing purposes.
2015-02-17 04:07:34 +01:00
bas080 408d46d32c Updates to biome defs
- Some vines where spawning very rarely and some not at all. Made the
  requirements for vines to spawn more lenient
2015-02-17 04:00:20 +01:00
bas080 498e71672a Replace nodes on servers that use the older vines
- Replace all old vine nodes with air.

- New node names that are also more descriptive of their appearence.
2015-02-16 20:46:24 +01:00
bas080 7a37ef4f3b Shears texture name
- complies with conventions
- updated shears.lua
2015-02-16 18:56:28 +01:00
bas080 726db39caa README fix 2015-02-13 03:16:37 +01:00
bas080 e973c4df48 Groups for spawning vines
- Easily lets vines spawn on nodes that have the unique vine group name

- Updated README.md that explains the groups spawning feature.

- Made groups variable local to the registration function and not part of the
  namespace
2015-02-13 03:10:15 +01:00
bas080 1d71ba447b Recipe fix
- Use the vines group instead of just the side vines
2015-02-13 03:07:56 +01:00
bas080 90c03dbae9 Merge branch 'development'
- API update. No longer uses ABM's except for the ones that are used in
  plants_lib ( performance increase )

- New jungle vine that spawns on jungle trunks/tree

- Code reordering, file renaming an overall more structured and DRY-er approach.

Conflicts:
	README.md
2015-02-13 02:28:26 +01:00
bas080 46c891d4d6 README Update
- Link to plants_lib API for explaining the biome argument

- Minor changes to the example.
2015-02-13 02:10:35 +01:00
bas080 7bb3f5e042 Documentation update
- Very minimal API documentation. The code should be self explanatory.

- LICENSE information.
2015-02-13 01:54:35 +01:00
bas080 797286f4d4 API Update + new vine
- Defines biome in the vines_register function. Thus spawning.lua can be
  removed.

- Vines destroy when a nearby( 3x3 ) leave is dug. They do not drop. To gather
  vines one still has to use the shears.

- Soft depends on moretrees. Allows the overriding of the leave nodes. This is
  required for removing th vines when the leaves destruct.

- Registered a new vine named "vines:jungle" Spawns on jungle tree trunks.
  Either on the moretrees jungles and the default jungletree nodes.

- Textures for the jungle vines.
2015-02-13 01:48:47 +01:00
bas080 796961b01a Complete rewrite
A big code update. Some features have changes slightly. The goal of this update
is to improve performance on servers. This is achieved by removing ABMs and
using on_timers instead. The amount of times that on_timer is used is also
minimized. Other features include.

- vine register function that allows the registering of side and bottom vines

- Removing vines remove all vines beneath it.

- New vine named Roots
2015-02-10 07:15:16 +01:00
bas080 72ab3ec06d Texture updates
- Removes unused textures

- Non-rotten vines look better at the bottom of the vines

- Root vine has non-rotten version (ressurect the root vines)
2015-02-10 07:07:34 +01:00
bas080 e3717068a8 Readme update
- No longer has readme.txt

- README.md without a changelog. Using commit history as changelog
2015-02-09 02:32:18 +01:00
bas080 fbb90b10ff Textures Optimized 2015-02-09 02:12:47 +01:00
bas 5269e44b60 bugfix init.lua:104: attempt to call method 'get_wielded_item' (a nil value) 2013-10-29 17:51:39 +01:00
bas ce479c8e6d drop=nothing for the vines:vine 2013-10-01 16:34:07 +02:00
bas 1d28f7279f Fixed the tool which does not use on_use now, Vines don't drop down on construct but slowly grow downward, no leafdecay 2013-10-01 16:29:48 +02:00
bas f6ebd62884 Fixed shears recipe output 2013-09-15 05:03:29 +02:00
bas e5eeb033f7 Forgotten textures 2013-09-15 05:02:11 +02:00
bas 694d838308 Decaying and shears 2013-09-12 15:04:02 +02:00
bas 0e0f1ebc93 Rope from rope block does not drop and changes minetest:env to minetest. 2013-09-12 11:46:58 +02:00
bas080 968396354d Added requests and added default texture 2013-05-01 14:22:23 +02:00
bas080 7bf714f121 Also spawns when near node jungletree 2013-04-29 17:51:49 +02:00
bas080 ce9ecaca2c Make spawn on all leaves near water 2013-04-22 19:43:02 +02:00
bas080 1c317f021e Changed group name hanging to hanging_node=1 2013-04-18 01:16:55 +02:00
bas080 a915f0908c Vines only spawn near water 2013-03-19 20:01:40 +01:00