Commit Graph

148 Commits

Author SHA1 Message Date
Jean-Patrick Guerrero
0956e86d73 Check also the 'craftpreview' list 2019-02-13 01:30:34 +01:00
Jean-Patrick Guerrero
07bc14e516 Track new discovered items all the time 2019-02-13 01:10:49 +01:00
pauloue
b3bba5c2ff Fix get_filtered_items() 2019-02-13 01:05:21 +01:00
Jean-Patrick Guerrero
4560457504 Mitigate the performance regression since fc2d2e5 2019-02-11 23:52:31 +01:00
Jean-Patrick Guerrero
3f44ae00d2 Remove demo custom recipe 2019-02-11 01:22:45 +01:00
Jean-Patrick Guerrero
1ba1e41dcd Progressive: Add a better error message for empty items list 2019-02-11 00:30:06 +01:00
Jean-Patrick Guerrero
3cf4bef83a Shorten function name 2019-02-11 00:22:00 +01:00
Wuzzy2
c4272d8d24 Add formspec escape, apply proper format strings 2019-02-11 00:18:37 +01:00
Jean-Patrick Guerrero
aac3e3f693 Add API call to open crafting guide (#59) 2019-02-11 00:01:32 +01:00
Jean-Patrick Guerrero
fc2d2e585c Fix issue #60 2019-02-10 23:07:28 +01:00
Jean-Patrick Guerrero
e37f1df6d3 Fix error message in progressive mode 2019-02-10 20:37:24 +01:00
Jean-Patrick Guerrero
6e744b44b1 Few minor optimizations 2019-02-07 16:08:50 +01:00
Paul Ouellette
a7dd13994f remove shapeless, minor refactors 2019-02-06 22:59:38 -05:00
Paul Ouellette
85ece2c8b9 filter /craft recipes, fix crash, fix sfinv form 2019-02-06 15:05:33 -05:00
Jean-Patrick Guerrero
65a8707a69 Repair the /craft command 2019-02-06 02:02:41 +01:00
Jean-Patrick Guerrero
3e9e16b661 Minor cleaning 2019-02-06 01:26:32 +01:00
pauloue
4289dea108 Separate recipe filters and progressive mode 2019-02-03 16:17:02 +01:00
Jean-Patrick Guerrero
5625a0cb1c Remove superfluous call 2019-01-31 01:10:09 +01:00
Jean-Patrick Guerrero
5e8079b2e8 Saving p_items not necessary 2019-01-30 02:14:11 +01:00
Jean-Patrick Guerrero
fd375c92b3 Init data when player joins 2019-01-30 02:02:09 +01:00
Jean-Patrick Guerrero
7fc2d3a96a Ensure sfinv is loaded 2019-01-27 16:32:48 +01:00
Jean-Patrick Guerrero
c1b1bef263 Progressive mode: Remember discovered recipes 2019-01-25 02:43:33 +01:00
Jean-Patrick Guerrero
e6268a395f Empty data when player leaves 2019-01-22 02:03:01 +01:00
Jean-Patrick Guerrero
5d73794096 Localize formspec string formats 2019-01-22 01:59:54 +01:00
pauloue
d950c71dbc Refactors, optimizations and fixes 2019-01-22 01:45:21 +01:00
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