Commit Graph

369 Commits

Author SHA1 Message Date
Rogier
6019a61687 Make reedmace grow faster (was extremely slow...)
At the previous rate, it would take almost 2 days and 15 hours of
playing time for half of the reedmace to grow. (and therefore 5 days
and 6 hours for 75% to grow, etc.)

The new rate should require 2.25 hours of playing time for half of
the reedmace to grow.
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
Rogier
a27c97d3c9 Eliminate mass conversions between blossom and leaves
This happens when the ABM runs after the block has been unloaded
for much longer than the ABM interval: in that case, the initial
ABM running chance for a node in the block may become up to 100%.
2015-06-18 11:24:17 +02:00
Rogier
6af38b488c Increase minimum duration for blossoms 2015-06-18 11:24:17 +02:00
Rogier
6c715f65f6 Fix timer bug causing persistent blossoms
Because minetest.after() is not bound to a position, and because it is not
saved, it may trigger after the node to which it applies was unloaded, or
not at all (if the session ends). If that happens, The 'young' flag
will not be cleared, and will have become persistent (i.e. without a timer
which will eventually clear it).

This patch removes the 'young' flag, and replaces it with a timestamp, removing
the need for a timer. Any lingering 'young' flags that have become persistent
are automatically removed over time (i.e.: they are simply ignored...)
2015-06-18 11:24:17 +02:00
Rogier
aaa4186695 Remove redundant 'remove_node' in blossom code 2015-06-18 11:24:17 +02:00
Rogier
4c70d6d160 Limit the number of blossoms or leaves queued for conversion 2015-06-18 11:24:17 +02:00
Rogier
8348a745f8 Use different chances for leaves->blossom and blossom->leaves conversions 2015-06-18 11:23:57 +02:00
Rogier
bb41483ee9 Make blossom revert back to regular leaves
It didn't, so that all apple leaves would permanently become blossom
over time.
2015-06-18 11:23:57 +02:00
Richard Zetterberg
f2abf39047 Updates required minetest version to 0.4.11
Fixes documentation 

