Fix a bunch of things
This commit is contained in:
parent
56f8b68f5a
commit
fd9d5ea994
2
init.lua
2
init.lua
|
@ -675,7 +675,7 @@ local function get_desc(item)
|
||||||
local desc = def.description
|
local desc = def.description
|
||||||
|
|
||||||
if true_str(desc) then
|
if true_str(desc) then
|
||||||
desc = desc:trim():match("[^\n]*")
|
desc = desc:trim():match("[^\n]*"):gsub("_", " ")
|
||||||
|
|
||||||
if not find(desc, "%u") then
|
if not find(desc, "%u") then
|
||||||
desc = toupper(desc)
|
desc = toupper(desc)
|
||||||
|
|
|
@ -1,6 +1,15 @@
|
||||||
|
minetest.register_craft({
|
||||||
|
output = minetest.itemstring_with_palette("default:wood", 3),
|
||||||
|
type = "shapeless",
|
||||||
|
recipe = {
|
||||||
|
"default:wood",
|
||||||
|
"dye:red",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
i3.register_craft({
|
i3.register_craft({
|
||||||
result = "default:ladder_wood",
|
result = "default:ladder_wood",
|
||||||
items = {"default:copper_ingot 7, default:tin_ingot", "default:steel_ingot 2"},
|
items = {"default:copper_ingot 7, default:tin_ingot, default:steel_ingot 2"},
|
||||||
})
|
})
|
||||||
|
|
||||||
i3.register_craft({
|
i3.register_craft({
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 382 B After Width: | Height: | Size: 469 B |
Ŝarĝante…
Reference in New Issue