Commit Graph

95 Commits

Author SHA1 Message Date
Muhammad Rifqi Priyo Susanto
3d1444b6f8 Add Indonesian translations (#2693) 2020-06-29 18:41:50 +02:00
tenplus1
d7cbf76a0a TNT centre node adheres to protection
Make sure tnt.boom() doesnt replace centre node when explode_centre is true and ignore_protection is false.

Fixes: https://github.com/minetest/minetest_game/issues/2663
2020-06-28 15:50:46 +02:00
sfan5
7963340553 Use node particles for TNT explosions (#2695) 2020-06-02 12:48:56 +02:00
sfan5
52ece86a66 Switch TNT explosions to use add_player_velocity (#2674) 2020-05-10 14:10:29 +02:00
sfan5
b6f17ce9ce Fix crash on TNT explosions if tnt is disabled 2020-04-08 17:24:10 +02:00
sfan5
329b088d1c Fix TNT mod crash when entities disappear during explosion (#2616) 2020-03-06 21:51:19 +01:00
IFRFSX
0c4c6d79c3 Update Chinese Translation, Add Traditional Chinese Translation (#2596) 2020-03-02 21:53:12 +01:00
sfan5
b008c3d819 Convert minetest.sound_play uses to ephemeral 2020-02-05 22:24:23 +01:00
Zaoqi
95ebd6ab85 Add zh_CN translation 2020-01-22 19:09:38 +01:00
Muhammad Nur Hidayat Yasuyoshi (MNH48)
aa71d13511 Add Malay translation 2019-11-30 17:31:40 +01:00
Aresiel
8e3fc0a7ed Add Swedish translation 2019-11-30 17:31:29 +01:00
Andrey2470T
bda65b0c4b Add Russian translation (#2525) 2019-10-24 21:54:20 +02:00
Hamlet
16e11918c5 Italian translation (#2491) 2019-10-12 14:30:37 +02:00
JDiaz
9f16221ded Spanish Translation (#2505) 2019-10-10 21:19:20 +02:00
DrHackberry
5296521b7f French translation (#2514) 2019-10-10 21:18:25 +02:00
Wuzzy
8adeea2fb3 Add translation templates and German translation 2019-09-22 13:42:40 +02:00
Yves Quemener
e151d018b9 Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
2019-09-10 19:09:51 +02:00
TumeniNodes
8b3307cc70 Add new TNT sounds 2019-08-28 03:06:23 +01:00
Paramat
351a70b530 TNT: Remove unusable sounds, use temporary placeholders 2019-08-18 19:47:06 +01:00
sfan5
eae0d158d7 Switch to mod.conf, delete deprecated depends.txt 2019-07-17 00:38:23 +02:00
SmallJoker
3020f6a241 Replace deprecated function calls 2018-07-01 20:44:03 +01:00
Paramat
2fb332ea52 TNT: Raise cost of TNT by adding a TNT stick crafting stage
6 gunpowder and 1 paper crafts to 2 TNT stick craftitems.
9 TNT sticks craft to 1 TNT.
TNT stick is not yet usable as an explosive, possibly later.
2018-06-01 23:41:45 +01:00
sofar
ee57c08a45 Prevent divide by zero (#2106)
This forces all explosions to damage entities within the 1 node
range. If that needs to be disabled, the damage_radius needs to
be set to 0.
2018-04-08 17:57:00 +01:00
tenplus1
840ce2d9d8 TNT: Add tnt.boom defaults
This adds def, def.radius and def.damage_radius defaults to the
tnt.boom() function if they aren't specified on call.
2017-10-10 22:55:49 +01:00
tenplus1
efa74441e3 TNT: Add explode_center flag
Add 'explode_centre' flag which when false explodes as normal and when true runs on_blast on centre node as well as dropping items.
2017-08-26 22:14:44 +01:00
tenplus1
b4168ffda4 TNT: Allow a custom explosion sound to be used 2017-08-18 18:41:15 +01:00
tenplus1
ab89213fe0 TNT's tnt:boom cleanup (#1868)
The tnt:boom node doesn't actually need the on_construct and on_timer functions to remove the node after 0.4 seconds as the tnt_explode function already does this beforehand.
2017-08-13 13:46:30 +02:00
SmallJoker
846e22a06b TNT: Only burn visually connected powder (#1857) 2017-07-29 18:09:15 +02:00
Foz
d035601c36 TNT: Track TNT owner in metadata for protection mods
It is useful for protection mods to know who owns an exploding
TNT block. This allows the blocks destroyed by the TNT to be
limited to the same ones the owner could destroy without using
TNT.

TNT placed within a protected area by the area owner, and later
ignited by another player will destroy within the protected area
nodes the igniter may not otherwise be able to interact with. Any
player could significantly increase the size of an explosion by
placing more TNT in an adjacent unprotected area if the original
TNT block was placed withing 1 node of such a boundary. This
feature sounds dangerous, but we are talking about TNT. Players
should use it carefully.
2017-07-02 11:30:39 +01:00
paramat
b0d3bf0ecd Settings: Use new settings object 2017-05-24 07:18:26 +01:00
Fernando Carmona Varo
1f1a1e81dd TNT: Gunpowder (and tnt.burn) will trigger the on_ignite of nodes
The previous behaviour is kept as fallback for compatibility, for when the on_ignite
is not defined in the node.
2017-05-01 19:38:38 +01:00
Fixer
98c4fc4738 TNT: Clarify new TNT receipe
Update readme.txt with new TNT crafting recipe.
2017-03-14 19:05:49 +00:00
Auke Kok
02ddade1ae TNT: start fire nodetimers for created fire nodes.
Without this patch, any fire created(placed) by tnt explosions
will remain forever on the map.
2017-03-14 19:03:34 +00:00
Diego Martínez
3fc49d574b Fix some warnings.
Also fixes the failing travis checks.
2017-03-05 09:27:53 +00:00
Auke Kok
66fae9316f TNT: Log explosions and player igniting tnt or gunpowder 2017-01-19 21:57:34 -08:00
DS-Minetest
472a5a6bde Decrease the cost of gunpowder for trails
The cost of TNT remains the same
2017-01-01 23:41:04 +00:00
paramat
219c5324bf Update 'nodeupdate()' to 'check_for_falling()' API 2016-11-22 05:55:36 +00:00
Fernando Carmona Varo
3601aac35c Fire / tnt: Make flint-and-steel use node on_ignite functions
Add on_ignite functions to tnt, gunpowder, coalblock.
2016-11-07 14:10:00 +00:00
Fernando Carmona Varo
6464db97e7 Tnt: Flammable TNT and gunpowder that activates when burnt
Some code simplifications.
2016-11-02 12:41:14 +00:00
tenplus1
0ba6681df5 Tnt: Various optimisations
Pass nodename to tnt.burn function where possible to reduce
use of 'get_node'.
Change 'ipairs' to 'pairs'.
Use 'nodeupdate_single(pos)' instead of 'nodeupdate(pos)' to
avoid every node triggering recursion, the loop itself takes
the place of recursion and works upwards through horizontal
planes as required.
2016-10-10 03:16:41 +01:00
paramat
57c7a4d43f Change WTFPL to MIT (part 3)
Relicense WTFPL media to CC BY-SA 3.0.
Various corrections and edits.
2016-09-07 04:44:53 +01:00
paramat
f3e97b9514 Licenses: Change WTFPL to MIT (part 2)
Add license.txt files.
Update and improve README.txt files.
Corrections to part 1.
2016-09-06 04:45:23 +01:00
paramat
da54f56951 Licenses: Change WTFPL to MIT (part 1)
Part 1: All mods except default and xpanes.
Add license.txt files.
Add missing README.txt files.
Check and update copyright years for all contributors.
Improve text format and make more consistent.
2016-09-05 05:54:33 +01:00
tenplus1
4294c6e8ac Add labels to ABMs
Useful for searches and the mod profiler.
2016-08-09 03:56:37 +01:00
tenplus1
520470275f Tnt: Limit blown up dropped stacks to stack_max
This replaces the hardcoded 99 item limit and instead uses the
get_stack_max() limit for each item.
2016-08-09 03:48:01 +01:00
tenplus1
054c814af8 TNT: Fix bug with huge stacks
This fixes the TNT bug that can crash game when blowing up a container
which holds huge stacks above the norm... e.g. give yourself 65535 snow,
place in chest, blow up, stalled!
2016-08-04 03:21:55 +01:00
Tim
d4f4156cbe Stop shadowing upvalues and definitions. 2016-07-15 21:58:49 +01:00
Tim
85f2dae56f Remove unused and clean up missused variable-value assignments.
* Unused variables
* Unused values (assigned to variables, but overwritten before use)
* Defining already defined variables instead of reassigning to them.
2016-07-15 21:58:49 +01:00
paramat
12fae236e3 TNT: Add missing 'then' 2016-07-07 19:22:26 +01:00
tenplus1
c65b343b58 TNT: When disabled leave some useful functionality enabled
- Only remove the TNT craft recipe, tnt:tnt node and the ABM
- Leave tnt:tnt_burning available for explosions in 3rd party mods
2016-07-07 18:10:57 +01:00