1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-11-14 06:10:40 +01:00
Commit Graph

455 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
d6e9d0a46e local-ize a couple more variables 2014-11-20 11:48:57 -05:00
Vanessa Ezekowitz
500062ce12 initialize bush_branch_type to 2
(it needs to be *something* at least)
2014-11-20 11:18:53 -05:00
Vanessa Ezekowitz
86abe21185 local-ize walldir in vines mod 2014-11-20 11:17:10 -05:00
Vanessa Ezekowitz
f30cc04a78 copy&paste error
spawn_plants -> biome.spawn_plants

(only affects legacy string-named function based spawners)
2014-11-20 11:14:20 -05:00
neko259
b16a5f0a68 Refactored nature classic global functions 2014-10-31 22:09:32 +02:00
Vanessa Ezekowitz
7a513e85b1 stop nil crash 2014-10-20 16:17:02 -04:00
Vanessa Ezekowitz
4f3495a9e4 fix error in API
(groups are not allowed in avoid_nodes in register_generate_plant)
2014-10-16 17:11:35 -04:00
Vanessa Ezekowitz
42d858c752 turn debug off 2014-10-01 06:55:30 -04:00
Zeno-
2e82a976ba Fix some nodes not spawning (e.g. wood soils) 2014-09-27 12:55:52 -04:00
Vanessa Ezekowitz
f270890a5d fix incorrect filtering-out of group: in surface registration. 2014-09-27 00:33:11 -04:00
Vanessa Ezekowitz
1f6695189b turn debug on, get rid of a redundant variable 2014-09-26 23:26:18 -04:00
Vanessa Ezekowitz
077c985388 record chunk generate events, but populate the results gradually during
globalstep rather than on-generate

without-air-checking code does not work correctly yet.
2014-09-24 08:15:48 -04:00
Vanessa Ezekowitz
c1f7fb784b functionalize the filter code
so that both types of mapgen routines can use the same subroutines.
less code duplication that way.
2014-09-24 03:31:24 -04:00
Vanessa Ezekowitz
9bd5249c2d import bas080's vines-and-rope mod 2014-09-10 17:26:35 -04:00
Vanessa Ezekowitz
2bab75fa9e stop crash from not-registered node being called for in trunks mod 2014-09-06 13:06:24 -04:00
Vanessa Ezekowitz
6fd0df8b54 correct brain-o in the API humidity values 2014-08-24 00:35:09 -04:00
Craig Robbins
996befecbc Added comment for node string tests 2014-08-23 10:35:57 -04:00
Craig Robbins
c6e8453ea0 Re-wrote abstract_ferns.grow_tree_fern() 2014-08-23 10:35:57 -04:00
Craig Robbins
6465823063 Updated "lady ferns" 2014-08-23 10:35:57 -04:00
Craig Robbins
3757e2d4e0 Updated horsetails 2014-08-23 10:35:57 -04:00
Craig Robbins
2b15938756 Early exit 2014-08-23 10:35:57 -04:00
Craig Robbins
4d2a58027e Minor changes 2014-08-23 10:35:57 -04:00
Craig Robbins
b212a53158 Random lady fern face direction 2014-08-23 10:35:57 -04:00
Craig Robbins
d49a654914 Moved ferns "'module' loaded" asserts to top of files 2014-08-23 10:35:57 -04:00
Craig Robbins
6583cff894 Renamed config/settings var names 2014-08-23 10:35:57 -04:00
Craig Robbins
c19eb709d8 Fixed stupid node names 2014-08-23 10:35:57 -04:00
Craig Robbins
724a1a6892 typo (bug fix) 2014-08-23 10:35:57 -04:00
Craig Robbins
b6aaca8f0c derp 2014-08-23 10:35:57 -04:00
Craig Robbins
2b320a11cd Removed obsolete or useless code
Some commented code makes no sense because there is not comment as to why it's commented out. Removed.
2014-08-23 10:35:57 -04:00
Craig Robbins
d0d839df15 Bump minor version number 2014-08-23 10:35:57 -04:00
Craig Robbins
f44f81213c Stop polluting global namespace 2014-08-23 10:35:57 -04:00
Craig Robbins
50cb0a2741 Renamed SeTTiNGS.txt to settings.lua
It's a Lua file... the extension should reflect what it actually is
2014-08-23 10:35:57 -04:00
Craig Robbins
fe67913fc5 Refactor abstract_ferns.grow_giant_tree_fern
Arguably more readable; definately more maintainable

Potentially slower but if it is the difference would be negligable
2014-08-23 10:35:57 -04:00
Craig Robbins
bd8dadad0b Renamed "leave" to "leaf" where appropriate 2014-08-23 10:35:57 -04:00
Craig Robbins
99dd2db18a Early exit from abstract_ferns.grow_giant_tree_fern
(very) small performance increase
2014-08-23 10:35:57 -04:00
Vanessa Ezekowitz
27430814a0 allow multiple nodes to be specified as a table in the
nodes_or_function_or_model field of the mapgen register call
2014-08-22 23:31:30 -04:00
Vanessa Ezekowitz
a60f89a8a2 Merge branch 'api-tweak' 2014-08-21 01:06:52 -04:00
Vanessa Ezekowitz
9c7e96dd62 allow random_facedir parameter during mapgen call 2014-08-21 01:06:41 -04:00
Vanessa Ezekowitz
ea8ac7f95b fix spelling error in texture filename 2014-08-20 23:38:37 -04:00
Vanessa Ezekowitz
5f7d08ddc4 spelling error (bonsai, not bonzai) 2014-08-20 15:10:18 -04:00
Vanessa Ezekowitz
a0c3b2bd42 add potted bonzai and cactus 2014-08-20 14:01:20 -04:00
Vanessa Ezekowitz
0f20658a2a same for mixed berry pies 2014-08-18 23:16:38 -04:00
Vanessa Ezekowitz
27c1cc58e7 discontinue the old non-farming junglegrass-based pie recipe. 2014-08-18 23:12:13 -04:00
Vanessa Ezekowitz
9e8c58895e Add slightly reduced and rewritten version of mushroom mod by Dan
Duncombe and I, with tweaks added to make mushrooms able to spawn on
woodsoils grass/dirt with leaves.

Rewrites are just to make the ABMs a little lighter-weight, but they should
still function the same as before.

This mod does not hook into the map generator.
2014-08-18 22:33:28 -04:00
Vanessa Ezekowitz
5fdcaa25c4 roll "legacy" mapgen calls into a loop similar to the standard one, call them
"no air check" instead.  Adjust debug prints and summary accordingly.

This reduces the total number of mapgen hooks from 5 down to just 2.
2014-08-18 19:23:56 -04:00
Vanessa Ezekowitz
3b32a4acb7 typo 2014-08-18 19:23:56 -04:00
Vanessa Ezekowitz
809a91e619 don't use inventory/wield image on youngtrees:bamboo.
let the engine show the nodebox instead.
2014-08-18 19:23:56 -04:00
Vanessa Ezekowitz
bc48ee59e3 fix wield scale of giant fern tree crown 2014-08-18 19:23:56 -04:00
Vanessa Ezekowitz
b914e5395b use set_node(), not add_node()
don't use minetest.env:* method (deprecated), use minetest.* instead
2014-08-15 19:34:15 -04:00
Vanessa Ezekowitz
985111d17c that wasn't a memory leak
the table falls out of context at the end of the loop anyway
so the GC will delete it when the loop ends. No reason to delete it manually.
2014-08-15 18:58:05 -04:00