Add files via upload

master
WINNIE 2021-05-04 23:30:41 +08:00 committed by GitHub
parent 0b97c0c427
commit b18a80d1b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 108 additions and 40 deletions

148
init.lua
View File

@ -1,3 +1,71 @@
minetest.register_craftitem("color_armors:blue_tin_lump", {
description = ("Blue Tin Lump"),
inventory_image = "color_armors_blue_tin_lump.png",
})
minetest.register_craftitem("color_armors:green_tin_lump", {
description = ("Green Tin Lump"),
inventory_image = "color_armors_green_tin_lump.png",
})
minetest.register_craftitem("color_armors:red_tin_ingot_tin_lump", {
description = ("Red Tin Lump"),
inventory_image = "color_armors_red_tin_lump.png",
})
minetest.register_craftitem("color_armors:yellow_tin_lump", {
description = ("Yellow Tin Lump"),
inventory_image = "color_armors_yellow_tin_lump.png",
})
minetest.register_craftitem("color_armors:blue_tin_ingot", {
description = ("Blue Tin Ingot"),
inventory_image = "color_armors_blue_tin_ingot.png",
})
minetest.register_craftitem("color_armors:green_tin_ingot", {
description = ("Green Tin Ingot"),
inventory_image = "color_armors_green_tin_ingot.png",
})
minetest.register_craftitem("color_armors:red_tin_ingot_tin_ingot", {
description = ("Red Tin Ingot"),
inventory_image = "color_armors_red_tin_ingot.png",
})
minetest.register_craftitem("color_armors:yellow_tin_ingot", {
description = ("Yellow Tin Ingot"),
inventory_image = "color_armors_yellow_tin_ingot.png",
})
minetest.register_craft({
type = "cooking",
output = "color_armors:blue_tin_ingot",
recipe = "color_armors:blue_tin_lump",
cooktime = 15,
})
minetest.register_craft({
type = "cooking",
output = "color_armors:green_tin_ingot",
recipe = "color_armors:green_tin_lump",
cooktime = 15,
})
minetest.register_craft({
type = "cooking",
output = "color_armors:red_tin_ingot_tin_ingot",
recipe = "color_armors:red_tin_ingot_tin_lump",
cooktime = 15,
})
minetest.register_craft({
type = "cooking",
output = "color_armors:yellow_tin_ingot",
recipe = "color_armors:yellow_tin_lump",
cooktime = 15,
})
if minetest.get_modpath("3d_armor") then
armor:register_armor("color_armors:blue_helmet", {
description = "Blue Helmet",
@ -151,136 +219,136 @@ if minetest.get_modpath("3d_armor") then
minetest.register_craft({
output = "color_armors:blue_helmet",
recipe = {
{"wool:blue", "wool:blue", "wool:blue"},
{"wool:blue", "", "wool:blue"}
{"color_armors:blue_tin_ingot", "color_armors:blue_tin_ingot", "color_armors:blue_tin_ingot"},
{"color_armors:blue_tin_ingot", "", "color_armors:blue_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:blue_chestplate",
recipe = {
{"wool:blue", "", "wool:blue"},
{"wool:blue", "wool:blue", "wool:blue"},
{"wool:blue", "wool:blue", "wool:blue"}
{"color_armors:blue_tin_ingot", "", "color_armors:blue_tin_ingot"},
{"color_armors:blue_tin_ingot", "color_armors:blue_tin_ingot", "color_armors:blue_tin_ingot"},
{"color_armors:blue_tin_ingot", "color_armors:blue_tin_ingot", "color_armors:blue_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:blue_leggings",
recipe = {
{"wool:blue", "wool:blue", "wool:blue"},
{"wool:blue", "", "wool:blue"},
{"wool:blue", "", "wool:blue"}
{"color_armors:blue_tin_ingot", "color_armors:blue_tin_ingot", "color_armors:blue_tin_ingot"},
{"color_armors:blue_tin_ingot", "", "color_armors:blue_tin_ingot"},
{"color_armors:blue_tin_ingot", "", "color_armors:blue_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:blue_boots",
recipe = {
{"wool:blue", "", "wool:blue"},
{"wool:blue", "", "wool:blue"}
{"color_armors:blue_tin_ingot", "", "color_armors:blue_tin_ingot"},
{"color_armors:blue_tin_ingot", "", "color_armors:blue_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:green_helmet",
recipe = {
{"wool:dark_green", "wool:dark_green", "wool:dark_green"},
{"wool:dark_green", "", "wool:dark_green"}
{"color_armors:green_tin_ingot", "color_armors:green_tin_ingot", "color_armors:green_tin_ingot"},
{"color_armors:green_tin_ingot", "", "color_armors:green_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:green_chestplate",
recipe = {
{"wool:dark_green", "", "wool:dark_green"},
{"wool:dark_green", "wool:dark_green", "wool:dark_green"},
{"wool:dark_green", "wool:dark_green", "wool:dark_green"}
{"color_armors:green_tin_ingot", "", "color_armors:green_tin_ingot"},
{"color_armors:green_tin_ingot", "color_armors:green_tin_ingot", "color_armors:green_tin_ingot"},
{"color_armors:green_tin_ingot", "color_armors:green_tin_ingot", "color_armors:green_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:green_leggings",
recipe = {
{"wool:dark_green", "wool:dark_green", "wool:dark_green"},
{"wool:dark_green", "", "wool:dark_green"},
{"wool:dark_green", "", "wool:dark_green"}
{"color_armors:green_tin_ingot", "color_armors:green_tin_ingot", "color_armors:green_tin_ingot"},
{"color_armors:green_tin_ingot", "", "color_armors:green_tin_ingot"},
{"color_armors:green_tin_ingot", "", "color_armors:green_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:green_boots",
recipe = {
{"wool:dark_green", "", "wool:dark_green"},
{"wool:dark_green", "", "wool:dark_green"}
{"color_armors:green_tin_ingot", "", "color_armors:green_tin_ingot"},
{"color_armors:green_tin_ingot", "", "color_armors:green_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:red_helmet",
recipe = {
{"wool:red", "wool:red", "wool:red"},
{"wool:red", "", "wool:red"}
{"color_armors:red_tin_ingot", "color_armors:red_tin_ingot", "color_armors:red_tin_ingot"},
{"color_armors:red_tin_ingot", "", "color_armors:red_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:red_chestplate",
recipe = {
{"wool:red", "", "wool:red"},
{"wool:red", "wool:red", "wool:red"},
{"wool:red", "wool:red", "wool:red"}
{"color_armors:red_tin_ingot", "", "color_armors:red_tin_ingot"},
{"color_armors:red_tin_ingot", "color_armors:red_tin_ingot", "color_armors:red_tin_ingot"},
{"color_armors:red_tin_ingot", "color_armors:red_tin_ingot", "color_armors:red_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:red_leggings",
recipe = {
{"wool:red", "wool:red", "wool:red"},
{"wool:red", "", "wool:red"},
{"wool:red", "", "wool:red"}
{"color_armors:red_tin_ingot", "color_armors:red_tin_ingot", "color_armors:red_tin_ingot"},
{"color_armors:red_tin_ingot", "", "color_armors:red_tin_ingot"},
{"color_armors:red_tin_ingot", "", "color_armors:red_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:red_boots",
recipe = {
{"wool:red", "", "wool:red"},
{"wool:red", "", "wool:red"}
{"color_armors:red_tin_ingot", "", "color_armors:red_tin_ingot"},
{"color_armors:red_tin_ingot", "", "color_armors:red_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:yellow_helmet",
recipe = {
{"wool:yellow", "wool:yellow", "wool:yellow"},
{"wool:yellow", "", "wool:yellow"}
{"color_armors:yellow_tin_ingot", "color_armors:yellow_tin_ingot", "color_armors:yellow_tin_ingot"},
{"color_armors:yellow_tin_ingot", "", "color_armors:yellow_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:yellow_chestplate",
recipe = {
{"wool:yellow", "", "wool:yellow"},
{"wool:yellow", "wool:yellow", "wool:yellow"},
{"wool:yellow", "wool:yellow", "wool:yellow"}
{"color_armors:yellow_tin_ingot", "", "color_armors:yellow_tin_ingot"},
{"color_armors:yellow_tin_ingot", "color_armors:yellow_tin_ingot", "color_armors:yellow_tin_ingot"},
{"color_armors:yellow_tin_ingot", "color_armors:yellow_tin_ingot", "color_armors:yellow_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:yellow_leggings",
recipe = {
{"wool:yellow", "wool:yellow", "wool:yellow"},
{"wool:yellow", "", "wool:yellow"},
{"wool:yellow", "", "wool:yellow"}
{"color_armors:yellow_tin_ingot", "color_armors:yellow_tin_ingot", "color_armors:yellow_tin_ingot"},
{"color_armors:yellow_tin_ingot", "", "color_armors:yellow_tin_ingot"},
{"color_armors:yellow_tin_ingot", "", "color_armors:yellow_tin_ingot"}
}
})
minetest.register_craft({
output = "color_armors:yellow_boots",
recipe = {
{"wool:yellow", "", "wool:yellow"},
{"wool:yellow", "", "wool:yellow"}
{"color_armors:yellow_tin_ingot", "", "color_armors:yellow_tin_ingot"},
{"color_armors:yellow_tin_ingot", "", "color_armors:yellow_tin_ingot"}
}
})
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B