Commit Graph

173 Commits

Author SHA1 Message Date
Jean-Patrick Guerrero
5ee1bea4ce Progressive mode: Add a name to filters 2019-01-20 02:13:30 +01:00
Jean-Patrick Guerrero
61ae85a09c Progressive mode: Add functions in API to add/set/get filters 2019-01-18 17:39:10 +01:00
Jean-Patrick Guerrero
c4fe467e6f Remove wood group 2019-01-18 15:56:52 +01:00
Jean-Patrick Guerrero
ed11bf3281 Fix tooltip 2019-01-15 14:38:15 +01:00
Jean-Patrick Guerrero
18affcb00e Allow searching same string again in progressive mode 2019-01-13 18:30:21 +01:00
Jean-Patrick Guerrero
fa8d602a64 Fix sfinv mode bg 2019-01-13 02:40:18 +01:00
Jean-Patrick Guerrero
157c6e5004 get_formspec -> make_formspec 2019-01-13 01:48:14 +01:00
pauloue
50317cc20e Progressive: refactor, fix some bugs, add API function 2019-01-13 01:37:23 +01:00
Jean-Patrick Guerrero
1def071029 Fix background 2019-01-13 01:18:41 +01:00
Jean-Patrick Guerrero
134fbf382d Do not search again for same string 2019-01-11 01:54:17 +01:00
Jean-Patrick Guerrero
70682b230b Hardset button size to 1.1 2019-01-09 21:11:06 +01:00
Paul Ouellette
e0db5834b3 Separate player data 2019-01-08 14:28:53 -05:00
pauloue
7f6dd430ce Various fixes
- Include recipes with matching groups in usages
- Fix group_to_item()
- Fix custom recipes not showing in usages
2019-01-08 01:28:52 +01:00
Jean-Patrick Guerrero
d1ee125a1a Remove erroneous quotation marks 2019-01-04 02:19:29 +01:00
Jean-Patrick Guerrero
b980dccaee Use of string.format instead of concat 2019-01-02 18:57:35 +01:00
Paul Ouellette
f8b7a72635 Fix alternate button not working in some cases 2019-01-02 01:11:08 -05:00
Paul Ouellette
1034fd7c0e Fix repeated clicks of same item not toggling usages mode 2019-01-02 00:35:21 -05:00
Jean-Patrick Guerrero
4bca02f0db Add assertions 2018-12-30 21:52:13 +01:00
Jean-Patrick Guerrero
4b97b08aa7 Variable naming 2018-12-30 21:22:01 +01:00
Jean-Patrick Guerrero
7745ccd863 Not really important 2018-12-30 21:10:39 +01:00
Jean-Patrick Guerrero
65b51ad3e5 Do not alternate if X > 1 2018-12-30 21:00:04 +01:00
Jean-Patrick Guerrero
897fc3a21d Show usages for fuel-able items with no recipes 2018-12-30 20:43:26 +01:00
Jean-Patrick Guerrero
e1eedb69bb Minor optimization 2018-12-19 18:36:09 +01:00
Jean-Patrick Guerrero
f188580b8c Correct checking 2018-12-17 22:48:53 +01:00
Jean-Patrick Guerrero
783a84d3c6 Define custom recipe's width inside craft declaration 2018-12-17 19:17:43 +01:00
Jean-Patrick Guerrero
74a2750a4d Fix tooltip 2018-12-17 01:14:55 +01:00
Jean-Patrick Guerrero
9da500ce2c ... and make the other functions local 2018-12-17 01:02:51 +01:00
Jean-Patrick Guerrero
610117de08 Make craftguide a global var 2018-12-17 00:38:58 +01:00
Jean-Patrick Guerrero
53833af635 Add an API for custom recipes 2018-12-17 00:37:49 +01:00
Jean-Patrick Guerrero
b2a7f5430a Add a /craft command to show recipe of pointed node 2018-12-13 20:31:45 +01:00
Jean-Patrick Guerrero
0b4f202ffb New icons 2018-11-25 16:08:20 +01:00
Jean-Patrick Guerrero
eff2fa82f3 Fix custom recipes since latest commit 2018-11-18 20:52:00 +01:00
Jean-Patrick Guerrero
8630fccaea More alignment 2018-11-18 20:06:45 +01:00
Jean-Patrick Guerrero
4d4e8f7d50 Rotate arrow images 2018-11-18 18:40:58 +01:00
pauloue
6d3f8ce32a Fix cooktime tooltip 2018-11-18 18:26:09 +01:00
Jean-Patrick Guerrero
ed861ea1b9 Formspec improvements (fixes #39) 2018-11-17 18:24:12 +01:00
Jean-Patrick Guerrero
44ebb84e89 Fix the usage' tooltip again (thanks @Ezhh) 2018-11-13 20:15:34 +01:00
Jean-Patrick Guerrero
5fce8ddbda Minor edits 2018-11-12 23:56:11 +01:00
Jean-Patrick Guerrero
39ed2c2c45 Support for sfinv! 2018-11-11 22:58:26 +01:00
Jean-Patrick Guerrero
8b309106c3 Various fixes 2018-11-11 19:35:28 +01:00
pauloue
9625542468 Fix reverse mode + misc. things 2018-11-11 14:19:52 +01:00
Wuzzy
2b23a887cf Hide recipes for items with not_in_craft_guide=1 2018-05-29 19:08:03 +02:00
Jean-Patrick Guerrero
2ecd0543a9 Fix 2018-05-28 22:07:52 +02:00
Jean-Patrick Guerrero
dd268e065b Implement a reverse crafting guide (#30) 2018-05-28 19:07:05 +02:00
JP Guerrero
d95cdee33d Cache results only if searched 2 times (to avoid silly searches) 2018-04-27 23:01:03 +02:00
JP Guerrero
c630c90970 Add custom recipes test code 2018-04-27 22:30:41 +02:00
JP Guerrero
ee7c388681 Sugar 2018-04-17 13:30:51 +02:00
Eugen Wesseloh
95518c3725 Add Russian and German translations (using intllib) (#28) 2018-04-08 22:31:16 +02:00
JP Guerrero
f1e58084d1 Add a table memoizer to optimize things 2018-03-08 20:10:00 +01:00
JP Guerrero
2df3f9c02f Bigger item buttons 2018-03-08 17:06:53 +01:00
JPG
86a96c31ad Code clean-up 2017-03-21 14:26:58 +01:00
Wuzzy
a6214a3f1c Add sfinv_buttons support 2017-03-19 21:12:49 +01:00
Wuzzy
9510ed7daa Cycle through alternative receipes when re-clicking on same item 2017-02-17 21:21:49 +01:00
rubenwardy
4ba015e39a Fix typo in syntax for field_close_on_enter[]
Fixes #8
2017-02-17 21:21:19 +01:00
kilbith
452b05d450 Merge pull request #15 from Wuzzy2/shapeless
Add icon for shapeless recipes
2017-02-06 09:59:31 +00:00
Wuzzy
7a4eeaff13 Add icon for shapeless recipes 2017-02-06 04:45:25 +01:00
Dirk Sohler
9c8f3fb0d9 Add wall-mounted sign 2017-01-30 05:27:23 +01:00
JPG
109116143b Make initial item list common for all players (avoid useless updates) 2016-12-24 22:44:34 +01:00
JPG
3776ac9412 Progressive mode: fix search 2016-12-24 22:09:06 +01:00
JPG
7234e42123 Minor cleanup 2016-12-24 19:20:10 +01:00
JPG
c4b963d602 Minor cleanup 2016-12-24 18:50:13 +01:00
JPG
d2f49eb589 Minor cleanup 2016-12-24 03:39:57 +01:00
JPG
4df8a53d45 Window size: replace settings by buttons 2016-12-24 03:17:35 +01:00
JPG
0da36aad98 Replace fuels output icon by fire 2016-12-23 03:11:55 +01:00
taikedz
69c6a3c739 Fix non-showing item recipes 2016-12-22 21:58:31 +01:00
JPG
d0b3cf2887 Attempt to fix #11 2016-12-18 16:27:16 +01:00
JPG
0ba0f2826b Minor cleanup 2016-12-17 23:03:46 +01:00
JPG
d06f2c8cef Don't look up for progressive mode stuff in normal mode 2016-12-17 22:50:43 +01:00
JPG
01a846d2a3 More optimizations 2016-12-17 21:21:55 +01:00
JPG
6705549a31 Minor style cleanup 2016-12-17 19:38:34 +01:00
JPG
e5cb84d02e Replace some space indents by tabs 2016-12-17 18:51:22 +01:00
JPG
455a937521 Minor style cleanup 2016-12-17 18:30:20 +01:00
JPG
b3679124fa Speed-up items list creation 2016-12-17 17:39:22 +01:00
JPG
0ab9775158 Minor optimizations 2016-12-17 14:22:49 +01:00
JPG
d6510f1ad4 Tweak unknown item tooltip 2016-12-16 22:55:50 +01:00
JPG
34082ac1f2 Some refactoring 2016-12-16 22:39:41 +01:00
JPG
17675aa9d0 Indicate itemstring in tooltip for Unknown Items 2016-12-16 18:05:19 +01:00
JPG
7f038737a0 Fix oversight in previous commit 2016-12-16 15:00:10 +01:00
JPG
997b3c59bb Fix nil crash on un{craft,fuel}able items in output 2016-12-16 14:41:07 +01:00
JPG
128413ca04 Correctly place a label 2016-12-16 03:33:07 +01:00
JPG
298397e7dd Make the mod be compatible on older clients (<= 0.4.14) 2016-12-16 03:19:58 +01:00
JPG
d35f525c4f Fix variable shadowing 2016-12-16 03:17:15 +01:00
JP Guerrero
628f59b89e Minor cleaning 2016-12-15 02:12:09 +01:00
JP Guerrero
5469940c3c Set crafting grid limit to 5 for big recipes 2016-12-14 18:32:31 +01:00
JP Guerrero
ee4cfc119a Polish displaying of big recipes 2016-12-14 15:59:29 +01:00
JP Guerrero
1884c92775 Add ability to display big recipes (up to 6x6) 2016-12-14 15:26:58 +01:00
JP Guerrero
1cf9eb0a02 Code cleanup 2016-12-14 00:29:51 +01:00
JP Guerrero
0be1076edc Fix nil crash in progressive mode (again) 2016-12-13 23:24:18 +01:00
JP Guerrero
5113dc407a Fix nil crash when recipe item is unknown 2016-12-13 22:44:40 +01:00
JP Guerrero
f321647a6b Fix list size counting 2016-12-13 22:37:21 +01:00
JP Guerrero
7e1b2b8260 Fix nil crash in progressive mode 2016-12-13 22:00:03 +01:00
JP Guerrero
757e537ea4 Fix checking for big recipes 2016-12-13 21:20:53 +01:00
JP Guerrero
dc1ba8245e Fix checking for big recipes 2016-12-13 20:04:42 +01:00
JP Guerrero
6c9e2b385a Fail gracefully if recipe is greater than 3x3 2016-12-13 19:54:20 +01:00
JP Guerrero
25f4b5d3f1 Fix minor error 2016-12-13 18:17:51 +01:00
JP Guerrero
a74de97c87 Make craftguide's book burnable 2016-12-13 17:38:44 +01:00
JP Guerrero
99f2fc1b50 Tune Lua pattern 2016-12-13 17:12:22 +01:00
JP Guerrero
f141fbf806 Make formspec size a setting in minetest.conf 2016-12-13 14:01:51 +01:00
JP Guerrero
c2011f4bfc Make formspec size easily configurable by user 2016-12-13 03:19:41 +01:00
JP Guerrero
2ff28e3419 Code cleaning, change BG image (no dependancy on default) 2016-12-13 00:34:42 +01:00