Commit Graph

334 Commits

Author SHA1 Message Date
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
Vanessa Ezekowitz
753cb01234 ...and make it local. 2014-05-24 17:08:15 -04:00
Vanessa Ezekowitz
591a917e21 performance improvement
cache type() check of node/function/model, always check if it's string
before trying to execute that string as a function.
2014-05-24 16:39:35 -04:00
SoniEx2
942aefd7dd Better handling of function calls
Make sure that bad function calls fail safely, and failed function
calls don't leave spawned=true
2014-05-24 16:26:59 -04:00
Vanessa Ezekowitz
bc6efe3844 Missed a couple old jungle grass references 2014-05-16 17:25:32 -04:00
Vanessa Ezekowitz
d3a2e839c7 Updated the badly-outdated README 2014-05-16 17:23:55 -04:00
Vanessa Ezekowitz
c1d3d6b454 couple small optimizations in mapgen code 2014-05-16 17:04:12 -04:00
Vanessa Ezekowitz
6b65eeb1fb better way to test for valid function name in generate call, by SoniEx2 2014-05-16 16:39:32 -04:00
Vanessa Ezekowitz
5eb48a2c67 got rid of more debugging stuff 2014-05-15 06:26:18 -04:00
Vanessa Ezekowitz
2e0293a3f3 got rid of all extraneous debugging statements
left the actual function in, and replaced one call with a print statement
since if it happens, it indicates a non-fatal error that should always be
reported anyway (invalid object refs in mapgen calls)
2014-05-15 06:23:50 -04:00
Vanessa Ezekowitz
df6f23baed last revision date 2014-05-15 06:09:59 -04:00
Vanessa Ezekowitz
087c661090 more robust handling of function/table/string values
in register_generate_plant() call (to handle e.g. unknown nodes being spawned)
2014-05-15 06:08:25 -04:00
Vanessa Ezekowitz
064572c0a7 fix typo 2014-04-08 14:23:16 -04:00
Vanessa Ezekowitz
de6706e137 fix an old copy&paste error 2014-04-08 14:22:17 -04:00
Vanessa Ezekowitz
5f4c48a9aa fix old function name in API.txt intro 2014-04-08 14:10:19 -04:00
Xanthin
6f04d71ceb typo from me 2014-04-07 22:26:50 +02:00
Xanthin
0a045632a5 Update de.txt 2014-04-02 22:25:14 +02:00
Xanthin
4b5903ddf1 add support for intllib translation mod 2014-03-20 02:01:43 +01:00
Xanthin
eefa94d308 Update de.txt 2014-03-20 02:00:23 +01:00
Xanthin
27fbd91b18 Update template.txt 2014-03-20 01:59:50 +01:00
Xanthin
2cb4435a85 little translation update
I fear the dbg
2014-03-20 01:57:17 +01:00
Xanthin
ffb2366a40 german translation 2014-03-20 01:45:59 +01:00
Xanthin
8bfc8424ae Create template.txt 2014-03-20 01:45:25 +01:00
Xanthin
7ad28287f5 add support for intllib translation mod
gt
2014-03-20 01:44:00 +01:00
Xanthin
8db0528552 Update de.txt 2014-03-20 01:43:01 +01:00
Xanthin
612d4d368c Update template.txt 2014-03-20 01:42:15 +01:00
Xanthin
c043aa1107 add support for intllib translation mod
just for completeness (german tidiness?)
2014-03-20 01:41:29 +01:00
Xanthin
67eea1d5e8 Update de.txt
just for completeness
2014-03-20 01:39:34 +01:00
Xanthin
6606a7a326 Update template.txt 2014-03-20 01:37:56 +01:00
Xanthin
59a847b37c added german translation 2014-03-12 19:39:46 +01:00
Xanthin
75c39dc513 added template file for translation 2014-03-12 19:39:18 +01:00
Xanthin
a9c11e55f0 added intllib function for translation 2014-03-12 19:36:42 +01:00