mirror of
https://github.com/Ezhh/abriglass.git
synced 2024-11-23 23:43:43 +01:00
Adjusted spacing/comments
This commit is contained in:
parent
1f57479bdb
commit
b7118388df
11
crafting.lua
11
crafting.lua
@ -1,4 +1,5 @@
|
|||||||
|
|
||||||
|
-- clear glass recipe
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'abriglass:clear_glass 4', -- intentional lower yield
|
output = 'abriglass:clear_glass 4', -- intentional lower yield
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -9,10 +10,10 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
-- glass light recipes
|
||||||
local plain_colors = {
|
local plain_colors = {
|
||||||
"green", "blue", "red", "yellow",
|
"green", "blue", "red", "yellow",
|
||||||
}
|
}
|
||||||
--glass lights
|
|
||||||
|
|
||||||
local i
|
local i
|
||||||
for i in ipairs(plain_colors) do
|
for i in ipairs(plain_colors) do
|
||||||
@ -34,6 +35,8 @@ for i in ipairs(plain_colors) do
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
-- undecorated coloured glass recipes
|
||||||
-- this has to be kept in sync with init.lua one
|
-- this has to be kept in sync with init.lua one
|
||||||
local glass_list = {
|
local glass_list = {
|
||||||
"black", "blue", "cyan", "green", "magenta",
|
"black", "blue", "cyan", "green", "magenta",
|
||||||
@ -65,6 +68,8 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
-- patterned glass recipes
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'abriglass:stainedglass_pattern01 9',
|
output = 'abriglass:stainedglass_pattern01 9',
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -128,7 +133,6 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
recipe = "abriglass:stainedglass_pattern01",
|
recipe = "abriglass:stainedglass_pattern01",
|
||||||
@ -177,6 +181,8 @@ minetest.register_craft({
|
|||||||
output = "abriglass:clear_glass",
|
output = "abriglass:clear_glass",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
-- one-way recipes
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'abriglass:oneway_glass_desert_brick 2',
|
output = 'abriglass:oneway_glass_desert_brick 2',
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -191,6 +197,7 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
-- missing crafts for:
|
-- missing crafts for:
|
||||||
-- ghost_crystal
|
-- ghost_crystal
|
||||||
-- oneway_glass_dark
|
-- oneway_glass_dark
|
||||||
|
Loading…
Reference in New Issue
Block a user