Commit Graph

446 Commits

Author SHA1 Message Date
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
Vanessa Ezekowitz
1e4ad757a5 route most of the various recent print statements through plantslib:dbg()
(still defaults to false)
2014-08-15 16:25:32 -04:00
Vanessa Ezekowitz
f1356dfd65 don't execute abstract_dryplants.grow_grass with "short" grass as a "surface" node.
as short grass may not always be there.  will do it a more proper way later.
2014-08-15 16:21:55 -04:00
Vanessa Ezekowitz
8e4c942d9a don't register surface types if their nodes aren't defined. 2014-08-15 16:14:09 -04:00
Vanessa Ezekowitz
a25fb55c57 print a final report of the number of actions and legacy mapgen hooks that were registered 2014-08-15 15:51:03 -04:00
Vanessa Ezekowitz
760160d638 legacy stuff should always be marked as "Warning:"
and make warnings more consistent
2014-08-15 11:10:17 -04:00
Vanessa Ezekowitz
5cf07fd39f remove useless mention of last revision. 2014-08-15 11:01:42 -04:00
Vanessa Ezekowitz
da732bb18e use real function calls instead of the old string method where possible
(basically leaving only the old legacy mapgen calls still using the string method)
2014-08-15 10:47:44 -04:00
Vanessa Ezekowitz
7f4fc1d553 fix wield scale on giant tree fern leaves 2014-08-15 08:42:57 -04:00
Craig Robbins
ae9c8c307d Bugfix: giant tree fern leaves dropping wrong item 2014-08-15 17:43:11 +10:00