Commit Graph

399 Commits

Author SHA1 Message Date
Vanessa Ezekowitz e750a6bb59 Imported the classic bushes into Plantlife, updated it to the current
plants_lib API (in the process, added some reasonable biome controls),
made it able to grow on Undergrowth modpack's dirt/grass with leaves
nodes.
2013-09-28 11:36:36 -04:00
Vanessa Ezekowitz c34828ef9d slight clean up in the lines that check for node density 2013-09-14 22:44:16 -04:00
Vanessa Ezekowitz 3003b440e3 change to cc-by-sa 3.0 license, rewrite license file accordingly 2013-09-08 11:55:29 -04:00
Vanessa Ezekowitz a401f1369d Make waterliles placable on the surface of standing water.
Lilies will be rotated randomly on place, in the same manner as they're
usually generated.

Hold 'sneak' (usually shift) while placing to force them to follow your
facedir instead.

Liles will replace buildable_to nodes when placed, including themselves.
This will cause a loss of lilies if you just keep placing them over and
over, but this is intentional.

node_ownership, glomie's protection mod, and zeg9's protection mod are
accounted for, as are infinite item stacks (e.g. plain creative mode).

Also, compact the waterlily register node calls into a loop.
2013-08-19 02:16:00 -04:00
Vanessa Ezekowitz c60212f3cc formal license texts 2013-07-18 12:36:42 -04:00
Vanessa Ezekowitz 448e3d2be2 Phased out all deprecated minetest.env:* uses in favor of minetest.* 2013-06-30 23:55:07 -04:00
Vanessa Ezekowitz 9d06a3137b fix broken flowers-in-pots recipes 2013-06-22 23:10:40 -04:00
PilzAdam bd1300409d Dont use dump() hack 2013-06-16 10:42:29 -04:00
Vanessa Ezekowitz ac45e91879 Ran all textures through pngquant. 2013-05-30 17:30:31 -04:00
Vanessa Ezekowitz 6998bf51a2 Ran all textures through pngquant. 2013-05-30 17:30:29 -04:00
Vanessa Ezekowitz 38456d7029 Ran all textures through pngquant. 2013-05-30 17:30:26 -04:00
Vanessa Ezekowitz 2773a048f0 ran textures through pngcrush 2013-05-30 15:49:09 -04:00
Vanessa Ezekowitz ba651b2c9c remove obsolete textures 2013-05-21 14:35:23 -04:00
Vanessa Ezekowitz a73ba9aeb8 retired the cotton plants, aliased them to farming cotton since that mod is now
part of minetest_game
2013-05-21 10:52:36 -04:00
Vanessa Ezekowitz 95a44d8bf7 add poison ivy plants to flora_block group so default flowers et.al stay away 2013-04-26 16:54:06 -04:00
Vanessa Ezekowitz a2ccdf7cf0 removed cotton plant spawning abm since it is in the flora group and is being
spawned automatically by the default flowers code.

