1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-23 07:10:19 +01:00

Vessels: Improve code style

This commit is contained in:
paramat 2016-05-21 03:49:28 +01:00
parent d8daee7e47
commit 3e5f3f28d2

View File

@ -14,7 +14,7 @@ local vessels_shelf_formspec =
default.get_hotbar_bg(0, 2.85) default.get_hotbar_bg(0, 2.85)
minetest.register_node("vessels:shelf", { minetest.register_node("vessels:shelf", {
description = "Vessels shelf", description = "Vessels Shelf",
tiles = {"default_wood.png", "default_wood.png", "default_wood.png", tiles = {"default_wood.png", "default_wood.png", "default_wood.png",
"default_wood.png", "vessels_shelf.png", "vessels_shelf.png"}, "default_wood.png", "vessels_shelf.png", "vessels_shelf.png"},
paramtype2 = "facedir", paramtype2 = "facedir",
@ -60,11 +60,11 @@ minetest.register_node("vessels:shelf", {
}) })
minetest.register_craft({ minetest.register_craft({
output = 'vessels:shelf', output = "vessels:shelf",
recipe = { recipe = {
{'group:wood', 'group:wood', 'group:wood'}, {"group:wood", "group:wood", "group:wood"},
{'group:vessel', 'group:vessel', 'group:vessel'}, {"group:vessel", "group:vessel", "group:vessel"},
{'group:wood', 'group:wood', 'group:wood'}, {"group:wood", "group:wood", "group:wood"},
} }
}) })
@ -147,7 +147,7 @@ minetest.register_craft( {
}) })
-- Make sure we can recycle them -- Glass and steel recycling
minetest.register_craftitem("vessels:glass_fragments", { minetest.register_craftitem("vessels:glass_fragments", {
description = "Pile of Glass Fragments", description = "Pile of Glass Fragments",
@ -183,4 +183,3 @@ minetest.register_craft( {
output = "default:steel_ingot", output = "default:steel_ingot",
recipe = "vessels:steel_bottle", recipe = "vessels:steel_bottle",
}) })