1
0
Fork 0
Commit Graph

149 Commits

Author SHA1 Message Date
FossFanatic 54548ecfdf Merge branch 'master' into simplified_palette_index 2022-12-29 14:51:17 +00:00
FossFanatic 18e932997d Rename _mcl_palette_index to _mcl_grass_palette_index 2022-12-28 19:31:11 +00:00
Gregor Parzefall 8522b87444 Removed two duplicated sound definitions 2022-12-20 21:08:59 +01:00
kabou adcf03e0c6 Refactor leaf decay ABM.
* The leaf decay ABM no longer scans all leaves nodes.  Now only
  "orphaned" leaves are decayed.  These nodes are placed by callbacks
  in tree trunk nodes upon their destruction.
* This commit also removes the tree trunk node caching system and an
  abm throttling mechanism and its associated globalstep function.
2022-12-15 22:42:08 +00:00
cora 48d6a2fd72 Add some ABM limits for lava ABMs 2022-11-03 14:11:03 +01:00
cora 8e41d5a1f4 Fix propagule growth 2022-08-02 12:02:20 +02:00
Sumyjkl 5fc662664f cactus will act as if dug instead of its own hardcoded breaking function 2022-07-24 15:59:00 +10:00
cora da4aa9bc35 improve crying obsidian visuals 2022-07-18 22:21:58 +02:00
cora efad7dad24 clean up 2022-07-05 11:19:47 +02:00
cora 27a945b8f3 Tweak crying obsidian particles 2022-07-05 11:19:47 +02:00
cora 78e187537f Add crying obsidian particle effect 2022-06-30 01:43:49 +02:00
cora a83a2e9aba generate podzol under huge spruce trees 2022-04-21 22:25:47 +00:00
kabou 3f4dafc68f Add check for unknown nodes.
* Check if node has a definition table before attempting to evaluate its
  attributes.
* Define local variable to cache multiple accesses to `registered_nodes[]`
  and improve readability.
2022-03-09 14:14:45 +01:00
Lizzy Fleckenstein 970988cb39
Add sugar cane colorisation 2021-11-03 19:58:50 +01:00
NO11 bf62eb33fa Change label of cactus abm 2021-09-03 14:06:21 +00:00
NO11 0da7b3fbda Make cactus mechanisms more MC like (Fix #1741) 2021-09-02 20:38:01 +00:00
NO11 549bdeb6e9 Remove object:is_player 2021-07-12 21:41:57 +00:00
AFCMS e81da3c4ff fix some mods using "core" insteed of "minetest" 2021-06-12 00:18:52 +02:00
AFCMS cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
NO11 bb77443892 [mcl_core] fix function codestyle in functions.lua 2021-05-26 17:43:42 +00:00
AFCMS 402a1d0088 [mcl_core] fix last warning 2021-05-23 00:13:27 +02:00
AFCMS b8488ce55e [mcl_core] fix missing warnings 2021-05-23 00:12:54 +02:00
NO11 a8760c0375 Reduce the radius in which a cactus destroys items 2021-04-15 12:23:08 +00:00
NO11 bbffda3635 Make cactus destroy items 2021-04-15 11:21:15 +00:00
AFCMS 8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
kay27 b0f151147c Fix the trees, Wuzzy/MineClone2#1031 2021-01-30 05:23:34 +04:00
kay27 948265fd6b Fix Wuzzy/MineClone2#1028 - Make tree saplings grow in inactive areas (approx. time calc.) 2021-01-30 04:42:53 +04:00
Lizzy Fleckenstein 96ca23419a Fix #944 2021-01-05 15:40:03 +01:00
Lizzy Fleckenstein 14551edcd2 Remove debugging message from last commit 2021-01-05 15:23:42 +01:00
Lizzy Fleckenstein f253d49a8d Fix #901 2021-01-05 15:19:31 +01:00
Lizzy 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