See related discussion #49.
2015-06-05 21:37:40 +02:00
Vanessa Ezekowitz
bf750c9721 fix bad shers wield image ref 2015-05-28 10:32:45 -04:00
kilbith
eb519d1ee5 Export small flower pots to Home Decor 2015-05-15 20:19:50 +02:00
Vanessa Ezekowitz
06f65fa183 don't grow vines on default trees 2015-05-10 17:22:36 -04:00
LeMagnesium
632f3ebc28 Added french translation
- Added french translation for intllib
2015-05-09 13:58:59 +02:00
Vanessa Ezekowitz
967bcf2ef4 sunflowers should avoid each other, too, when spawning
also, setting an avoid radius would be a good idea.
2015-04-13 00:09:52 -04:00
Vanessa Ezekowitz
fd848d1d36 more accurate plantlike model 2015-04-07 23:24:22 -04:00
kilbith
9d06642599 Switch potted flowers to mesh
with model changes by VanessaE
2015-04-06 14:40:04 -04:00
Vanessa Ezekowitz
8838dea6ab sunflowers count = 10 (the right way) 2015-03-26 17:40:53 -04:00
Vanessa Ezekowitz
5a13eab6d8 adjust sunflower spawning parameters 2015-03-26 17:25:58 -04:00
kilbith
c7ac932737 Add spawning Sunflowers 2015-03-26 21:10:27 +01:00
Vanessa Ezekowitz
d2a7f4fdf9 add facedir to baskets 2015-03-17 13:34:23 -04:00
kilbith
205fd28172 Replace old function
Switch `add_node` to `set_node`
2015-03-06 09:37:14 +01:00
Mahmut Elmas
9308a5ffd5 Update and rename poisonivy/locale to poisonivy/locale/tr.txt 2015-03-02 21:36:56 -05:00
Mahmut Elmas
add7954f9c Update and rename plants_lib/locale to plants_lib/locale/tr.txt
Update and rename flowers_plus/textures to flowers_plus/textures/tr.txt
Update and rename bushes_classic/locale to bushes_classic/locale/tr.txt
2015-03-02 21:35:33 -05:00
Vanessa Ezekowitz
92c5c81ea1 update vines mod again 2015-03-01 12:46:26 -05:00
Vanessa Ezekowitz
7059756929 update vines from upstream 2015-03-01 12:25:54 -05:00
Vanessa Ezekowitz
f0e3c1052a early exit from the 0.2s loop if there's nothing to do 2015-02-28 12:23:50 -05:00
Vanessa Ezekowitz
3de5c62d87 fix brain-o in new dtime algorithm
don't actually run the checking loop if there's nothing to do!
otherwise it spins the CPU at 100% for no reason
2015-02-28 11:46:18 -05:00
Vanessa Ezekowitz
93a439638e read-out/play back more log entries per globalstep
if there is time to do so (up to a max of 0.2 seconds' worth)
2015-02-28 00:30:47 -05:00
Vanessa Ezekowitz
bc80a079bc Play out the rest of the mapblock log at standard shutdown
This prevents unpopulated map areas being left over after a restart.

Adds a fairly large shutdown penalty to the engine only if the mapgen is
actively generating at the time of shutdown.  If the mapgen is more or less
idle, no extra time is added.
2015-02-27 12:29:43 -05:00
Vanessa Ezekowitz
b80a7a9693 use find_nodes_in_area_under_air() if available
instead of manually searching for air above find_nodes_in_area() list
2015-02-27 11:48:51 -05:00
est31
d7a64d7e52 Fix sickle issues commit number 3
This allows to dig doors or other snappy blocks you own.
2015-02-21 04:15:14 +01:00
est31
e2ffae0b88 Fix minor sickle issues
fixes two minor issues:

-sickle didn't respect protection for grass or wheat
-sickle added wear even though the item wasn't diggable
2015-02-21 03:56:40 +01:00
est31
b7d2c9e01e Fix sickle
Fixes a bunch of issues with the sickle:
-sickle didnt care of protection
-sickle removed filled chests (also locked ones)
-when applying to a dirt node thats not "under" a player, the grass got added to the wrong position
-everything that was above a dirt_with_grass node got removed

Now I am proud to announce, that all these issues got resolved.
2015-02-21 03:49:22 +01:00
Vanessa Ezekowitz
4193ffe206 fix copy&paste error 2015-02-17 14:37:49 -05:00
Vanessa Ezekowitz
36eea79c4d fix typos in vine spawn target node names
fix wrong use of near_nodes_* fields in willow def
2015-02-17 01:31:56 -05:00
bas080
e049492b59 Vines update 2015-02-17 01:31:36 -05:00
Vanessa Ezekowitz
0c6db75383 add API function to choose a random wall
(rather than always the first found)

move API.txt into plants_lib dir
moderate re-formatting of API.txt, accounting for tab width = 4 spaces.
2015-02-16 22:25:53 -05:00
Vanessa Ezekowitz
01555c10c1 better groups settings in trunks "twigs" and "moss" nodes 2015-02-16 17:53:06 -05:00
kilbith
b33381b1c2 Spawning mushrooms out of invo 2015-02-11 08:30:11 +01:00
Vanessa Ezekowitz
6116dd6c6e use mesh nodes for mushrooms, models by jp/kilbith 2015-02-10 15:08:27 -05:00
Vanessa Ezekowitz
811e1d2ee2 fix crash if detected light at a node is nil 2015-02-09 12:50:32 -05:00
Vanessa Ezekowitz
581aee0570 reset blossom delay back to normal 2015-02-08 23:37:48 -05:00
Vanessa Ezekowitz
b18b0a8211 limit plants_lib's per-step time based on dtime
(requested limit is 0.2s, but actual tends to be around 1.5s max lag spike)
2015-02-08 23:27:58 -05:00
Vanessa Ezekowitz
40f5d66505 refactor nature_classic to avoid lag caused by its blossom abms 2015-02-08 23:17:02 -05:00
Vanessa Ezekowitz
117cab1474 use mesh nodes for bushes_classic baskets/baskets-with-pies. 2015-01-26 04:10:20 -05:00
Vanessa Ezekowitz
d63e016b19 use mesh node for the various bushes
new texture filenames also.
2015-01-25 15:07:07 -05:00
Gael-de-Sailly
ec4f2237f3 Drop item when inventory is full (bushes_classic) 2015-01-25 10:18:56 +01:00
Gael-de-Sailly
ecf175fb9c cleaned the code of bushes_classic into conventionnal LUA style, for readability 2015-01-25 10:00:42 +01:00
Vanessa Ezekowitz
3eaf687da4 OPTIMIZE _ALL_ THE TEXTURES! \:D/ 2015-01-23 14:08:08 -05:00