mirror of
https://github.com/minetest-mods/i3.git
synced 2024-12-26 02:40:38 +01:00
Re-upload a new screenshot
This commit is contained in:
parent
dae512015e
commit
3c1355b13e
@ -50,4 +50,4 @@ The `i3` inventory is 9 slots wide by default, such as Minecraft.
|
|||||||
|
|
||||||
Report bugs on the [**Bug Tracker**](https://github.com/minetest-mods/i3/issues).
|
Report bugs on the [**Bug Tracker**](https://github.com/minetest-mods/i3/issues).
|
||||||
|
|
||||||
![Preview](https://user-images.githubusercontent.com/7883281/142774384-8551ccce-704f-48d5-a992-f82746a318f0.png)
|
![Preview](https://user-images.githubusercontent.com/7883281/142780121-564c1969-b95b-4cc9-99df-9f2362c67e07.png)
|
||||||
|
10
src/gui.lua
10
src/gui.lua
@ -733,7 +733,7 @@ local function get_output_fs(fs, data, rcp, is_recipe, shapeless, right, btn_siz
|
|||||||
local _name = fmt("_%s", name)
|
local _name = fmt("_%s", name)
|
||||||
local pos
|
local pos
|
||||||
|
|
||||||
if meta:get_string("color") ~= "" or meta:get_string("palette_index") ~= "" then
|
if meta:get_string"color" ~= "" or meta:get_string"palette_index" ~= "" then
|
||||||
local rcp_usg = is_recipe and "rcp" or "usg"
|
local rcp_usg = is_recipe and "rcp" or "usg"
|
||||||
|
|
||||||
fs(fmt("style_type[list;size=%f]", i3.ITEM_BTN_SIZE))
|
fs(fmt("style_type[list;size=%f]", i3.ITEM_BTN_SIZE))
|
||||||
@ -762,8 +762,8 @@ local function get_output_fs(fs, data, rcp, is_recipe, shapeless, right, btn_siz
|
|||||||
local weird = name ~= "" and desc and weird_desc(desc) or nil
|
local weird = name ~= "" and desc and weird_desc(desc) or nil
|
||||||
local burntime = i3.fuel_cache[name] and i3.fuel_cache[name].burntime
|
local burntime = i3.fuel_cache[name] and i3.fuel_cache[name].burntime
|
||||||
|
|
||||||
local short_desc = meta:get_string("short_description")
|
local short_desc = meta:get_string"short_description"
|
||||||
local long_desc = meta:get_string("description")
|
local long_desc = meta:get_string"description"
|
||||||
local meta_desc = (short_desc ~= "" and short_desc) or (long_desc ~= "" and long_desc)
|
local meta_desc = (short_desc ~= "" and short_desc) or (long_desc ~= "" and long_desc)
|
||||||
|
|
||||||
local infos = {
|
local infos = {
|
||||||
@ -889,8 +889,8 @@ local function get_grid_fs(fs, data, rcp, is_recipe)
|
|||||||
local weird = name ~= "" and desc and weird_desc(desc) or nil
|
local weird = name ~= "" and desc and weird_desc(desc) or nil
|
||||||
local burntime = i3.fuel_cache[name] and i3.fuel_cache[name].burntime
|
local burntime = i3.fuel_cache[name] and i3.fuel_cache[name].burntime
|
||||||
|
|
||||||
local short_desc = meta:get_string("short_description")
|
local short_desc = meta:get_string"short_description"
|
||||||
local long_desc = meta:get_string("description")
|
local long_desc = meta:get_string"description"
|
||||||
local meta_desc = (short_desc ~= "" and short_desc) or (long_desc ~= "" and long_desc) or nil
|
local meta_desc = (short_desc ~= "" and short_desc) or (long_desc ~= "" and long_desc) or nil
|
||||||
|
|
||||||
local infos = {
|
local infos = {
|
||||||
|
Loading…
Reference in New Issue
Block a user