Commit graph

4563 commits

Author SHA1 Message Date
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
547080bd98 Add a delay before mobs start to suffocate 2020-05-13 22:15:46 +02:00
MysticTempest
a20637f68c Fix redstone dust climbing up doors, and fix redstone dust not turning off when redstone torch is destroyed through the destruction of an attached block 2020-05-13 21:11:17 +02:00
Wuzzy
1a0e979b0c Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
Wuzzy
b512e16a7b Version 0.65.2 2020-05-10 14:55:46 +02:00
Wuzzy
26b5b45595 Fix crash when creeper explodes 2020-05-10 14:54:43 +02:00
Wuzzy
b8bd154378 Add translator into credits 2020-05-09 19:06:31 +02:00
Wuzzy
c156398fb5 Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
Wuzzy
728db50baf Fire doesn't destroy flammable=-1 nodes 2020-05-09 18:55:50 +02:00
Wuzzy
621946546b Ignite TNT by fire 2020-05-09 18:52:03 +02:00
Wuzzy
ffcad31871 Update falling nodes when fire replaces a block 2020-05-09 17:53:32 +02:00
Wuzzy
bfb1e3e447 Add age to of fire to greatly limit fire spread 2020-05-09 17:44:23 +02:00
Wuzzy
d13498e6f9 Rain now also extinguishes neighbor tiles 2020-05-09 16:03:07 +02:00
Wuzzy
0c96e512d7 Remove bogus saddle recipe 2020-05-09 00:40:54 +02:00
Wuzzy
555d21263d Version 0.65.1 2020-05-08 18:06:08 +02:00
Wuzzy
5108f398bb Fix all explosions spawning fire 2020-05-08 18:04:04 +02:00
Wuzzy
2ec66fc61b Fix leaking global in mcl_explosions 2020-05-08 18:01:33 +02:00
Wuzzy
6df30dc0dc Version 0.65.0 2020-05-08 17:59:04 +02:00
Wuzzy
c3578e283c Credit yutyo for logo contribution 2020-05-08 17:56:25 +02:00
yutyo
58013872c2 New MineClone 2 logo 2020-05-08 17:56:10 +02:00
Wuzzy
aeb7a6cb8b Disable guardian spawning 2020-05-08 17:44:27 +02:00
Wuzzy
131051b1df Fix code typo in mcl_playerplus 2020-05-08 17:41:09 +02:00
Alexander Minges
ad70a71f8c Fix crash when triggering explosion (type check error) 2020-05-08 17:31:41 +02:00
Wuzzy
fb55d33bfe Fix villager crash when trading w/o inited inv 2020-05-08 17:27:22 +02:00
Wuzzy
94c4256451 Fix crash when standing on unknown node 2020-05-08 17:23:39 +02:00
Rocher Laurent
e058ee8487 Fix some template.txt 2020-05-05 21:02:48 +02:00
Rocher Laurent
c9a37d0dbc Translate In French 2020-05-05 21:02:21 +02:00
Wuzzy
8c20dfa5d2 I no longer accept PRs 2020-05-05 02:23:17 +02:00
Wuzzy
2b4a4f8c60 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-05-05 02:11:52 +02:00
Wuzzy
b59f0d6c6e Merge pull request 'Prevent water mobs to classify solid blocks below them or the medium they are supposed to be in as dangerous' (#685) from Athemis/MineClone2:fix-mobs-dangerous-nodes into master 2020-05-05 00:10:53 +00:00
Rocher Laurent
4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Alexander Minges
beace10136 prevent water mobs to classify solid blocks below them as dangerous 2020-05-03 17:43:44 +02:00
Wuzzy
02b2ff7460 Fix mcl_weather crash 2020-05-02 19:08:55 +02:00
Wuzzy
bc740efafe Add fire explosions 2020-05-02 19:05:56 +02:00
Wuzzy
00acbf8a2a Remove unused TNT functions 2020-05-02 18:51:59 +02:00
Wuzzy
56d484f69b Make mobs and bed use mcl_explosions 2020-05-02 18:50:25 +02:00
Wuzzy
6a576c50a0 Add puncher to tnt_explosions 2020-05-02 18:24:53 +02:00
Wuzzy
d4bc7a2f88 Add back the explosion death msg 2020-05-02 18:09:25 +02:00
Wuzzy
7fa8828bd5 Explosions: Use minetest.get_position_from_hash 2020-04-30 21:13:10 +02:00
Wuzzy
026d406d4b Fix indents in mcl_explosions 2020-04-30 21:12:30 +02:00
Wuzzy
679e2b1b70 Explosions: Reduce repeated code 2020-04-30 21:08:42 +02:00
Wuzzy
772ea01aff Explosions: Fix syntax error 2020-04-30 21:00:13 +02:00
Wuzzy
2b5ddbd62d Explosions: Change item drop handler 2020-04-30 20:58:58 +02:00
Wuzzy
9ee0ef5a8d Explosions: Replace some API calls 2020-04-30 20:57:38 +02:00
Wuzzy
58458b2bca mcl_explosions: Rename description.txt 2020-04-30 20:55:49 +02:00
Wuzzy
3087621b11 Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
Wuzzy
8dd1cf6719 Update Contributing guidelines 2020-04-30 18:25:23 +02:00
Wuzzy
ef20ac54c3 Fix crash when fueling furnace minecart 2020-04-30 18:13:05 +02:00
Wuzzy
eea07f0ce7 Fix incomplete dry grass replacement LBM 2020-04-27 14:05:09 +02:00
Wuzzy
c81a18ac1a Refactor mcl_void_damage 2020-04-22 01:38:41 +02:00