Commit Graph

51 Commits (master)

Author SHA1 Message Date
Vanessa Dannenberg a2976c609a update all generate, spawn, and grow calls
to use "." instead of ":" notation
(quells all those "deprecated" warnings)
2021-07-19 14:18:01 -04:00
Louis Royer 47c20dc550 Remove translations in minetest.log output
because they are not translated anyway
2020-02-15 14:32:06 +00:00
Pedro Gimeno 229d6aba88 Fix growth of tree fern saplings
While on it, factor out calls to get_node.
2019-04-12 00:10:44 +02:00
Vanessa Dannenberg 3dde23cff8 license fixups: use LGPL3.0 for code, CC-by-SA 4.0 for media 2018-11-08 18:29:07 -05:00
Vanessa Dannenberg 77093e428a use swap_node() where possible, for speed 2018-10-25 10:27:54 -04:00
sys4-fr 9789d6da3a Fix ferns compatibility with minetest >= 0.4.16 (#78) 2018-03-17 16:37:02 -04:00
Auke Kok 0af7b69afa `cleanfile` run: remove trailing whitespace.
When it's this far out of hand you really need to clean up or else
everyone will be submitting patches with more whitespace problems.
2018-02-17 16:28:43 -08:00
Auke Kok 1ccfeb6214 Reduce usage of debug `print` statements for no good reason (console floods) 2018-02-17 16:27:12 -08:00
fat115 5ca1ed261e global i18n : add plantlife_i18n mod
idea taken from homedecor_modpack and its homedecor_i18n
all translated mods have a new dependency : plantlife_i18n
translations are stored in po/pot file : one file for all mods

added french translation (almost complete)
transfered de/es/tr/pt translations to corresponding .po file
(only for some mods, unfortunately translations are incomplete)
2017-08-03 15:02:56 +02:00
Vanessa Ezekowitz 0363ed0348 fix sizes of various ferns and dry plants
(due to changes in how visual_scale is interpreted in the engine)
2017-06-16 14:16:18 -04:00
Vanessa Ezekowitz c43375ff7a improve air detection for tree and giant tree ferns 2017-03-14 21:23:33 -04:00
Vanessa Ezekowitz 42732b0636 split plants_lib off into its own repository
renamed it to biome_lib
changed all relevant functions, tables, depends.txt, etc. in this modpack to call for the new name.
2015-08-09 10:37:50 -04:00
Rogier 54b116525a Don't generate tree ferns without a trunk. 2015-06-21 14:38:08 +02:00
Rogier f91caae9bd Increase average size of treeferns (generate smallest less frequently) 2015-06-21 13:59:54 +02:00
Rogier e42b0ff4b3 Regular & giant treefern leaves: always drop a sapling, and either leaves or another sapling
As there is only one leaf per fern, this makes it possible and convenient
to farm ferns (which was impossible, and even replanting all chopped-down
fern plants was extremely laborious due to the rarity of saplings).

Although on average slightly more than one sapling is produced per plant,
replanting and reharvesting the leaves is still the quickest way to
obtain more saplings.
2015-06-21 13:57:41 +02:00
Vanessa Ezekowitz 3eaf687da4 OPTIMIZE _ALL_ THE TEXTURES! \:D/ 2015-01-23 14:08:08 -05:00
Vanessa Ezekowitz a2cb400daf undo recent visual_scale changes
this effectively reverts the offending parts of commits d602b08730 and 86612336da
2014-12-15 16:03:55 -05:00
Vanessa Ezekowitz d602b08730 fix tree fern and giant tree fern crowns being too small 2014-11-25 00:23:24 -05:00
Vanessa Ezekowitz 86612336da fix "floating" plants
caused by a change in how the engine interprets the visual_scale
node def field.
2014-11-25 00:11:47 -05: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 3b32a4acb7 typo 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 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
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 ce9212c413 make ferns not spawn on gravel actively by default 2014-08-13 00:07:28 -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