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
Fixer
da69fcdf91
TNT: Clarify new TNT receipe
...
Update readme.txt with new TNT crafting recipe.
2017-03-14 19:05:49 +00: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
paramat
6171fb43f0
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
7d70d25eeb
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
e9d26e2ee3
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
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
tenplus1
14b99a72a9
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
6c83ea0b48
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
d7b337eae2
Stop shadowing upvalues and definitions.
2016-07-16 14:18:08 +02:00
Tim
0c3d4135e1
merge upstream commit: Remove unused and clean up missused variable-value assignments.
2016-07-16 14:17:55 +02:00
tchncs
6bafa46283
Revert "merge upstream commit: TNT: When disabled leave some useful functionality enabled"
...
This reverts commit c80473afe69a95bdd6410cf6a3e115cb6fcbd170.
2016-07-16 13:59:46 +02:00
tenplus1
c80473afe6
merge upstream commit: TNT: When disabled leave some useful functionality enabled
2016-07-16 13:58:11 +02:00
Tim
30b0a155fb
Stop shadowing upvalues and definitions.
2016-07-15 21:58:49 +01:00
Tim
4473627de0
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
e38099225c
TNT: Add missing 'then'
2016-07-07 19:22:26 +01:00
tenplus1
497e6f6257
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
paramat
504961a0a2
cherry-pick from github.com/minetest/minetest_game> Tnt: Avoid divide-by-zero errors in calc_velocity()
2016-05-28 08:47:25 +02:00
Foz
c47d026950
cherry-pick from github.com/minetest/minetest_game> Tnt: Fix bug in dropped item counting
2016-05-28 08:40:00 +02:00
paramat
e7a55734d3
Tnt: Avoid divide-by-zero errors in calc_velocity()
2016-05-08 22:53:16 +01:00