Commit Graph

424 Commits

Author SHA1 Message Date
Jean-Patrick Guerrero
4ff1fd15b8 Center pagenum/pagemax with a button 2020-06-13 01:41:30 +02:00
Jean-Patrick Guerrero
35021a6f0b Style 2020-06-11 14:58:30 +02:00
Jean-Patrick Guerrero
7ef62f4f8b Strip newline in item description 2020-05-14 16:34:15 +02:00
Jean-Patrick Guerrero
f075e67be9 Notify outdated client on joinplayer 2020-05-14 16:04:19 +02:00
Jean-Patrick Guerrero
cd17b8d38e Show HUD success only in singleplayer mode 2020-05-14 02:46:42 +02:00
Jean-Patrick Guerrero
46cb7615bf Fix some crashes 2020-05-14 02:17:24 +02:00
Jean-Patrick Guerrero
679e005f58 Fix item positioning for large recipes 2020-04-20 00:04:17 +02:00
Jean-Patrick Guerrero
bf28a48c40 Code cleaning 2020-04-16 18:26:42 +02:00
Jean-Patrick Guerrero
095e45197e Change background color to be more Discord-like 2020-04-16 17:40:27 +02:00
Jean-Patrick Guerrero
13252049c2 Decolorize msg() 2020-04-16 16:32:54 +02:00
Jean-Patrick Guerrero
87177d0d7f More safeguard 2020-04-16 16:20:25 +02:00
Jean-Patrick Guerrero
109965175d Fix crash 2020-04-16 16:14:57 +02:00
Jean-Patrick Guerrero
5560374801 Add missing tree group 2020-04-16 04:48:44 +02:00
Jean-Patrick Guerrero
5e23600001 Wording 2020-04-16 04:28:11 +02:00
Jean-Patrick Guerrero
450797e148 Do not size main panel depending on ROWS 2020-04-16 03:25:26 +02:00
Jean-Patrick Guerrero
6d994fc8d5 Add an option to disable the auto-cache 2020-04-16 03:21:03 +02:00
Jean-Patrick Guerrero
1910b4b345 Style 2020-04-16 02:25:22 +02:00
pauloue
4823a9dd62 Add prettier group names in tooltip 2020-04-16 02:13:17 +02:00
Jean-Patrick Guerrero
689840d6f5 Remove progress bar because of too much issues 2020-04-13 00:58:19 +02:00
Jean-Patrick Guerrero
3f34d275c1 Fix crash when another mod outputs on terminal 2020-04-12 00:05:24 +02:00
Jean-Patrick Guerrero
8c7408f66f Style 2020-04-07 18:10:47 +02:00
Jean-Patrick Guerrero
4483f60cbc Fix icon not showing 2020-04-06 14:39:08 +02:00
Jean-Patrick Guerrero
34231e01df Minetest 5.2+ required to use craftguide 2020-04-05 22:34:46 +02:00
R3R3R3
2d6951cd0c Config value for disabling the cache load progress bar (#101) 2020-04-04 23:45:32 +02:00
Jean-Patrick Guerrero
df21df2bce Add icon when no recipes 2020-04-04 20:56:51 +02:00
orbea
5669bcdcb7
Add attached_node and choppy to craftguide:sign. (#100) 2020-04-04 19:22:27 +02:00
Jean-Patrick Guerrero
3ad05328bf New sign texture 2020-03-31 00:56:11 +02:00
Jean-Patrick Guerrero
7793019357 Adapt to new engine API 2020-03-19 17:33:53 +01:00
Jean-Patrick Guerrero
a97c0b96b3 Fix crash 2020-02-26 20:53:11 +01:00
Jean-Patrick Guerrero
63769603c4 Improve loading bar 2020-02-23 13:14:42 +01:00
Jean-Patrick Guerrero
189a3ff971 Rollback changes in srarch() 2020-02-16 14:48:43 +01:00
Jean-Patrick Guerrero
ca723202d6 Improve search look 2020-02-16 14:28:33 +01:00
Jean-Patrick Guerrero
a3e7031c04 Add animated images 2020-02-16 14:12:38 +01:00
Jean-Patrick Guerrero
5fc7e7c087 Style 2020-02-09 02:08:24 +01:00
Jean-Patrick Guerrero
aa61333ee3 Fix 2020-02-09 02:01:51 +01:00
Jean-Patrick Guerrero
e2cdfc28b0 Fix 2020-02-09 01:53:35 +01:00
Jean-Patrick Guerrero
aa9f7d6da3 Fix crash in sfinv mode 2020-02-09 01:46:15 +01:00
Jean-Patrick Guerrero
d87c64618c Don't show chances to drop for usages 2020-02-04 23:42:47 +01:00
Jean-Patrick Guerrero
3455257df5 Code cleaning 2020-02-03 01:01:00 +01:00
Jean-Patrick Guerrero
251a8b1bc9 Show fav icon only once 2020-02-03 00:31:14 +01:00
Jean-Patrick Guerrero
f9f9988868 Fix crash in progressive mode 2020-01-23 00:22:05 +01:00
Jean-Patrick Guerrero
dcb479dc44 Fix color in HUD 2020-01-22 00:06:47 +01:00
Jean-Patrick Guerrero
82bb95387e style 2020-01-12 23:30:57 +01:00
Jean-Patrick Guerrero
8626584dbd Check formspec_version instead of CORE_VERSION 2020-01-12 23:06:53 +01:00
Jean-Patrick Guerrero
f7ccd282be Drop MT <= 5.0 support and fix positioning 2020-01-12 22:30:12 +01:00
Jean-Patrick Guerrero
c9773f1ee9 Fix crash 2020-01-12 10:01:52 +01:00
Jean-Patrick Guerrero
2c2dbc9efc Update License 2020-01-07 01:12:04 +01:00
Jean-Patrick Guerrero
24d8faec59 Minor style cleaning 2020-01-07 00:33:55 +01:00
Jean-Patrick Guerrero
58b2f49c8c Add bookmarks 2020-01-07 00:17:00 +01:00
Jean-Patrick Guerrero
a823a200b7 . 2020-01-01 22:10:06 +01:00
Jean-Patrick Guerrero
3c3733a226 Minor cleaning 2019-12-17 02:09:40 +01:00
Jean-Patrick Guerrero
55f919ab8f Minor fix 2019-12-17 01:51:55 +01:00
Jean-Patrick Guerrero
937b40aae4 Remove recipe from caches after calling clear_craft() 2019-12-17 01:46:22 +01:00
Jean-Patrick Guerrero
97036d9f9a New formspec style 2019-12-17 01:33:40 +01:00
Jean-Patrick Guerrero
17a8c5ddd8 Merge branch 'master' of https://github.com/minetest-mods/craftguide 2019-12-09 21:16:47 +01:00
Jean-Patrick Guerrero
9fb5a93b2b Style 2019-12-09 21:16:41 +01:00
bell07
00a79d26e5 Fix comparing items with their aliases (#95) 2019-12-03 13:54:56 +01:00
Jean-Patrick Guerrero
303aa3ef91 Style cleaning 2019-11-27 13:36:06 +01:00
Jean-Patrick Guerrero
89059f20b6 Reorder formspec elements 2019-11-10 16:11:29 +01:00
Jean-Patrick Guerrero
7a7bb8dc51 Remove brackets 2019-11-03 19:16:29 +01:00
Jean-Patrick Guerrero
4241c89c17 http_post_data -> export_url 2019-11-01 02:04:35 +01:00
Jean-Patrick Guerrero
70d38d1c63 Minor cleaning 2019-11-01 01:56:35 +01:00
Jean-Patrick Guerrero
92c5b1ab8e Add progress bar info 2019-10-31 23:39:20 +01:00
Jean-Patrick Guerrero
62d2b302ed Add more accurate caching information 2019-10-25 13:41:56 +02:00
Jean-Patrick Guerrero
8b4ef8a4b7 Improve search filter accuracy 2019-10-25 01:43:40 +02:00
Jean-Patrick Guerrero
35b2ecfdc1 Implement visual feedbacks on nav buttons 2019-10-25 01:15:51 +02:00
Jean-Patrick Guerrero
edbed14d9b Fix non-shown recipes 2019-10-22 12:53:47 +02:00
Jean-Patrick Guerrero
77dbe040b8 Fix tooltip 2019-10-15 15:30:52 +02:00
Jean-Patrick Guerrero
b12502a7da Small fixes 2019-10-13 18:31:46 +02:00
Jean-Patrick Guerrero
e707db9ab9 Fix sfinv grid positioning 2019-10-13 00:27:31 +02:00
Jean-Patrick Guerrero
270dc19ec1 Fix crash with groups_to_items() 2019-10-12 13:21:46 +02:00
Jean-Patrick Guerrero
c9c2bf03de Small precisions 2019-10-11 02:45:51 +02:00
Jean-Patrick Guerrero
ee1eac039e Minor cleaning 2019-10-10 17:50:29 +02:00
Jean-Patrick Guerrero
4fb4fe1763 Add support for dropped items + support for URL fetched recipes +
bugfixes
2019-10-10 17:34:43 +02:00
Jean-Patrick Guerrero
98a652259b test 2019-10-09 00:16:42 +02:00
Jean-Patrick Guerrero
a8ad0435fa Add test file 2019-10-09 00:11:23 +02:00
Jean-Patrick Guerrero
41021895ce Minor cleaning 2019-10-08 14:56:45 +02:00
Jean-Patrick Guerrero
abd9274798 Fix crash in progressive mode + refacto 2019-10-08 00:39:28 +02:00
Jean-Patrick Guerrero
e16c23c29c Minor refactoring 2019-10-05 00:53:33 +02:00
Jean-Patrick Guerrero
90adfb42c1 Minor refactoring 2019-10-05 00:32:48 +02:00
Jean-Patrick Guerrero
c32feb44fc Update template 2019-10-05 00:23:46 +02:00
Jean-Patrick Guerrero
36878ce9a0 Show item drops 2019-10-05 00:09:29 +02:00
Jean-Patrick Guerrero
8b5de4f7f7 Minor refactoring 2019-10-04 23:11:07 +02:00
Jean-Patrick Guerrero
9e3997c689 Remove infos from info panel 2019-10-04 22:54:41 +02:00
Jean-Patrick Guerrero
ce74f49773 Add prev/next buttons for recipes/usages 2019-10-04 22:40:23 +02:00
Jean-Patrick Guerrero
fb4805ccf0 Add button background only if engine >= 5.1 2019-10-04 21:50:32 +02:00
Jean-Patrick Guerrero
2d332913c5 Fix messages in craft command 2019-10-04 01:10:55 +02:00
Jean-Patrick Guerrero
5446e0dbdd Update README + API 2019-10-04 00:45:49 +02:00
Jean-Patrick Guerrero
16ceea1aaf Fix message 2019-10-04 00:25:10 +02:00
Jean-Patrick Guerrero
c570fa2337 Tune fs style 2019-10-04 00:20:20 +02:00
Jean-Patrick Guerrero
5d7bb6de53 Update locale template + fix craft command 2019-10-04 00:17:15 +02:00
Jean-Patrick Guerrero
502318fb66 Major Interface Overhaul 2019-10-03 23:54:15 +02:00
Jean-Patrick Guerrero
937f5f0918 Fix aliased items once and for all(?) 2019-10-03 17:02:19 +02:00
Jean-Patrick Guerrero
b09870a5b2 Fix aliased items 2019-10-01 13:05:53 +02:00
Jean-Patrick Guerrero
9e48e9ea3e Fix missing recipes (again) 2019-09-30 18:04:50 +02:00
Jean-Patrick Guerrero
94637c624e Do not override alias func 2019-09-30 16:33:15 +02:00
Jean-Patrick Guerrero
bb6b3a4ee5 Show recipes for force-alised items 2019-09-30 11:17:01 +02:00
Jean-Patrick Guerrero
a50a99836a Fix version number check 2019-09-29 21:17:16 +02:00
Jean-Patrick Guerrero
3320fbdd6b Full backward compat with MT 0.4.17 2019-09-29 20:30:47 +02:00
Jean-Patrick Guerrero
19fb5e2691 Check compat for background[] 2019-09-29 17:23:03 +02:00
Jean-Patrick Guerrero
9dd63cd83a Fixed comment 2019-09-29 15:28:53 +02:00
Jean-Patrick Guerrero
07820fa37c Re-add accidentally removed 2019-09-29 15:24:04 +02:00
Jean-Patrick Guerrero
29f87f2607 Put the page number color back 2019-09-29 15:20:21 +02:00
Jean-Patrick Guerrero
aef1fe0dc6 Fix non-shown aliased recipes 2019-09-29 15:16:41 +02:00
Jean-Patrick Guerrero
f184341663 String checking 2019-09-25 16:22:38 +02:00
Jean-Patrick Guerrero
3f9d7bc12d Table check 2019-09-25 12:44:49 +02:00
Jean-Patrick Guerrero
60b09a27f7 Ensure that no fuel usages are not shown 2019-09-19 13:38:07 +02:00
Jean-Patrick Guerrero
a936452e21 Fix non-shown recipes 2019-09-18 20:09:03 +02:00
Jean-Patrick Guerrero
768e06e2d0 why the hell the page number not colorized anymore? 2019-09-16 12:56:04 +02:00
Jean-Patrick Guerrero
732535c9da Another attempt to fix nil crash 2019-09-16 12:33:28 +02:00
Jean-Patrick Guerrero
7a8b8d19df Fix possible nil crash 2019-09-15 22:39:08 +02:00
Jean-Patrick Guerrero
9dcccadfc2 Minor fix 2019-09-12 13:10:31 +02:00
Jean-Patrick Guerrero
7c891ff2b6 Small fix for custom recipe 2019-09-11 19:39:49 +02:00
Jean-Patrick Guerrero
06bef9777a Minor cleaning 2019-09-11 17:25:29 +02:00
Jean-Patrick Guerrero
738c2140a7 Show itemstring for unknown item 2019-09-11 16:35:56 +02:00
Jean-Patrick Guerrero
2ffef6794a Do not require to specify width in custom recipes 2019-09-11 16:28:37 +02:00
Jean-Patrick Guerrero
fb1b0cf869 Notification success: do not depend on dtime 2019-09-11 13:43:13 +02:00
Jean-Patrick Guerrero
59b806c9c4 Progressive: Update items in sfinv without page change 2019-09-11 12:25:28 +02:00
Jean-Patrick Guerrero
db626eaece Small cleaning 2019-09-10 17:27:59 +02:00
Jean-Patrick Guerrero
3b3da66a0d Improve tooltip for toolrepair 2019-09-10 16:01:00 +02:00
Jean-Patrick Guerrero
84795a6523 Fix tooltip for replacements 2019-09-10 12:37:39 +02:00
Jean-Patrick Guerrero
fc3f1fece2 Code cleaning 2019-09-10 12:29:32 +02:00
Jean-Patrick Guerrero
00a88a320a craftguide can show repairable tools 2019-09-10 00:05:55 +02:00
Jean-Patrick Guerrero
19b8e28afb Code cleaning 2019-09-09 21:56:37 +02:00
Jean-Patrick Guerrero
12e35f80f0 Fix replace tooltip 2019-09-09 19:30:44 +02:00
Jean-Patrick Guerrero
11da33ca76 Add comment 2019-09-09 19:10:33 +02:00
Jean-Patrick Guerrero
08e758aca5 Fix shapeless width bounds 2019-09-09 19:02:09 +02:00
Jean-Patrick Guerrero
727758b816 craftguide can read replacements! 2019-09-09 19:01:52 +02:00
Jean-Patrick Guerrero
b026e94d6e Fix custom recipe icon position 2019-09-08 12:48:46 +02:00
Jean-Patrick Guerrero
742627aa8c Add more doc to custom recipes 2019-09-08 12:28:30 +02:00
Jean-Patrick Guerrero
bf616f5d21 Add fallback background is not -dev version 2019-09-07 13:02:42 +02:00
Jean-Patrick Guerrero
22787e41e3 Change sign texture 2019-09-06 21:19:40 +02:00
Jean-Patrick Guerrero
6b76c8c10f API to set a custom background 2019-09-06 17:56:41 +02:00
Jean-Patrick Guerrero
5f68d2de11 Improve the interface 2019-09-06 17:06:23 +02:00
Jean-Patrick Guerrero
3d77ec58b4 Ability to register custom crafts dynamically 2019-09-06 15:51:30 +02:00
Jean-Patrick Guerrero
83151cb394 More interface fine-tuning 2019-09-06 13:31:50 +02:00
Jean-Patrick Guerrero
337ac898cd Fine-tune items positioning + Remove zoom in/out features 2019-09-05 21:04:27 +02:00
Jean-Patrick Guerrero
cb0200a222 Small cleanup 2019-09-05 15:02:38 +02:00
Jean-Patrick Guerrero
ae4b15a748 Improve grid display 2019-09-05 14:42:35 +02:00
Jean-Patrick Guerrero
2fa14ae146 Code cleaning 2019-08-31 13:34:54 +02:00
Jean-Patrick Guerrero
8b86dfc857 Fine-tune HUD 2019-08-30 18:36:34 +02:00
Jean-Patrick Guerrero
d324c5f1e5 Progressive mode: Add a Steam-like HUD success + remove useless API functions 2019-08-30 17:05:03 +02:00
Jean-Patrick Guerrero
dfa45789e2 Style cleaning 2019-08-29 15:41:32 +02:00
Jean-Patrick Guerrero
80a0d67f15 Ability to register recipes in MC-like way 2019-08-29 14:56:53 +02:00
Beha
22c5c9444e Interpret group value 0 as "not in group".
This fixes instances where items are counted as part of a group by
craftguide but not by the engine.
2019-08-29 14:47:19 +02:00
Jean-Patrick Guerrero
97676d094e Fix possible crash 2019-06-30 19:42:32 +02:00
Jean-Patrick Guerrero
ca18ae0e3a Fix nil item crash in get_tooltip() - Fixes #84, regression caused by d950c71db (@pauloue) 2019-06-30 16:37:09 +02:00
Jean-Patrick Guerrero
e710fcd483 Small optimization 2019-06-23 01:42:12 +02:00
Jean-Patrick Guerrero
a2e4f20791 Items with no recipes but with usages are shown 2019-06-23 01:25:18 +02:00
Jean-Patrick Guerrero
22a85f50c1 Sugar 2019-05-08 20:57:45 +02:00