afb295ec22
fix trash slot list[] offset (only noticable when listcolors[] allows slots to be visible, i.e. on mouseover)
Vanessa Dannenberg
2021-03-10 12:26:28 -05:00
a84ce24067
use the ui.list_img_offset variable for offsetting the std inv list[] so that it'll match every other list that uses it.
Vanessa Dannenberg
2021-03-09 18:31:16 -05:00
a7556c5044
update minimum MT version number
version-2
Vanessa Dannenberg
2021-03-09 15:09:46 -05:00
3d58befe03
Document the API version
SmallJoker
2021-03-09 14:54:41 -05:00
d0deba10c8
pngcrush+optipng the new slot textures and remove the slot image .xcf project file
Vanessa Dannenberg
2021-03-09 14:44:08 -05:00
97b882ad23
add a version number variable to the main table
Vanessa Dannenberg
2021-03-09 14:39:44 -05:00
44e32df00a
translate some strings inside their table
Vanessa Dannenberg
2021-03-09 14:26:36 -05:00
9ddea6eced
fix missing "XYZ" and "no" icon on waypoints show coordinates button
Vanessa Dannenberg
2021-03-08 12:53:14 -05:00
76c9bb9517
Use 9-slicing to build inventory-type backgrounds
Vanessa Dannenberg
2021-03-08 12:14:31 -05:00
60d7a6d213
Draw the trash slot by overlaying the bare trash can icon over the single slot image instead of baking it in.
Vanessa Dannenberg
2021-03-08 09:53:25 -05:00
8e94d86420
don't display the refill slot image if no creative priv/mode (leftover from when it was part of the craft grid image)
Vanessa Dannenberg
2021-03-08 09:14:21 -05:00
6d892dda5b
use local ui=unified_inventory shorthand in init.lua as elsewhere
Vanessa Dannenberg
2021-03-08 05:07:38 -05:00
37546289bc
using a table.copy() to pass the style tables around requires setting-up items_per_page, standard_inv, and standard_inv_bg for both tables at init time.
Vanessa Dannenberg
2021-03-08 04:56:52 -05:00
3e7f005366
always modify and return a table.copy() of the style table
Vanessa Dannenberg
2021-03-08 04:51:54 -05:00
382219c466
move S() calls into waypoints' button table instead of inside the loop
Vanessa Dannenberg
2021-03-07 12:38:08 -05:00
5ea0208ffe
Multiple related changes to string handling
Vanessa Dannenberg
2021-03-07 10:37:20 -05:00
694553e68b
use local "ui" to reference "unified_inventory", where practical (makes code shorter, easier to read and write)
Vanessa Dannenberg
2021-03-07 08:18:17 -05:00
2d200eb9ae
Ditto for bags.
Vanessa Dannenberg
2021-03-07 08:13:53 -05:00
b3077898a7
make waypoints explicitly reference full-style vars (since it does not support lite mode)
Vanessa Dannenberg
2021-03-07 08:00:12 -05:00
5a8a75f43b
put style-specific settings in their own tables and switch between them directly, instead of copy-and-modify.
Vanessa Dannenberg
2021-03-07 06:27:40 -05:00
0c05f06fa8
"Please continue to use string.format here to avoid messy code"
Vanessa Dannenberg
2021-03-07 06:09:13 -05:00
23a089f174
remove a used-only-once variable
Vanessa Dannenberg
2021-03-07 05:36:49 -05:00
82bc2d3f95
use string.format() to create the standard_inv variables do it just once, after the lite mode settings are applied (if applicable)
Vanessa Dannenberg
2021-03-07 05:33:25 -05:00
603b5d1d4e
get rid of uninv global make all uses of it back into unified_inventory.
Vanessa Dannenberg
2021-03-07 05:26:48 -05:00
eb4cf5bf47
increase spacing around the text above the items page ("Filter:" and its search key, and the page or "No matches) Adjust main and page flipping buttons' positions to compensate
Vanessa Dannenberg
2021-03-07 04:26:11 -05:00
97960c552b
increase size and tweak position of "give/to grid" buttons and make them vary in pos with lite vs full mode
Vanessa Dannenberg
2021-03-07 04:13:36 -05:00
81d6a1e796
shift the craft grid and guide down a bit to make more room for the result string (and shift the result string down a hair to follow)
Vanessa Dannenberg
2021-03-07 03:57:39 -05:00
de575a6513
9-slice the background image
Vanessa Dannenberg
2021-03-06 19:05:27 -05:00
7a0a44037a
remove a couple of unused variables
Vanessa Dannenberg
2021-03-06 16:35:58 -05:00
cc93288a6b
bump minimum version to 5.4.0
Vanessa Dannenberg
2021-03-06 13:35:34 -05:00
167dddaa84
Convert over to formspec version 4
Vanessa Dannenberg
2021-03-05 10:58:18 -05:00
e4f6e1adc4
fix missing "XYZ" and "no" icon on waypoints show coordinates button
Vanessa Dannenberg
2021-03-08 12:53:14 -05:00
ea4151dfa7
Use 9-slicing to build inventory-type backgrounds
Vanessa Dannenberg
2021-03-08 12:14:31 -05:00
d063af1d27
Draw the trash slot by overlaying the bare trash can icon over the single slot image instead of baking it in.
Vanessa Dannenberg
2021-03-08 09:53:25 -05:00
250d038d0b
don't display the refill slot image if no creative priv/mode (leftover from when it was part of the craft grid image)
Vanessa Dannenberg
2021-03-08 09:14:21 -05:00
8a7d8268ad
use local ui=unified_inventory shorthand in init.lua as elsewhere
Vanessa Dannenberg
2021-03-08 05:07:38 -05:00
51de368949
using a table.copy() to pass the style tables around requires setting-up items_per_page, standard_inv, and standard_inv_bg for both tables at init time.
Vanessa Dannenberg
2021-03-08 04:56:52 -05:00
e61ae0e149
always modify and return a table.copy() of the style table
Vanessa Dannenberg
2021-03-08 04:51:54 -05:00
531442c63e
move S() calls into waypoints' button table instead of inside the loop
Vanessa Dannenberg
2021-03-07 12:38:08 -05:00
62881d9938
Multiple related changes to string handling
Vanessa Dannenberg
2021-03-07 10:37:20 -05:00
55692900f9
use local "ui" to reference "unified_inventory", where practical (makes code shorter, easier to read and write)
Vanessa Dannenberg
2021-03-07 08:18:17 -05:00
d52303a89e
Ditto for bags.
Vanessa Dannenberg
2021-03-07 08:13:53 -05:00
b9e4b9e455
make waypoints explicitly reference full-style vars (since it does not support lite mode)
Vanessa Dannenberg
2021-03-07 08:00:12 -05:00
4d52ebe774
put style-specific settings in their own tables and switch between them directly, instead of copy-and-modify.
Vanessa Dannenberg
2021-03-07 06:27:40 -05:00
73ce55646c
"Please continue to use string.format here to avoid messy code"
Vanessa Dannenberg
2021-03-07 06:09:13 -05:00
0df814d9d4
remove a used-only-once variable
Vanessa Dannenberg
2021-03-07 05:36:49 -05:00
8056bdf966
use string.format() to create the standard_inv variables do it just once, after the lite mode settings are applied (if applicable)
Vanessa Dannenberg
2021-03-07 05:33:25 -05:00
7e27f584eb
get rid of uninv global make all uses of it back into unified_inventory.
Vanessa Dannenberg
2021-03-07 05:26:48 -05:00