Commit Graph

112 Commits (master)

Author SHA1 Message Date
Milan f3be63d874 merge upstream 2022-08-25 17:51:59 +02:00
Wuzzy b0cf061360 Fix TNT blowing up ignore nodes 2022-05-24 17:57:37 +02:00
nixnoxus 0c2ee1e41d
Deduplicate player action logging, silence fake player actions (#2941) 2022-05-06 20:04:55 +02:00
Lars Mueller edd033b708 TNT node drop particles: Only pick string tiles as fallback 2022-04-24 13:29:29 +02:00
paramat 0c1252bcf5 Balance sounds, remove silent water footstep 2022-01-23 18:07:59 +01:00
DS 226e2d4c12
Add missing not_in_creative_inventory group where appropriate (#2764) 2020-11-11 15:29:43 +00:00
SmallJoker 331bbae058
Fix deprecated get_player_velocity and set_physics_override calls (#2770) 2020-11-04 21:42:35 +01:00
Wuzzy 6605724fe1
Add icons for invisible nodes (#2718) 2020-09-30 16:41:04 +01:00
Milan Ihl 029ab5aa0c resolve mergeconflicts 2020-08-17 22:07:15 +02:00
tenplus1 7cac67f097
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 6e345cf136
Use node particles for TNT explosions (#2695) 2020-06-02 12:48:56 +02:00
sfan5 e5b54c6ead
Switch TNT explosions to use add_player_velocity (#2674) 2020-05-10 14:10:29 +02:00
sfan5 c1f41720fc Fix crash on TNT explosions if tnt is disabled 2020-04-08 17:24:10 +02:00
sfan5 07a8067348
Fix TNT mod crash when entities disappear during explosion (#2616) 2020-03-06 21:51:19 +01:00
sfan5 d3e26dba18 Convert minetest.sound_play uses to ephemeral 2020-02-05 22:24:23 +01:00
Yves Quemener bb9279ccb8 Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
2019-09-10 19:09:51 +02:00
TumeniNodes 553b0f9d72 Add new TNT sounds 2019-08-28 03:06:23 +01:00
Milan 00de0eff80 Merge branch 'technicworld' of https://git.tchncs.de/Illuna-Minetest/minetest_game into technicworld 2019-03-08 15:20:41 +01:00
Milan 0bd5b94c7e tnt: comment message when priv missing 2019-03-08 15:20:36 +01:00
Milan 2e451bd11e merge upstream 2019-02-07 13:17:18 +01:00
SmallJoker 255031fc91 Replace deprecated function calls 2018-07-01 20:44:03 +01:00
Paramat 37b206e49f
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 8c71f3d826 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 3ff296961e 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 fe67ffda7c 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 bb084294ce TNT: Allow a custom explosion sound to be used 2017-08-18 18:41:15 +01:00
tenplus1 c5e97867f3 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
Milan* d2ef1a0af2 tnt: redo faulty merge, add infomessage for when privilege missing 2017-07-30 12:27:19 +02:00
Milan* 8a3f06a18f fix mergeconflicts 2017-07-30 12:15:29 +02:00
SmallJoker fa4c77feba TNT: Only burn visually connected powder (#1857) 2017-07-29 18:09:15 +02:00
Foz 0f7d0bfd7a 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 eec1c5a03b Settings: Use new settings object 2017-05-24 07:18:26 +01:00
Milan* 9052d3ae14 fix mergeconflicts 2017-05-22 09:30:34 +02:00
Fernando Carmona Varo be9121214c 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
Milan* 464fee1dee fix mergeconflicts 2017-03-15 11:30:00 +01:00
Auke Kok 7b90044574 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 496521f4a1 Fix some warnings.
Also fixes the failing travis checks.
2017-03-05 09:27:53 +00:00
Auke Kok 1104d571b0 TNT: Log explosions and player igniting tnt or gunpowder 2017-01-19 21:57:34 -08:00
DS-Minetest f07c4dcd83 Decrease the cost of gunpowder for trails
The cost of TNT remains the same
2017-01-01 23:41:04 +00:00
Milan* 90ad2b6689 tnt: remove settingscheck 2016-12-15 18:11:57 +00:00
Milan* 960a9de9d8 fix mergeconflicts 2016-12-15 18:03:31 +00:00
paramat 09a229b412 Update 'nodeupdate()' to 'check_for_falling()' API 2016-11-22 05:55:36 +00:00
Fernando Carmona Varo c824d69182 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 7fee589e03 Tnt: Flammable TNT and gunpowder that activates when burnt
Some code simplifications.
2016-11-02 12:41:14 +00:00
tchncs ff17a25bc2 tnt: add group gunpowder to gunpowder 2016-10-18 08:24:08 +02:00
tchncs 49b31b2a30 tnt: increase tnt fuse timer 2016-10-10 10:27:43 +02:00
tenplus1 6fdfd2554c 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
tchncs 35cfb2e4c5 tnt: do not check for tnt enabled for serving recipe 2016-09-03 11:04:56 +02:00
tchncs d2dcd64203 merge github.com/minetest/minetest_game 2016-09-01 14:07:55 +02:00
tenplus1 619ac52693 Add labels to ABMs
Useful for searches and the mod profiler.
2016-08-09 03:56:37 +01:00