TNT
Fork of TNT mod
This mod will also override the default TNT mod.
water flow code copied from TenPlus1's builtin_item mod builtin_item
Features
-
TNT is always entity on ignite.
-
Ignited TNT entities flow in water.
-
TNT jumps on ignite.
-
It is possible to make minecraft style TNT cannons with this mod.
-
TNT does not damage nodes if it blows up in water. (This can be changed in config)
-
TNT does not damage players or entities if it blows up in water. (This can be changed in config)
api
tnt.register_tnt({
-- Mod name : TNT name
name = "tnt:tnt",
-- Description of TNT node
description = "TNT",
-- TNT Blast radius.
radius = tnt_radius,
-- Strength of blast (explosions mod only).
strength = 1000,
-- explosion delay in seconds.
time = 4,
-- On ignite the TNT will jump upwards based on the jump value.
jump = 3,
-- Ignite sound effect.
ignite_sound = {name = "tnt_ignite"},
-- The explosion sound effect.
boom_sound = {name = "tnt_explode", def = {gain = 2.5, max_hear_distance = 128}}
})
Config
The size of the default tnt blast.
tnt_radius = 3
The number to multiply how much knock back on another TNT entity.
tnt_revamped.tnt_entity_velocity_mul = 2
The number to multiply how much knock back on a player.
tnt_revamped.player_velocity_mul = 10
The number to multiply how much knock back on a entity.
tnt_revamped.entity_velocity_mul = 10
The explosion api to use.
Use default for the built-in explosions.
Use explosions for ryvnf's explosions mod.
tnt_revamped.explosion = "default"
In Water
If true TNT blast will be able to damage nodes even if its in water.
tnt_revamped.damage_nodes = false
If true TNT blast will be able to damage entities even if its in water.
tnt_revamped.damage_entities = false
Must Have
I love this mod! It really is must have, and it makes the game more realistic and awesome!
Thanks,
-StarNinjas
Really great mod
it's a really great mod, more like Minecraft tnt. but can you make it not break certain blocks like Minecraft (eg: obsidian)?
A must have minetest mod
This mod does exactly what it is supposed to do without bugs currently. It is easy to configure to your likeing. My only problem with it is that it isn't compatable with the areas mod. If it was that would be awesome.
TNT wars
Fuze would be happy for this challenge known from TNT wars on his channel, I love to destroy the bases of my friends ahahahah
Makes TNT guns possible :)
Having the possibility of creating TNT guns in minetest game is incredible!
Good work
I can make canons once again!