Add files via upload

This commit is contained in:
simonmakemods 2018-07-24 18:32:50 +02:00 committed by GitHub
parent 02c0664f7b
commit 9798d9c84b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 92 additions and 0 deletions

2
depens.txt Normal file
View File

@ -0,0 +1,2 @@
default
dye

1
description.txt Normal file
View File

@ -0,0 +1 @@
This Mods adds Fake tnts with defaulttnt, blue, green and yellow textures!

89
init.lua Normal file
View File

@ -0,0 +1,89 @@
minetest.register_node("faketnt:defaulttnt",{
description = "Fake tnt with default textures",
tiles = {
"faketnt_defaultup.png",
"faketnt_defaultdown.png",
"faketnt_defaultside.png",
"faketnt_defaultside.png",
"faketnt_defaultside.png",
"faketnt_defaultside.png"
},
groups = {oddly_breakable_by_hand = 3},
})
minetest.register_node("faketnt:bluetnt",{
description = "Fake tnt with blue textures",
tiles = {
"faketnt_blueup.png",
"faketnt_bluedown.png",
"faketnt_blueside.png",
"faketnt_blueside.png",
"faketnt_blueside.png",
"faketnt_blueside.png"
},
groups = {oddly_breakable_by_hand = 3},
})
minetest.register_node("faketnt:yellowtnt",{
description = "Fake tnt with yellow textures",
tiles = {
"faketnt_yellowup.png",
"faketnt_yellowdown.png",
"faketnt_yellowside.png",
"faketnt_yellowside.png",
"faketnt_yellowside.png",
"faketnt_yellowside.png"
},
groups = {oddly_breakable_by_hand = 3},
})
minetest.register_node("faketnt:greentnt",{
description = "Fake tnt with green textures",
tiles = {
"faketnt_greenup.png",
"faketnt_greendown.png",
"faketnt_greenside.png",
"faketnt_greenside.png",
"faketnt_greenside.png",
"faketnt_greenside.png"
},
groups = {oddly_breakable_by_hand = 3},
})
--------------------------------------------------------------------------------------------------------------------
minetest.register_craft({
output = "faketnt:defaulttnt",
recipe = {
{"dye:red","dye:red","dye:red"},
{"dye:white","dye:black","dye:white"},
{"dye:red","dye:red","dye:red"},
},
})
minetest.register_craft({
output = "faketnt:bluetnt",
recipe = {
{"dye:blue","dye:blue","dye:blue"},
{"dye:white","dye:black","dye:white"},
{"dye:blue","dye:blue","dye:blue"},
},
})
minetest.register_craft({
output = "faketnt:yellowtnt",
recipe = {
{"dye:yellow","dye:yellow","dye:yellow"},
{"dye:white","dye:black","dye:white"},
{"dye:yellow","dye:yellow","dye:yellow"},
},
})
minetest.register_craft({
output = "faketnt:greentnt",
recipe = {
{"dye:green","dye:green","dye:green"},
{"dye:white","dye:black","dye:white"},
{"dye:green","dye:green","dye:green"},
},
})

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 609 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

BIN
textures/faketnt_blueup.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B