mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-23 06:32:25 +01:00
Vessels: Improve code style
This commit is contained in:
parent
d8daee7e47
commit
3e5f3f28d2
@ -14,7 +14,7 @@ local vessels_shelf_formspec =
|
||||
default.get_hotbar_bg(0, 2.85)
|
||||
|
||||
minetest.register_node("vessels:shelf", {
|
||||
description = "Vessels shelf",
|
||||
description = "Vessels Shelf",
|
||||
tiles = {"default_wood.png", "default_wood.png", "default_wood.png",
|
||||
"default_wood.png", "vessels_shelf.png", "vessels_shelf.png"},
|
||||
paramtype2 = "facedir",
|
||||
@ -60,11 +60,11 @@ minetest.register_node("vessels:shelf", {
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'vessels:shelf',
|
||||
output = "vessels:shelf",
|
||||
recipe = {
|
||||
{'group:wood', 'group:wood', 'group:wood'},
|
||||
{'group:vessel', 'group:vessel', 'group:vessel'},
|
||||
{'group:wood', 'group:wood', 'group:wood'},
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
{"group:vessel", "group:vessel", "group:vessel"},
|
||||
{"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", {
|
||||
description = "Pile of Glass Fragments",
|
||||
@ -183,4 +183,3 @@ minetest.register_craft( {
|
||||
output = "default:steel_ingot",
|
||||
recipe = "vessels:steel_bottle",
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user