Commit Graph

385 Commits

Author SHA1 Message Date
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
Vanessa Ezekowitz
c1f7fb784b functionalize the filter code
so that both types of mapgen routines can use the same subroutines.
less code duplication that way.
2014-09-24 03:31:24 -04:00
Vanessa Ezekowitz
9bd5249c2d import bas080's vines-and-rope mod 2014-09-10 17:26:35 -04:00
Vanessa Ezekowitz
2bab75fa9e stop crash from not-registered node being called for in trunks mod 2014-09-06 13:06:24 -04:00
Vanessa Ezekowitz
6fd0df8b54 correct brain-o in the API humidity values 2014-08-24 00:35:09 -04: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