Elias Åström
34274486c7
Add griefing option to mcl_explosions.explode
...
When set to false explosions will only affect entities and not destroy
nodes.
2021-01-26 17:04:22 +01:00
Elias Åström
e3d2284485
Refactor some stuff in mcl_explosions
2021-01-26 17:04:22 +01:00
Elias Åström
4a07b0607f
Improve API of mcl_explosions.explode
...
Replace the 'no_sound' and 'no_particle' options in the 'info' parameter
with 'sound' and 'particles'. But also has backwards compatability for
the old parameter names.
2021-01-26 17:04:22 +01:00
Elias Åström
c907df9669
Tiny code style cleanup in mcl_explosions
2021-01-26 17:04:22 +01:00
kay27
1a2c500873
Restore missing 'died formspec' after player exploded being in the bed
2021-01-20 01:46:52 +04:00
Elias Fleckenstein
034174390d
Fix #801
2021-01-06 12:48:39 +01:00
kay27
5da02bb8cc
Merge https://git.minetest.land/EliasFleckenstein03/MineClone2
2020-12-13 03:00:04 +04:00
Laurent Rocher
af26f18bd6
Complete French Translation
2020-11-18 23:06:47 +01:00
Elias Fleckenstein
a3cf6b0e5d
Blast Protection; Fire Protection; Projectile Protection; Feather Falling; Thorns
2020-11-13 12:21:36 +01:00
Wuzzy
731f42ac88
Rename and move texture: tnt_smoke
2020-08-19 18:47:58 +02:00
kay27
9537eaead0
Protect from explosions
2020-08-10 22:04:27 +04:00
kay27
ba51686e6c
Russian translation
2020-07-20 00:11:13 +00:00
Elias Åström
ea1ad14f72
Fix sound/particle bug in mcl_explosions
2020-07-17 00:39:33 +02:00
Wuzzy
c106a62979
Use minetest.is_creative_enabled
2020-07-10 16:45:40 +02:00
Wuzzy
8ecc96fff2
Fix crash when spawning firey explosion
2020-06-12 12:30:45 +02:00
Wuzzy
6f12adcb03
Fix broken blast handling for chest/shulkerbox
2020-06-06 16:57:19 +02:00
Wuzzy
2d6e0a99af
Check more nodes for falling after explosion
2020-06-04 23:43:17 +02:00
Wuzzy
546ee09e6f
Check for falling after explosion
2020-06-04 14:17:04 +02:00
Wuzzy
2f9e5d302e
Fix explosion API not calling on_[con|de]struct
2020-06-04 14:02:18 +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
Alexander Minges
ad70a71f8c
Fix crash when triggering explosion (type check error)
2020-05-08 17:31:41 +02:00
Wuzzy
bc740efafe
Add fire explosions
2020-05-02 19:05:56 +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
Elias Åström
a10dff8421
Use walkable for entity exposure
...
This makes TNT do full damage under water.
2020-04-19 13:08:36 +02:00
Elias Åström
a62a75c799
Do not drop items in creative mode
...
It works like this in Minecraft. This will also reduce lag when playing
with TNT in creative.
2020-04-19 13:08:36 +02:00
Elias Åström
b4ea2afe77
Add tnt_knockback flag for entities
...
When set to true, entities will be knocked back when affected by TNT
explosions. Also ignore '__builtin:item' entities to reduce lag, and
replace tabs with spaces in 'mcl_explosions/init.lua'.
2020-04-19 13:08:36 +02:00
Elias Åström
92ab90fd1b
Add knockback for 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
Elias Åström
77c95fe8c3
Add particles and sounds from explosions
2020-04-19 13:08:36 +02:00
Elias Åström
1d5c11f683
Add mcl_explosions for ray traced explosions
...
Code has been adapted from the Minetest explosions API mod to have
Minecraft-like explosion mechanics and work with MineClone 2.
2020-04-17 20:47:12 +02:00