1
0
Fork 0
Commit Graph

117 Commits (132db020114e41940677aa38bbad83ca7c32bbe4)

Author SHA1 Message Date
Wuzzy f91ae540c2 Add leafdecay and anvil damage particles 2020-08-19 13:22:40 +02:00
Wuzzy a08152d8fb Localize some variables in mcl_core 2020-06-03 20:19:27 +02:00
Elias Åström 2e79f1f0ed Check if there is room for tree to grow
Previously tree saplings would grow regardless of the blocks above it.
This could be abused to destroy bedrock and other nodes.

To solve this, checks are added for nodes around the trees.  The volume
checked depends on the tree type.  The volume for each tree has been set
so reject trees where branches would grow into other nodes.  Some nodes
types like torches, plants and wood are ignored in the checks.

Saplings in a 2x2 formation will grow into normal trees if there is no
room for a huge tree.  Oak trees has separate checks for balloon oak
trees and normal oak trees, if there is no room for a balloon oak, it
becomes a normal oak tree.
2020-05-23 19:37:02 +02:00
Wuzzy eea07f0ce7 Fix incomplete dry grass replacement LBM 2020-04-27 14:05:09 +02:00
Wuzzy c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy a5b4a261dc Dry grass replacement: Use fallback param2 2019-12-16 23:59:49 +01:00
Wuzzy aaedf6517a Update grass block param2 when placing snow nodes 2019-12-14 01:52:01 +01:00
Wuzzy 5f2cc506f0 Fix broken legacy dry grass LBM 2019-12-14 01:41:49 +01:00
Wuzzy 40453d597b Add LBM to kill old drygrass nodes 2019-12-14 00:03:43 +01:00
Wuzzy 3e3ed630e5 Add per-biome grass coloring 2019-12-13 23:48:13 +01:00
Wuzzy 6002cd0af5 Fix tallgrass, fern, bonemeal for new grass color 2019-12-13 15:32:57 +01:00
Wuzzy 9c55b6c9c9 Update grass color after placing grass block 2019-12-13 14:18:35 +01:00
Wuzzy 325801efd7 First step towards param2-based grass color 2019-12-13 14:03:12 +01:00
Wuzzy 748b5d4a4b Localize a variable 2019-09-19 00:35:28 +02:00
Wuzzy 6e9d712c5e Fix ice not melting properly by non-Sun light 2019-06-02 10:12:36 +02:00
Wuzzy 435ae85d68 Fix grass block crash in v6 2019-03-25 09:38:39 +01:00
Wuzzy 1b7c41fc81 Grass block: Change grass color depending on biome 2019-03-25 09:25:52 +01:00
Wuzzy 9e57828958 Add tileable_vertical to covered dirt nodes 2019-02-09 21:28:53 +01:00
Wuzzy 626f7f6e97 Delete senseless argument in minetest.remove_node 2019-01-31 05:32:10 +01:00
Wuzzy b992100106 More variations of mega spruces and large oaks 2018-05-13 18:03:57 +02:00
Wuzzy 16bb9b8901 Localize various unneeded global variables 2018-01-26 22:37:42 +01:00
Wuzzy 647524f503 Rework the overly weird vine growth algorithm 2018-01-23 06:40:07 +01:00
Wuzzy 064858ff59 “Still <Liquid>” → “<Liquid> Source” 2018-01-23 04:12:44 +01:00
Wuzzy fc0516cb71 Melt ice and top snow @ light >= 12 2018-01-07 21:01:34 +01:00
Wuzzy f5de6db4aa Add grass path and farmland to creative inventory 2017-11-23 00:32:51 +01:00
Wuzzy 8db574d30e Clean up grass block group stuff 2017-11-15 20:27:29 +01:00
Wuzzy 72f5591400 Add dry-colored grass/fern variants 2017-11-14 23:44:53 +01:00
Wuzzy d66de5adfb Reduce frequency of vines ABM to reduce load 2017-11-02 23:52:09 +01:00
Wuzzy 1e2343d649 Make floating vines decay
Also destroy them immediately with leafdecay and when try try to grow but notice they have been floating the whole time.
2017-11-02 23:21:04 +01:00
Wuzzy 427eb32448 Add a second huge jungle tree schematic, tweak the 1st one 2017-09-12 05:35:02 +02:00
Wuzzy f64423e983 Redo acacia schematics completely 2017-09-09 08:06:02 +02:00
Wuzzy 01f5cc7515 Add mega spruces to sapling growth 2017-09-09 05:35:32 +02:00
Wuzzy 3db3193494 Disable grass spread functions for snowed dirtlike 2017-09-08 00:13:20 +02:00
Wuzzy 5c906f4af6 Update sounds of snowed dirtlike blocks 2017-09-07 06:57:55 +02:00
Wuzzy 661b586a64 Refactor snow cover code 2017-09-06 19:46:51 +02:00
Wuzzy 9fb148f8bf Make grass block and friends snowed if placed below snow cover 2017-09-06 19:33:39 +02:00
Wuzzy 576af661b1 Refactor code of snowed nodes 2017-09-06 19:19:25 +02:00
Wuzzy a31da5efd5 Don't call minetest.add_item for empty itemstring 2017-09-05 15:15:00 +02:00
Wuzzy d8f3a5ee7f Add large oak trees 2017-09-05 08:18:00 +02:00
Wuzzy 594aebfa45 Add new spruce schematics 2017-09-05 03:51:13 +02:00
Wuzzy c315973648 Add a 3rd huge spruce tree variant 2017-08-31 22:36:02 +02:00
Wuzzy 7a47e0dd6d Remove 2 deprecated vm:update_map functions 2017-08-31 22:34:01 +02:00
Wuzzy 8ee837d158 Make huge spruce trees growable by sapling 2017-08-31 22:16:08 +02:00
Wuzzy 52648bcc16 Add small balloon oak (oak variant)
For ca. every 12 oaks, there is 1 small ballon oak.
2017-08-31 18:33:49 +02:00
Wuzzy a4363b975d Change jungle tree schematic, update jungle biome 2017-08-31 18:04:40 +02:00
Wuzzy 0a957ee2ef New oak and birch tree schematics
Also fix broken glacier biome
2017-08-31 04:56:09 +02:00
Wuzzy b9a5843ec7 Implement proper 2×2 sapling check 2017-08-31 02:44:03 +02:00
Wuzzy 4f20ab1950 Simplify leafdecay stuff, add leafdecay factoid 2017-08-31 02:06:35 +02:00
Wuzzy 65ec2c9b54 Add simple 2×2 sapling check
Still not fully complete
2017-08-31 01:53:25 +02:00
Wuzzy 47161169a6 Refactor tree growing code 2017-08-30 23:23:15 +02:00