Added some details about conflicts about the original TNT mod
parent
80af3569b0
commit
f039c8d1b6
|
@ -1,6 +1,8 @@
|
||||||
=== TNT-MOD for MINETEST-C55 ===
|
=== TNT-MOD for MINETEST-C55 ===
|
||||||
by minermoder27
|
by minermoder27
|
||||||
derived from PilzAdam's TNT mod and HybridDog's TNT mod.
|
derived from PilzAdam's TNT mod and HybridDog's TNT mod.
|
||||||
|
WARNING: Purge PilzAdam's TNT mod before using this mod. Otherwise it
|
||||||
|
would cause conflict and eventually crash the game.
|
||||||
|
|
||||||
Introduction:
|
Introduction:
|
||||||
This mod adds 10 types TNT to Minetest. TNT is a tool to help the player
|
This mod adds 10 types TNT to Minetest. TNT is a tool to help the player
|
||||||
|
|
|
@ -0,0 +1,51 @@
|
||||||
|
=== TNT-MOD for MINETEST-C55 ===
|
||||||
|
by minermoder27
|
||||||
|
derived from PilzAdam's TNT mod and HybridDog's TNT mod.
|
||||||
|
|
||||||
|
Introduction:
|
||||||
|
This mod adds 10 types TNT to Minetest. TNT is a tool to help the player
|
||||||
|
in mining.
|
||||||
|
|
||||||
|
How to install:
|
||||||
|
Unzip the archive an place it in minetest-base-directory/mods/minetest/
|
||||||
|
if you have a windows client or a linux run-in-place client. If you have
|
||||||
|
a linux system-wide instalation place it in ~/.minetest/mods/minetest/.
|
||||||
|
If you want to install this mod only in one world create the folder
|
||||||
|
worldmods/ in your worlddirectory.
|
||||||
|
For further information or help see:
|
||||||
|
http://wiki.minetest.com/wiki/Installing_Mods
|
||||||
|
|
||||||
|
How to use the mod:
|
||||||
|
Craft gunpowder by placing coal and gravel in the crafting area. The
|
||||||
|
gunpowder can be used to craft TNT or as fuze for TNT.
|
||||||
|
|
||||||
|
To craft TNT1 place gunpowder in a + shape.
|
||||||
|
To craft TNT2 surround TNT1 with 4 gunpowder in a + shape.
|
||||||
|
To craft TNT3 surround TNT2 with 4 gunpowder in a + shape.
|
||||||
|
To craft TNT4 surround TNT3 with 4 gunpowder in a + shape.
|
||||||
|
Right up to TNT10.
|
||||||
|
|
||||||
|
There are different ways to blow up TNT:
|
||||||
|
1. Hit it with a torch.
|
||||||
|
2. Hit a gunpowder fuze that leads to a TNT block with a torch.
|
||||||
|
3. Activate it with mesecons (fastest way)
|
||||||
|
|
||||||
|
License:
|
||||||
|
WTFPL (see below)
|
||||||
|
|
||||||
|
See also:
|
||||||
|
http://minetest.net/
|
||||||
|
|
||||||
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||||
|
Version 2, December 2004
|
||||||
|
|
||||||
|
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim or modified
|
||||||
|
copies of this license document, and changing it is allowed as long
|
||||||
|
as the name is changed.
|
||||||
|
|
||||||
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. You just DO WHAT THE FUCK YOU WANT TO.
|
|
@ -7,8 +7,7 @@ local tnt_tables = {["bettertnt:tnt1"] = {r=1},
|
||||||
["bettertnt:tnt7"] = {r=12},
|
["bettertnt:tnt7"] = {r=12},
|
||||||
["bettertnt:tnt8"] = {r=14},
|
["bettertnt:tnt8"] = {r=14},
|
||||||
["bettertnt:tnt9"] = {r=16},
|
["bettertnt:tnt9"] = {r=16},
|
||||||
["bettertnt:tnt10"] = {r=18},
|
["bettertnt:tnt10"] = {r=18}}
|
||||||
["tnt:tnt"] = {r=2}}
|
|
||||||
|
|
||||||
tnt = {}
|
tnt = {}
|
||||||
tnt.force = {
|
tnt.force = {
|
||||||
|
@ -188,6 +187,7 @@ end
|
||||||
function boom_id(pos, time, player, id)
|
function boom_id(pos, time, player, id)
|
||||||
minetest.after(time, function(pos)
|
minetest.after(time, function(pos)
|
||||||
|
|
||||||
|
print(id);
|
||||||
local tnt_range = tnt_tables[id].r * 6
|
local tnt_range = tnt_tables[id].r * 6
|
||||||
|
|
||||||
local t1 = os.clock()
|
local t1 = os.clock()
|
||||||
|
@ -440,7 +440,7 @@ minetest.register_abm({
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "bettertnt:gunpowder",
|
output = "bettertnt:gunpowder",
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
recipe = {"default:coal_lump", "default:gravel", "default:coal_lump"}
|
recipe = {"default:coal_lump", "default:gravel"}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue