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
Vanessa Ezekowitz
8f9b8014c7
Don't allow registration of actions for undefined nodes
2014-08-15 00:51:08 -04:00
Vanessa Ezekowitz
6a13ffc5d2
don't bother testing if air check is enabled in legacy
...
...because it never will be :P
2014-08-15 00:00:30 -04:00
Vanessa Ezekowitz
c312c4e52f
local-ize the block cache table
2014-08-14 23:52:23 -04:00
Vanessa Ezekowitz
33c565fbdb
move perlin1 (perlin_fertile_area) out of the inner loop
...
(it only needs to be inside the action loop)
2014-08-14 23:47:23 -04:00
Vanessa Ezekowitz
6bc8fead15
optimize out table.insert() and ipairs() calls
2014-08-14 23:35:02 -04:00
Craig Robbins
d1aae719d0
Fixed emerge tread dig messages for ferns
...
Pretty sure it's right this time :)
2014-08-15 12:20:50 +10:00
Craig Robbins
b2c30c9a5e
Use a loop to generate the giant ferns rather than lots of if statements.
...
NB: Technically giant tree ferns are a subcanopy species and not emergent (which with the current truck heights they are in jungles)
2014-08-14 10:48:07 -04:00
Vanessa Ezekowitz
c311de6694
free the block cache memory after using it (fix mem leak)
2014-08-13 21:19:53 -04:00
Vanessa Ezekowitz
ce9212c413
make ferns not spawn on gravel actively by default
2014-08-13 00:07:28 -04:00
Vanessa Ezekowitz
6ac71ebf91
same for juncus grass
2014-08-12 23:57:23 -04:00
Vanessa Ezekowitz
c499030f7c
do the same for the other small ferns
2014-08-12 23:55:34 -04:00
Vanessa Ezekowitz
c736a719eb
make horsetail ferns buildable_to
2014-08-12 23:50:37 -04:00
Vanessa Ezekowitz
f3cdd1b7a1
don't disable air checking in biome defs when it isn't necessary
...
doing so greatly slows down plants_lib by forcing the use of the legacy
mapgen code.
2014-08-12 23:44:00 -04:00
Vanessa Ezekowitz
c636c62480
new mapgen algorithm - do the surface eval in one pass.
2014-08-12 22:04:48 -04:00
Wuzzy
d56516de3a
Cleanup node naming, node drops and inv. images
...
Descriptions of all nodes are (hopefully) in proper English now,
no more stupid non-descriptions like “Young2treebottom” etc.
Bush branches drop sticks, young tree trunks drop sticks, too.
2014-08-12 16:07:43 -04:00
Vanessa Ezekowitz
c89d6c52b3
fix spelling of Mossmanikin's name in LICENSE.
2014-08-12 15:47:48 -04:00
Vanessa Ezekowitz
3b7b242481
Imported dryplants and ferns mods and all components of the Undergrowth modpack
2014-08-12 15:08:11 -04:00
Vanessa Ezekowitz
da211cc07d
get rid of the old clone_node function. nothing uses or needs it now.
...
use minetest.override_item() instead
2014-07-30 14:29:42 -04:00
Vanessa Ezekowitz
829c69c351
make nature_classic aware of moretrees
...
If moretrees is not present, nature_classic spawns blossoms and
eventually apples on default trees, as it always has.
If moretrees IS present, the code will only spawn apple blossoms on
moretrees' own apple tree leaves, and will only grow new apples on those
trees, not on default trees. In this case, the nature:blossom node is
considered deprecated and is aliased to default:leaves to avoid causing
undefined nodes in old maps.
2014-07-30 12:55:49 -04:00
Zefram
49c1d35ddb
Exclude fruitless bush from creative inventory
...
The fruitless bush isn't an independent item, but a node type used only
for its appearance, representing the the fruitless state of some specific
type of fruit bush. One should never have a fruitless bush in inventory,
and it makes no sense to plant a fruitless bush per se.
2014-07-05 12:49:24 -04:00
Vanessa Ezekowitz
5adbd3f043
minetest.env:* is deprecated, use minetest.*
2014-07-05 02:01:24 -04:00
Vanessa Ezekowitz
9032385b61
don't spawn apples too close together.
2014-07-05 02:00:41 -04:00
Vanessa Ezekowitz
7b9aac91b2
make apple blossoms only grow on trees within 20m of water by default
2014-07-05 01:50:09 -04:00
Vanessa Ezekowitz
5ca862e153
add waving property to blossoms, for shader use
2014-07-04 01:44:15 -04:00
Vanessa Ezekowitz
828c2008e7
import part of the original nature mod from nature_pack
...
blossoms/apple spawning portion only
does not include the iron trees or tree-growing code as those are obsolete
2014-07-04 00:49:32 -04:00
Vanessa Ezekowitz
f6e5eed2eb
fix lilypads max count and rarity variables
...
thanks for catching that, Gael de Sailly!
2014-07-01 19:51:04 -04:00
Vanessa Ezekowitz
ca88a35f26
use minetest built-in functions for node protection
...
phase out the old hand-rolled protection function
drops support for old protection mods
2014-06-22 22:20:51 -04:00
SoniEx2
ce8433ac1e
Use the length operator instead of table.getn
...
Should also be faster...
2014-05-25 10:03:29 -03:00
Vanessa Ezekowitz
a40599dfce
Update API doc to match changes in the code
...
DEPRECATED: Don't use strings to pass function names to the mapgen code,
use an actual function call i.e. my_code(pos) instead.
2014-05-24 19:58:20 -04:00
SoniEx2
ebeb286c31
Added function support in ABM growing code
2014-05-24 18:51:32 -04:00
Ciaran Gultnieks
dde8ca5955
Better compatibility with farming_plus strawberries
...
Specifically, override the unattractive ones from that mod with the ones
from this, instead of having two kinds of strawberries, ugly and not
ugly.
2014-05-24 17:28:07 -04:00