config inv size
This commit is contained in:
parent
e4fdfa60bf
commit
6fe0ac1221
4
init.lua
4
init.lua
@ -10,8 +10,8 @@ i3 = {
|
|||||||
http = core.request_http_api(),
|
http = core.request_http_api(),
|
||||||
|
|
||||||
MAX_FAVS = 6,
|
MAX_FAVS = 6,
|
||||||
INV_SIZE = 4*9,
|
INV_SIZE = (minetest.settings:get("i3_inv_height") or 4)*(minetest.settings:get("i3_inv_width") or 9),
|
||||||
HOTBAR_LEN = 9,
|
HOTBAR_LEN = (minetest.settings:get("i3_inv_width") or 9),
|
||||||
ITEM_BTN_SIZE = 1.1,
|
ITEM_BTN_SIZE = 1.1,
|
||||||
DROP_BAG_ON_DIE = true,
|
DROP_BAG_ON_DIE = true,
|
||||||
MIN_FORMSPEC_VERSION = 4,
|
MIN_FORMSPEC_VERSION = 4,
|
||||||
|
@ -3,3 +3,9 @@ i3_progressive_mode (Learn crafting recipes progressively) bool false
|
|||||||
|
|
||||||
# Regroup the items of the same type in the item list.
|
# Regroup the items of the same type in the item list.
|
||||||
i3_item_compression (Regroup items of the same type) bool true
|
i3_item_compression (Regroup items of the same type) bool true
|
||||||
|
|
||||||
|
# The height of the inventory
|
||||||
|
i3_inv_height (i3 inventory height) int 4 1 4
|
||||||
|
|
||||||
|
# The width of the inventory
|
||||||
|
i3_inv_width (i3 inventory width) int 9 1 9
|
||||||
|
Loading…
x
Reference in New Issue
Block a user