Vanessa Dannenberg 5ea0208ffe Multiple related changes to string handling
1) Convert most formspec elements to use string.format(), when the
result would be more readable, or less messy, or at least makes the line
shorter, assuming it looked like it really needed it to begin with.

2) Convert all long `foo..","..bar..";"..baz..bleh..` types of excessive
string concatenation into tables that then get concated only once, when
their containing functions return the final formspec string.

3) In some places in the code, such tables were already being used, and
were named "formspec", while others were named "fs".  I settled on just
one name, "formspec", as it's more readable, if longer.

4) There was a mix of styles of adding items to those tables:

* Some places used line after line of `t[#t + 1] = foo/bar/baz`.
* Others places used the form `t[1] = foo, t[2] = bar, ...`.
* Still others used the form `t[n] = foo, t[n+1] = bar...`,
  with `n` being increased or reset every so often.

Most of them should now be of the third form, with a few of the second.
2021-03-09 15:04:11 -05:00
2019-03-31 12:19:08 +02:00
2013-09-21 21:40:20 +02:00
2021-03-09 15:04:11 -05:00
2014-04-22 16:52:04 -04:00
2020-03-25 18:46:35 +01:00
2019-10-17 21:05:08 +02:00
2021-03-09 15:04:11 -05:00
2020-03-25 18:46:35 +01:00
2016-07-15 09:53:27 +02:00

Unified Inventory

Screenshot

Unified Inventory replaces the default survival and creative inventory.

Features

  • Node, item and tool browser
  • Crafting guide
    • Can copy the recipe to the crafting grid
    • Recipe search function by ingredients
  • Up to four bags with up to 24 slots each
  • Home function to teleport
  • Trash slot
  • Lite mode: reduces the item browser width
    • minetest.conf setting unified_inventory_lite = true
  • Mod API for modders: see mod_api.txt
  • Setting-determinated features: see settingtypes.txt

Requirements

  • Minetest 5.0.0+

Licenses

Copyright (C) 2012-2014 Maciej Kasatkin (RealBadAngel)

Copyright (C) 2012-? Various minetest-mods contributors

Code

GNU LGPLv2+, see license notice

Textures

VanessaE: (CC-BY-4.0)

  • ui_group.png

Tango Project: (Public Domain, CC-BY-4.0)

From http://www.clker.com (Public Domain, CC-BY-4.0):

Everaldo Coelho (YellowIcon) (LGPL v2.1+):

Gregory H. Revera: (CC-BY-SA 3.0)

Thomas Bresson: (CC-BY 3.0)

Fibonacci: (Public domain, CC-BY 4.0)

Gregory Maxwell: (Public domain, CC-BY 4.0)

Adrien Facélina: (LGPL v2.1+)

Other files from Wikimedia Commons:

RealBadAngel: (CC-BY-4.0)

  • Everything else.
Description
No description provided
Readme 3.1 MiB
Languages
Lua 100%