1
0
Fork 0
Commit Graph

125 Commits (3addd4ebb1142a76e0a7fb985f5faceedcb56653)

Author SHA1 Message Date
AFCMS 8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
kay27 b0f151147c Fix the trees, https://git.minetest.land/Wuzzy/MineClone2/issues/1031 2021-01-30 05:23:34 +04:00
kay27 948265fd6b Fix https://git.minetest.land/Wuzzy/MineClone2/issues/1028 - Make tree saplings grow in inactive areas (approx. time calc.) 2021-01-30 04:42:53 +04:00
Elias Fleckenstein 96ca23419a Fix #944 2021-01-05 15:40:03 +01:00
Elias Fleckenstein 14551edcd2 Remove debugging message from last commit 2021-01-05 15:23:42 +01:00
Elias Fleckenstein f253d49a8d Fix #901 2021-01-05 15:19:31 +01:00
Elias Fleckenstein abdb76c2a0 Fix #942 2021-01-04 10:09:44 +01:00
Wuzzy d60a0a0949 Fix ice melt not cause surrounding nodes to update 2020-12-03 12:36:58 +01:00
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