took all other plants out of flora group so they don't get spawned by that
code.
2013-04-26 07:24:13 -04:00
Vanessa Ezekowitz fb60fc4af2 removed poison ivy nodes from flora group. 2013-04-26 07:11:11 -04:00
Vanessa Ezekowitz 743531ed5a took climbing poison ivy out of flora group - thanks to 0gb.us for catching
the cause of a weird facedir bug, which was actually the game doing it, not
plants_lib
2013-04-26 06:56:18 -04:00
Vanessa Ezekowitz 2584286c52 Put poison ivy and junglegrasses into flora group also, made sure my growth
abms will avoid the defaults and vice-versa, to avoid overgrowth.
2013-04-26 05:48:38 -04:00
Vanessa Ezekowitz 620998310c removed regrowth of dandelions, rose, tulip, viola, germaniums, as the
default flowers mod handles that now.
2013-04-26 05:40:13 -04:00
Vanessa Ezekowitz a6694583db made all flowers and related belong to group:flora(=1), changed regrowth
abms to account for that (as default flowers are flora=1, not flowers=1).
2013-04-26 05:36:51 -04:00
Vanessa Ezekowitz 680e802af0 Default game has flowers now, so this removes all duplicate stuff from
my flowers mod, and renames it to flowers_plus.
2013-04-25 17:18:21 -04:00
Vanessa Ezekowitz 6cd55af894 Wrong filename for regular flowerpot. renamed and tweaked init.lua to match 2013-04-24 20:30:55 -04:00
Vanessa Ezekowitz 9efef0d4df forgot to rename cotton wad ("cotton.png") to match the rest of the filenames. 2013-04-24 20:29:21 -04:00
Vanessa Ezekowitz fdfd83cbed Changed flowers seed to 326, Renamed all flowers nodes, added
backward-compat aliases, in preparation for a subset of these flowers
being added to "common".
2013-04-24 20:20:28 -04:00
Vanessa Ezekowitz 03dcbce4f0 add attached_node=1 to all flowers not in pots (except waterlilies) 2013-04-10 23:59:29 -04:00
Vanessa Ezekowitz 13114913f5 forgot to include benchmark for external function call
also default debug to false again
2013-03-31 01:07:45 -04:00
Vanessa Ezekowitz 3b3425c1e6 made the benchmark output report times in ms instead of seconds. 2013-03-31 00:55:39 -04:00
Vanessa Ezekowitz 2102cf269a added rudimentary benchmarking output to chunk processing and tree gen calls 2013-03-30 23:30:33 -04:00
Vanessa aefb98c60e Fixed waterlilies to use proper facedir range ("6d facedir" code fixes an
oversight in the engine that in turn revealed a bug in my code)
2013-03-24 03:36:13 -04:00
Vanessa Ezekowitz 7060f3dd21 Made all plants/grasses buildable_to, except flowers in flowerpots. 2013-03-20 11:37:11 -04:00
Vanessa Ezekowitz aaee2d50cc fixed a minor bug:
plants_lib/init.lua:83: bad argument #1 to 'getn' (table expected, got nil)
2013-03-10 00:38:20 -05:00
Vanessa Ezekowitz 340ac5e0bf move rest of biome defaults into set_defaults() function 2013-03-09 17:06:21 -05:00
Vanessa Ezekowitz 8767ebb1f3 various internal code improvements
better way to set default biome params, optimized-out some copypasta, thanks
to thexyz for spotting these.
2013-03-09 16:47:58 -05:00
Vanessa Ezekowitz 5c2860ed53 p_top should be pos at lines 376, 377 2013-02-24 12:13:09 -05:00
Vanessa Ezekowitz e88c54213f copy&paste bugfix, biome.seed_diff at line 375 should be just seeddiff. 2013-02-24 01:55:03 -05:00
Vanessa Ezekowitz 199fa00b0b Added a couple features to the API to allow for turning off checking for air,
deleting nodes surrounding the spawn target during the mapgen code, replacing
the spawn target, and checking the type of node directly below the spawn
target.
2013-02-23 12:33:46 -05:00
Vanessa Ezekowitz 96df170e2d Made a couple of perlin functions global so they aren't being redefined
every time an ABM or on_generated is called.  Optimized a number of nil
comparisons ("if x == nil" -> "if not x" and similar).
2013-02-23 00:34:03 -05:00
Vanessa Ezekowitz e261479923 clarified version requirement in README 2013-02-22 01:50:02 -05:00
Vanessa Ezekowitz c262cef04b fixed incorrect nodenames for iron and coal in poison ivy walls list 2013-02-20 23:38:50 -05:00
Vanessa Ezekowitz 6d8ac194e2 Clarified API regarding spawn_tree() hooks. 2013-02-19 22:01:46 -05:00
Vanessa Ezekowitz 6bfb454178 routed spawn_tree() through a wrapper function so that other mods can hook into
plants_lib's calls to do something extra when a tree is generated at mapgen
time or spawned via the growing code.
2013-02-19 21:50:56 -05:00
Vanessa Ezekowitz a86c52cfa8 changed perlin settings for humidity layer to match deserts
Thanks to paramat for spotting this!
2013-02-03 03:01:44 -05:00
Vanessa Ezekowitz 1554d8fcf4 another minor rewording of the api 2013-01-30 19:09:21 -05:00
Vanessa Ezekowitz 60ceed2eb1 left out a few commas in the API's tables (I want them to be easily
copied and pasted directly into one's code).
2013-01-30 18:55:40 -05:00
Vanessa Ezekowitz ced39d9afb minor edit to api.txt 2013-01-30 18:46:34 -05:00
Vanessa Ezekowitz 572bd59e9b Rewrote parts of the API, expanded some stuff to make the whole thing easier
to read and more clear on what stuff means.
2013-01-30 18:35:59 -05:00
Vanessa Ezekowitz 8df8e44a0c add experimental support for calling an arbitrary function
in the spawning ABM after all other biome tests and general checks (aside from
spawning at the sides/bottom/top of a node) are done.
2013-01-29 16:22:33 -05:00
Vanessa Ezekowitz 320154a3a8 another wording tweak 2013-01-29 01:58:20 -05:00
Vanessa Ezekowitz 934e83f3a9 forgot to document the max_count variable. 2013-01-29 01:56:22 -05:00