42 Commits

Author SHA1 Message Date
Araca
18c4dc1128
Tweaks for display of description (#17) 2024-02-02 18:45:29 +01:00
Araca
a81f58d53c
Add "description display" optional + cosmetics (#14)
* Add a checkbox to display/hide description
* Truncate the description if more than 30 characters, as for item name
* Display first line of the description instead all of it, to get the display name (Ex: "Dirt" instead of "default:dirt"). This replicates the behavior for the mod with default game.
* Display interface name of selected item below the table, instead of either full description or registered name

Co-authored-by: Florent Delord <fdelord@synthesio.com>
2024-01-28 18:47:41 +01:00
Araca
1ecf199964
Add french translation (#15)
Co-authored-by: Florent Delord <fdelord@synthesio.com>
2024-01-22 18:25:46 +01:00
Araca
bafd827d4b
Fix inventory size for mineclone2/a (#16)
Co-authored-by: Florent Delord <fdelord@synthesio.com>
2024-01-18 20:04:16 +01:00
FaceDeer
d7f26cddbf fix some spelling errors and update translation files 2023-10-02 12:53:26 -06:00
FaceDeer
5cf019ed3d
Double click workaround (#13)
* add a way to retrieve items without double-clicking

MacOS may be having a problem with double clicking, add a workaround.
Note that market orders still need double clicking to cancel, so further work is neeed.

* fix sorting of item descriptions now that there's server-side translation available

* fix Mineclone formspec
2023-01-06 20:29:34 -07:00
FaceDeer
8f47fbf010 check for mcl_formspec via get_modpath 2023-01-06 20:04:13 -07:00
FaceDeer
64f45ff557 mineclone2 has fancy formspec inventory backgrounds 2020-07-15 21:46:18 -06:00
FaceDeer
66ffd3d54e native translation code isn't clever enough to reuse parameters 2020-02-23 17:16:50 -07:00
FaceDeer
e07374c705 There may be light on the horizon for sorting localized strings 2020-02-20 23:29:47 -07:00
FaceDeer
8be6bd9c54 add some translation notes 2020-02-20 23:22:10 -07:00
FaceDeer
0c1a2ee0b0 switch to built-in localization interface 2020-02-16 18:17:16 -07:00
FaceDeer
43121763ab split the default markets out into commoditymarkets_fantasy, leaving only the API 2020-01-19 11:27:35 -07:00
FaceDeer
a00904abe4 tidy up item name truncation code, no longer truncating descriptions (it breaks translations) 2020-01-15 13:26:28 -07:00
FaceDeer
7ce1abfd95 add some workarounds for mods that generate bad item icons 2020-01-15 11:01:31 -07:00
FaceDeer
078c555fbd the tooltip bug was only present briefly in dev versions, but fixing it here anyway since it costs nothing. 2020-01-14 08:25:06 -07:00
FaceDeer
db0d0f99db add a debugging command to insert all registered items into a market for finding other edge cases 2020-01-10 09:59:16 -07:00
FaceDeer
af67b830a4 handle [inventorycube textures 2020-01-10 09:40:14 -07:00
FaceDeer
a7e12f96ce enhance purge_unknowns command a bit 2020-01-01 16:49:50 -07:00
FaceDeer
9545098b7b prevent a crash in the event that an item definition has neither inventory_image nor tiles 2019-12-31 20:49:35 -07:00
FaceDeer
79b07ac837 formspec_escape various external strings, workaround for a tooltip bug introduced in a recent version of 5.2 2019-12-29 12:51:53 -07:00
FaceDeer
c88f960c55 remove unused undeclared global 2019-08-25 01:20:59 -06:00
FaceDeer
ee46ed8649 small enhancement to activity log 2019-08-24 23:04:30 -06:00
FaceDeer
4f96f32662 prevent possible crash if something changes the orders after double-clicking 2019-08-17 08:54:32 -06:00
FaceDeer
f3cd242b16 fix undeclared global error 2019-08-16 13:32:00 -06:00
FaceDeer
cc0908692f fiddle with formspec element dimensions and placement 2019-08-16 01:43:41 -06:00
FaceDeer
7aa0f4501b intllib support, add 5 random reskinned trader caravans 2019-08-16 00:42:19 -06:00
FaceDeer
3984b625a9 add a clear button to the market search field 2019-08-15 22:53:14 -06:00
FaceDeer
a909d73a9a account for image modifiers on inventory_image 2019-08-14 19:33:20 -06:00
FaceDeer
b5095f3a84 add "read" timestamp to account log 2019-08-13 23:32:49 -06:00
FaceDeer
716513002c formspec tables can't handle compositing/modifiers in images, it seems 2019-08-04 23:58:08 -06:00
FaceDeer
17d88415d0 fix bug with unknown item market listing display 2019-08-04 23:24:02 -06:00
FaceDeer
ff77efa4cc add option of anonymity 2019-08-02 19:21:13 -06:00
FaceDeer
394767e4b3 add an inventory quantity column to the market table 2019-08-01 22:39:02 -06:00
FaceDeer
bd361cec87 rework math for finding what item in inventory's been double-clicked 2019-07-29 22:30:34 -06:00
FaceDeer
07cfaf37a0 fix a crash from a nil description string when clicking in the inventory table 2019-07-29 22:14:56 -06:00
FaceDeer
da7016874d replace newlines in item descriptions with spaces 2019-07-29 20:55:04 -06:00
FaceDeer
52f0519036 add an option of a sell limit 2019-07-29 19:02:52 -06:00
FaceDeer
d25a19d550 add icons to tables, add per-player option of hiding itemnames, add tooltips 2019-07-28 20:10:25 -06:00
FaceDeer
830bacc15f add chatcommand to list registered markets 2019-07-28 02:54:26 -06:00
FaceDeer
e0d373dd5d re-enable order logging using custom lua serialization code 2019-07-28 02:44:26 -06:00
FaceDeer
eb10b9c9b7 Initial commit 2019-07-27 15:12:52 -06:00