mirror of
https://github.com/minetest-mods/unifiedbricks.git
synced 2024-11-29 19:03:50 +01:00
stupid underscores
This commit is contained in:
parent
8c9d0ab754
commit
429955d6df
8
init.lua
8
init.lua
@ -98,7 +98,7 @@ FORMALDARKNESS = {
|
||||
register_clay_block = function(name,formalname)
|
||||
minetest.register_node("unifiedbricks:" .. name .. TYPES[1], {
|
||||
description = formalname .. FORMALTYPES[1],
|
||||
tile_images = {"unifiedbricks_" .. TYPES[1] .. name .. ".png"},
|
||||
tile_images = {"unifiedbricks" .. TYPES[1] .. name .. ".png"},
|
||||
is_ground_content = true,
|
||||
groups = {crumbly=3},
|
||||
drop = "unifiedbricks:" .. name .. TYPES[2] .. " 4",
|
||||
@ -110,19 +110,19 @@ end
|
||||
register_clay_lump = function(name,formalname)
|
||||
minetest.register_craftitem("unifiedbricks:" .. name .. TYPES[2], {
|
||||
description = formalname .. FORMALTYPES[2],
|
||||
inventory_image = "unifiedbricks_" .. TYPES[2] .. name .. ".png",
|
||||
inventory_image = "unifiedbricks" .. TYPES[2] .. name .. ".png",
|
||||
})
|
||||
end
|
||||
register_brick = function(name,formalname)
|
||||
minetest.register_craftitem("unifiedbricks:" .. name .. TYPES[3], {
|
||||
description = formalname .. FORMALTYPES[3],
|
||||
inventory_image = "unifiedbricks_" .. TYPES[3] .. name .. ".png",
|
||||
inventory_image = "unifiedbricks" .. TYPES[3] .. name .. ".png",
|
||||
})
|
||||
end
|
||||
register_brick_block = function(name,formalname)
|
||||
minetest.register_node("unifiedbricks:" .. name .. TYPES[4], {
|
||||
description = formalname .. FORMALTYPES[4],
|
||||
tile_images = {"unifiedbricks_" .. TYPES[4] .. name .. ".png"},
|
||||
tile_images = {"unifiedbricks" .. TYPES[4] .. name .. ".png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=3},
|
||||
drop = "unifiedbricks_" .. name .. TYPES[3] .." 4",
|
||||
|
Loading…
Reference in New Issue
Block a user