Commit Graph

406 Commits

Author SHA1 Message Date
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
JP Guerrero
f3ce043a53 Fix enter/quit fields stuff (again) 2016-12-11 21:08:32 +01:00
JP Guerrero
3f832eac3d Show empty button when no matching item created...
from ghost group is found
2016-12-11 20:21:03 +01:00
JP Guerrero
5dd1d08943 Fix craftguide showing rubbish after pressing Esc 2016-12-11 18:28:30 +01:00
JP Guerrero
fd34166855 Don't show detailed tooltips in main list 2016-12-11 18:03:54 +01:00
JP Guerrero
9c8ae2b69a Progressive Mode: Fix item groups not being fully considered 2016-12-11 16:08:07 +01:00
JP Guerrero
aa4f2c55f2 Code cleanup, change arrow texture 2016-12-11 00:34:48 +01:00
JP Guerrero
4a5c0acd96 Show burnable items in main list and...
show more infos in tooltip for output item
2016-12-10 21:24:43 +01:00
JP Guerrero
3f81c7961f Add Fuel time indication 2016-12-10 18:36:05 +01:00
JP Guerrero
864b43da2c Add optional Progressive Mode
The progressive mode is a Terraria-like crafting guide system that only
list the items in the crafting guide for which you already have the ingredients
in your inventory. The progressive mode is disabled by default and can be enabled with
`craftguide_progressive_mode = true` in `minetest.conf`.

Thanks to @kaeza and @Wuzzy2 for the idea.
See discussion on https://github.com/minetest/minetest_game/issues/1435
2016-12-08 20:57:46 +01:00
JP Guerrero
e8508e1169 Minor style cleaning 2016-12-05 15:27:03 +01:00
JP Guerrero
0c3287a415 Fix crash in some specific conditions 2016-12-04 00:45:48 +01:00
Wuzzy2
ebcedb44b9 Advanced group support in tooltips (modified by kilbith)
NOTE: Minetest 0.4.14-dev or 0.4.15 required.
2016-12-03 21:35:40 +01:00
JP Guerrero
93c2d3dc81 Support for search on pressing Enter and use minetest.colorize
NOTE: Minetest 0.4.14-git or 0.4.15 required
2016-12-01 15:09:49 +01:00
Tim
51a00b957e Start item listing at index instead of skipping there.
Also fixes a linter warning.
2016-08-05 17:00:16 +02:00
Jean-Patrick Guerrero
1b25d7ab98 Import changes from xdecor 2016-03-17 23:39:24 +01:00
Jean-Patrick Guerrero
91cdc435dc Import changes from xdecor 2016-03-17 20:40:57 +01:00
Jean-Patrick Guerrero
852b07f8e4 Remember last formspec on re-opening 2016-03-17 01:10:34 +01:00
Jean-Patrick Guerrero
cf51f9defa Small simplification 2016-03-17 00:31:11 +01:00
kilbith
c129894942 Change recipe to prevent conflicts and add book group in nodedef 2016-02-29 17:21:06 +01:00
kilbith
3ffc1d9bdc Fix wrong param name on fields callback 2016-02-23 18:30:41 +01:00
Jean-Patrick Guerrero
47178406c5 Localize more variables 2016-02-23 11:59:16 +01:00
Jean-Patrick Guerrero
3285ea6ec0 Small localization and pattern simplifying 2016-02-22 14:11:54 +01:00
jeanpatrick.guerrero@gmail.com
355abc7993 Initial commit 2016-02-20 15:42:52 -08:00