Commit Graph

182 Commits

Author SHA1 Message Date
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
Jean-Patrick Guerrero
0271f61fc2 Change tooltip format 2019-03-21 17:44:32 +01:00
Jean-Patrick Guerrero
84756af3a1 Opens the stereotypes to the API 2019-03-21 17:34:20 +01:00
Jean-Patrick Guerrero
9dc656d5a2 Fix broken assert() 2019-03-21 00:21:11 +01:00
Jean-Patrick Guerrero
4c0371c5cc Progressive mode: Fix crash on player leaving 2019-03-14 14:11:44 +01:00
Jean-Patrick Guerrero
b6181ebd7a Minor cleanup 2019-03-13 16:56:35 +01:00
Wuzzy2
eb7292da7a 2×2 for shapeless recipe w/ <= 4 items 2019-03-13 15:22:45 +01:00
Jean-Patrick Guerrero
9df355b899 Add more assert checks 2019-03-12 16:54:26 +01:00
Jean-Patrick Guerrero
a242f6c61c Revert some changes 2019-03-11 03:01:37 +01:00
Jean-Patrick Guerrero
c9ebd5c069 Cleanup 2019-03-10 16:27:36 +01:00
Jean-Patrick Guerrero
e0e57b45ea Quick fix 2019-03-04 01:19:13 +01:00
Jean-Patrick Guerrero
3f7ad71e00 Add an API for search filters 2019-03-03 17:11:02 +01:00
Jean-Patrick Guerrero
eb2a81b8b5 Allow special search filters by groups
Using <optional name>:groups=<group_name1,group_name2,...>
2019-03-01 19:14:43 +01:00
pauloue
92daae3e95 Replace group with item in item's usages 2019-03-01 17:48:51 +01:00
Jean-Patrick Guerrero
183a9ff7a1 Fix get_filtered_items again 2019-02-22 15:28:36 +01:00
Jean-Patrick Guerrero
cdc8e410b6 Add french translations, revise others 2019-02-21 16:59:07 +01:00
Jean-Patrick Guerrero
7219a6096b Minor cleanup 2019-02-21 15:31:28 +01:00
Jean-Patrick Guerrero
7f44517701 Fix alternate button not shown for too large recipes 2019-02-21 01:54:15 +01:00
Jean-Patrick Guerrero
5e4a362a15 Fix some crash 2019-02-21 01:44:09 +01:00
Jean-Patrick Guerrero
058cd05ed7 Separate custom_crafts tables from main table 2019-02-21 01:08:37 +01:00
Jean-Patrick Guerrero
fa30a0d076 Add an API for custom formspec elements 2019-02-21 01:02:59 +01:00
Jean-Patrick Guerrero
92cf2307db Progressive: do not show items that you didn't get 2019-02-20 18:11:59 +01:00
Jean-Patrick Guerrero
bfe99092db Cleanup and optimizations 2019-02-18 01:49:05 +01:00
Jean-Patrick Guerrero
97e6eceb75 Progressive: Poll new items every 0.5s 2019-02-16 01:52:54 +01:00
Jean-Patrick Guerrero
d6432f53bb Add a comment on the item polling 2019-02-13 14:32:36 +01:00
Jean-Patrick Guerrero
8f6f8dda7e Use engine translator, ditch intllib 2019-02-13 14:16:55 +01:00
Jean-Patrick Guerrero
40b5f8725a Fix some glitch 2019-02-13 14:06:33 +01:00
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