move to its own mod
This commit is contained in:
parent
12fd64969b
commit
467627c352
2
tincraft/depends.txt
Normal file
2
tincraft/depends.txt
Normal file
@ -0,0 +1,2 @@
|
||||
default
|
||||
moreores
|
42
tincraft/init.lua
Normal file
42
tincraft/init.lua
Normal file
@ -0,0 +1,42 @@
|
||||
--some crafts to make tin less useless.
|
||||
|
||||
local tin = "moreores:tin_ingot"
|
||||
local dstone = "default:desert_stone"
|
||||
|
||||
core.register_craft({
|
||||
output = "tincraft:strong_tin",
|
||||
recipe = {
|
||||
{tin,tin,tin},
|
||||
{tin,"default:coal_lump",tin},
|
||||
{tin,tin,tin},
|
||||
}
|
||||
})
|
||||
|
||||
core.register_craft({
|
||||
output = "tincraft:softlock",
|
||||
type = "cooking",
|
||||
cooktime = 20,
|
||||
recipe = "tincraft:strong_tin"
|
||||
})
|
||||
|
||||
if minetest.get_modpath("protector") then
|
||||
core.register_craft({
|
||||
output = "protector:protect2",
|
||||
recipe = {
|
||||
{dstone,dstone,dstone},
|
||||
{dstone,"tincraft:softlock",dstone},
|
||||
{dstone,dstone,dstone},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craftitem("tincraft:softlock", {
|
||||
description = "Malleable Lock",
|
||||
inventory_image = "protector_logo.png^[colorize:blue:60"
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craftitem("tincraft:strong_tin", {
|
||||
description = "Strengthened tin",
|
||||
inventory_image = "moreores_tin_ingot.png^[colorize:yellow:30"
|
||||
})
|
||||
|
1
tincraft/mod.conf
Normal file
1
tincraft/mod.conf
Normal file
@ -0,0 +1 @@
|
||||
name = tincraft
|
Loading…
x
Reference in New Issue
Block a user