Fix a bunch of things
This commit is contained in:
parent
56f8b68f5a
commit
fd9d5ea994
4
init.lua
4
init.lua
|
@ -675,7 +675,7 @@ local function get_desc(item)
|
|||
local desc = def.description
|
||||
|
||||
if true_str(desc) then
|
||||
desc = desc:trim():match("[^\n]*")
|
||||
desc = desc:trim():match("[^\n]*"):gsub("_", " ")
|
||||
|
||||
if not find(desc, "%u") then
|
||||
desc = toupper(desc)
|
||||
|
@ -1402,7 +1402,7 @@ local function get_output_fs(fs, data, rcp, is_recipe, shapeless, right, btn_siz
|
|||
fs("animated_image", X + 0.05, Y, ITEM_BTN_SIZE, ITEM_BTN_SIZE, PNG.fire_anim, 8, 180)
|
||||
else
|
||||
local item = rcp.output
|
||||
item = ItemStack(clean_name(item))
|
||||
item = ItemStack(clean_name(item))
|
||||
local name = item:get_name()
|
||||
local count = item:get_count()
|
||||
local bt_s = ITEM_BTN_SIZE * 1.2
|
||||
|
|
|
@ -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({
|
||||
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({
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 382 B After Width: | Height: | Size: 469 B |
Ŝarĝante…
Reference in New Issue