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
Tim
06231ea950
fix bushes to regrow berries on any materials, constrain them to soils and potting soils
2015-01-21 04:36:17 +01:00
Vanessa Ezekowitz
43710737df
fix collision boxes on stones/pebbles
2015-01-17 10:46:22 -05:00
Vanessa Ezekowitz
cbaab08119
use mesh node for cavestuff pebbles
2015-01-17 00:14:32 -05:00
Vanessa Ezekowitz
56177e5142
use current intllib API
2014-12-27 01:20:51 -05:00
Vanessa Ezekowitz
3472d32f2b
make vines ONLY grow on jungle trees
2014-12-22 15:25:58 -05:00
Vanessa Ezekowitz
f7784aa9db
add cleanup ABM: if vines lack a tree to hang from, they are deleted.
2014-12-22 14:38:58 -05:00
Vanessa Ezekowitz
d001b23396
make vines growth and rotting ABMs configurable
2014-12-22 13:51:42 -05:00
Vanessa Ezekowitz
5e8d4084ea
make all vines buildable_to
2014-12-22 13:48:26 -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
a0b942a7da
make farming dep optional
2014-12-03 10:12:14 -05:00
Vanessa Ezekowitz
ba7171e9a4
remove debug statements
2014-11-25 00:24:09 -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
Vanessa Ezekowitz
be147c83a3
use proper mesh model instead of embedding a node def into
...
water reedmace entity texture (the latter was used to get plantlike look,
now using a mesh model for same).
2014-11-24 23:34:35 -05:00
Vanessa Ezekowitz
d6e9d0a46e
local-ize a couple more variables
2014-11-20 11:48:57 -05:00
Vanessa Ezekowitz
500062ce12
initialize bush_branch_type to 2
...
(it needs to be *something* at least)
2014-11-20 11:18:53 -05:00
Vanessa Ezekowitz
86abe21185
local-ize walldir in vines mod
2014-11-20 11:17:10 -05:00
Vanessa Ezekowitz
f30cc04a78
copy&paste error
...
spawn_plants -> biome.spawn_plants
(only affects legacy string-named function based spawners)
2014-11-20 11:14:20 -05:00
neko259
b16a5f0a68
Refactored nature classic global functions
2014-10-31 22:09:32 +02:00
Vanessa Ezekowitz
7a513e85b1
stop nil crash
2014-10-20 16:17:02 -04:00
Vanessa Ezekowitz
4f3495a9e4
fix error in API
...
(groups are not allowed in avoid_nodes in register_generate_plant)
2014-10-16 17:11:35 -04:00
Vanessa Ezekowitz
42d858c752
turn debug off
2014-10-01 06:55:30 -04:00
Zeno-
2e82a976ba
Fix some nodes not spawning (e.g. wood soils)
2014-09-27 12:55:52 -04:00
Vanessa Ezekowitz
f270890a5d
fix incorrect filtering-out of group: in surface registration.
2014-09-27 00:33:11 -04:00
Vanessa Ezekowitz
1f6695189b
turn debug on, get rid of a redundant variable
2014-09-26 23:26:18 -04:00
Vanessa Ezekowitz
077c985388
record chunk generate events, but populate the results gradually during
...
globalstep rather than on-generate
without-air-checking code does not work correctly yet.
2014-09-24 08:15:48 -04:00