Commit graph

63 commits

Author SHA1 Message Date
teknomunk
44769c24c5 Move arrow-node logic out of mcl_bows/arrow.lua and into the node definitions under _vl_projectile.on_collide 2024-11-12 01:00:42 +01:00
WillConker
293eb6d021 Stop tnt colliding with entities (#4476)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4476
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: WillConker <waj01@joanes.net>
Co-committed-by: WillConker <waj01@joanes.net>
2024-08-18 05:40:25 +02:00
FossFanatic
6304502173 Rename some things
This commit renames `tnt_griefing` to `explosions_griefing` to better reflect what this setting now does.
2023-03-09 12:52:22 -06:00
AFCMS
029769f48f Fixes to mcl_tnt
- reorder code
- fix potential crashes with not handeled nil values
- use new vectors
2022-11-19 01:27:32 +01:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS
1b3763654e comment unused local function 2021-05-22 20:00:59 +02:00
AFCMS
a602f64ea5 fix many warnings 2021-04-15 23:41:34 +02:00
Elias Åström
1b9857219d Lower drop rate of TNT to 25 %
So it becomes consistent with Minecraft 1.12.
2021-03-01 16:08:52 +01:00
Wuzzy
731f42ac88 Rename and move texture: tnt_smoke 2020-08-19 18:47:58 +02:00
Elias Åström
455f490b4e Remove TNT node when it is ignited by an explosion
After 6f12adcb TNT nodes would not be removed when ignited by
explosions, this fixes that.
2020-06-07 20:44:17 +02:00
Wuzzy
621946546b Ignite TNT by fire 2020-05-09 18:52:03 +02:00
Wuzzy
00acbf8a2a Remove unused TNT functions 2020-05-02 18:51:59 +02:00
Wuzzy
6a576c50a0 Add puncher to tnt_explosions 2020-05-02 18:24:53 +02:00
Elias Åström
64c767ad8c Make TNT behave like Minecraft
TNT entities are now knocked back by explosions.  When a TNT block
becomes triggered by an explosion, its fuse time is set to a random
value between 0.5 and 1.5 seconds.
2020-04-19 13:08:36 +02:00
Elias Åström
fd05259202 Make TNT and TNT Minecart use the explosions API
The old api from mcl_tnt is still left in the code, and used by the
mobs.
2020-04-19 13:08:36 +02:00
Elias Åström
ca7c8c23c7 Add entity damage and player knockback
Could not find a way to add knockback to entities.  After adding a
velocity to them they will just slide around indefinitely.  Because of
this, knockback is only enabled on players for now.
2020-04-19 13:08:36 +02:00
Wuzzy
8664a5c484 Make mobs vulnerable to TNT explosions 2020-04-08 12:41:52 +02:00
Wuzzy
c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy
feba60cad8 Translate all extended tooltips to German 2020-03-12 01:35:11 +01:00
Wuzzy
ba74546d48 Add extended tooltips 2020-02-19 04:54:17 +01:00
Wuzzy
81ca7469d7 TNT explosions deal punch damage 2020-02-17 17:44:38 +01:00
Wuzzy
f4a06d6217 Remove TNT node after explode 2020-02-05 12:45:29 +01:00
Wuzzy
bed0849bb0 Add setting: mcl_tnt_griefing 2020-02-05 03:11:32 +01:00
Wuzzy
9dc9c12f29 Implement TNT minecart 2020-01-30 22:05:18 +01:00
Wuzzy
a1ab325920 Add on_blast support 2019-12-09 21:06:08 +01:00
Wuzzy
49f447ba64 Fix missing depends in mcl_tnt 2019-03-17 09:33:44 +01:00
Wuzzy
9385458632 German translation: mcl_signs to xpanes 2019-03-16 00:07:44 +01:00
Wuzzy
f7d9aea529 Make blazes glow in the dark 2019-03-08 03:40:46 +01:00
Wuzzy
f9b557c2ba New translation system, part 9: Items, part 5 2019-03-08 00:46:35 +01:00
Wuzzy
2f74aea6f5 Replace deprecated functions 2019-03-06 04:38:57 +01:00
Wuzzy
7851cee45e Fix exhauston for attacking and taking dmg 2019-02-28 16:43:52 +01:00
Wuzzy
aa3739528b Fix weird arguments given to is_protected 2019-02-11 21:27:17 +01:00
Wuzzy
e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Yukitty
d73651424c Updated TNT fuse particles.
Fixed quirky integer math.random which was clearly intended to be floating point.
2018-03-12 00:05:43 +01:00
Wuzzy
fa10dc93ae Add _on_dispense callback for dispenser; refactor 2018-02-01 22:49:41 +01:00
Wuzzy
ed5c2c2019 Tweak initial speed of TNT entitiy 2018-01-25 16:23:54 +01:00
Wuzzy
70198eb50b Allow to light Nether portal with any fire 2017-09-19 15:45:23 +02:00
Wuzzy
a34405b17b Adjust redstone rules of most redstone components 2017-09-14 02:21:46 +02:00
Wuzzy
4f03f1c516 Merge branch 'biomes' 2017-08-21 03:43:07 +02:00
Wuzzy
e2442a6283 Replace deprecated get_entity_name 2017-08-18 22:44:36 +02:00
Wuzzy
817c52f92f Fix bugs in flint and ssteel and ender eye 2017-08-17 04:12:34 +02:00
Wuzzy
6fa426741e Fix and weaken the broken mcl_tnt dependencies
Had possible crash because of missing mcl_death_messages dep.
2017-08-09 13:38:47 +02:00
Wuzzy
0f70bd740d Simplify TNT explosion check 2017-08-05 00:58:01 +02:00
Wuzzy
a922dc6cc6 TNT doesn't destroy blocks if exploding in lava 2017-08-05 00:55:38 +02:00
Wuzzy
096744dc6c Fix crash when blowing up TNT 2017-07-31 02:06:00 +02:00
Wuzzy
388b324fb1 Support mob explosions again 2017-07-25 04:44:46 +02:00
Wuzzy
88263e357a Increase damage caused by TNT 2017-07-24 21:08:21 +02:00
Wuzzy
95e8f80f2c Add more death messages 2017-07-24 19:36:04 +02:00
Wuzzy
ca01259b59 Set list of nodes which can be taken by endermen 2017-07-05 20:14:37 +02:00
Wuzzy
6fb818d7bf Don't crash if TNT wants to blow up unknown node 2017-06-30 21:31:09 +02:00