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
aaa4186695
Remove redundant 'remove_node' in blossom code
2015-06-18 11:24:17 +02:00
4c70d6d160
Limit the number of blossoms or leaves queued for conversion
2015-06-18 11:24:17 +02:00
8348a745f8
Use different chances for leaves->blossom and blossom->leaves conversions
2015-06-18 11:23:57 +02:00
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
f2abf39047
Updates required minetest version to 0.4.11
...
Fixes documentation
See related discussion #49 .
2015-06-05 21:37:40 +02:00
bf750c9721
fix bad shers wield image ref
2015-05-28 10:32:45 -04:00
eb519d1ee5
Export small flower pots to Home Decor
2015-05-15 20:19:50 +02:00
06f65fa183
don't grow vines on default trees
2015-05-10 17:22:36 -04:00
632f3ebc28
Added french translation
...
- Added french translation for intllib
2015-05-09 13:58:59 +02:00
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
fd848d1d36
more accurate plantlike model
2015-04-07 23:24:22 -04:00
9d06642599
Switch potted flowers to mesh
...
with model changes by VanessaE
2015-04-06 14:40:04 -04:00
8838dea6ab
sunflowers count = 10 (the right way)
2015-03-26 17:40:53 -04:00
5a13eab6d8
adjust sunflower spawning parameters
2015-03-26 17:25:58 -04:00
c7ac932737
Add spawning Sunflowers
2015-03-26 21:10:27 +01:00
d2a7f4fdf9
add facedir to baskets
2015-03-17 13:34:23 -04:00
205fd28172
Replace old function
...
Switch `add_node` to `set_node`
2015-03-06 09:37:14 +01:00
9308a5ffd5
Update and rename poisonivy/locale to poisonivy/locale/tr.txt
2015-03-02 21:36:56 -05:00
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
92c5c81ea1
update vines mod again
2015-03-01 12:46:26 -05:00
7059756929
update vines from upstream
2015-03-01 12:25:54 -05:00
f0e3c1052a
early exit from the 0.2s loop if there's nothing to do
2015-02-28 12:23:50 -05:00
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
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
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
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
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
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
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
4193ffe206
fix copy&paste error
2015-02-17 14:37:49 -05:00
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
e049492b59
Vines update
2015-02-17 01:31:36 -05:00
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
01555c10c1
better groups settings in trunks "twigs" and "moss" nodes
2015-02-16 17:53:06 -05:00
b33381b1c2
Spawning mushrooms out of invo
2015-02-11 08:30:11 +01:00
6116dd6c6e
use mesh nodes for mushrooms, models by jp/kilbith
2015-02-10 15:08:27 -05:00
811e1d2ee2
fix crash if detected light at a node is nil
2015-02-09 12:50:32 -05:00
581aee0570
reset blossom delay back to normal
2015-02-08 23:37:48 -05:00
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
40f5d66505
refactor nature_classic to avoid lag caused by its blossom abms
2015-02-08 23:17:02 -05:00
117cab1474
use mesh nodes for bushes_classic baskets/baskets-with-pies.
2015-01-26 04:10:20 -05:00
d63e016b19
use mesh node for the various bushes
...
new texture filenames also.
2015-01-25 15:07:07 -05:00
ec4f2237f3
Drop item when inventory is full (bushes_classic)
2015-01-25 10:18:56 +01:00
ecf175fb9c
cleaned the code of bushes_classic into conventionnal LUA style, for readability
2015-01-25 10:00:42 +01:00
3eaf687da4
OPTIMIZE _ALL_ THE TEXTURES! \:D/
2015-01-23 14:08:08 -05:00
06231ea950
fix bushes to regrow berries on any materials, constrain them to soils and potting soils
2015-01-21 04:36:17 +01:00
43710737df
fix collision boxes on stones/pebbles
2015-01-17 10:46:22 -05:00
cbaab08119
use mesh node for cavestuff pebbles
2015-01-17 00:14:32 -05:00
56177e5142
use current intllib API
2014-12-27 01:20:51 -05:00