Compare commits

..

109 Commits

Author SHA1 Message Date
d903aaca89 Clickable group items 2020-07-20 02:20:41 +02:00
c30db91662 Final(?) missing recipes fix 2020-07-20 02:20:38 +02:00
1fb7790c4e Cleanup groups_to_items 2020-07-19 10:35:10 +02:00
74785bca5e Fix fuel recipes not appearing 2020-07-17 15:41:36 +02:00
7ea6899b06 Fix cooking recipes not appearing 2020-07-17 15:24:37 +02:00
9a0e36d884 Fix drops 2020-07-17 02:32:56 +02:00
9890d8a669 Min limit cooking 2020-07-17 02:01:38 +02:00
98f8499103 Make clear_craft dummy 2020-07-17 01:42:39 +02:00
d57cb7865b Finally fix cooking recipes 2020-07-17 00:58:59 +02:00
0b37b2bb2f fix wip 2020-07-16 14:48:14 +02:00
701c7ae690 Remove useless code 2020-07-16 03:01:57 +02:00
14c1372550 Add leaves group 2020-07-16 02:46:20 +02:00
4a85acec9a Clarify comment 2020-07-16 02:36:04 +02:00
fa1e330856 Cleanup 2020-07-16 02:31:17 +02:00
89979a8610 Some cleanup with recipes caching 2020-07-16 00:21:39 +02:00
2771ec12f5 Remove cache_fuel() 2020-07-15 17:26:57 +02:00
bba7dd81b9 Remove useless code 2020-07-15 15:27:17 +02:00
1ebc1eab68 Reduce font size 2020-07-15 15:17:49 +02:00
84a7377ed0 Fixed missed recipes (again and again) 2020-07-15 15:14:43 +02:00
c008f5097d Only search in translated item description 2020-07-15 15:06:02 +02:00
bfa7f4d631 Some fixes 2020-07-15 02:40:29 +02:00
3a0a2c032d Fine-tuning 2020-07-15 00:55:52 +02:00
bfdb67783b Fix missing recipes again 2020-07-15 00:28:23 +02:00
00dcea5c50 Better looking labels 2020-07-14 20:03:39 +02:00
361c64e51c Fix replacement labels again 2020-07-14 19:30:10 +02:00
c0823faad3 Fix possible missed items in cache 2020-07-14 19:20:13 +02:00
e6d1857799 Strip item count in replacement tooltip 2020-07-13 01:14:33 +02:00
95e1aea493 Fix empty item tooltip 2020-07-13 00:38:23 +02:00
1980fefa50 Fix replacement tooltip 2020-07-12 22:46:28 +02:00
835ab3ba36 Rename function 2020-07-12 17:05:11 +02:00
b596a0d10c Enable to search in user local language (#114) 2020-07-12 17:03:47 +02:00
a51fe10c92 Improve french translation (#113) 2020-07-12 17:02:56 +02:00
24115a0d84 Fix string len for cyrillic chars 2020-07-12 15:06:56 +02:00
13b4edcc46 Change screenshot 2020-07-10 15:55:20 +02:00
f7515ab429 Add z_indexes 2020-07-10 01:43:54 +02:00
763e953b8b Move vars 2020-07-10 01:30:38 +02:00
5ef410730a Refine drops 2020-07-10 01:12:48 +02:00
fc1141c624 Fix replacements 2020-07-09 17:28:15 +02:00
9fa0c44cd7 Fix stereotypes 2020-07-09 17:23:39 +02:00
da186f63a4 Fix the utterly broken drop code from UI 2020-07-09 16:48:43 +02:00
543d162abb Some refactoring 2020-07-08 14:46:07 +02:00
ba191499f9 Fix aliases 2020-07-08 02:21:42 +02:00
c4576d14ec Fix custom recipes displaying 2020-07-08 01:02:44 +02:00
e899935c8e Fix tooltip 2020-07-08 00:15:34 +02:00
50bdedb503 Some fixes
s
2020-07-07 21:14:01 +02:00
40d70c0339 Better placing of recipe indexing strings 2020-07-07 21:13:59 +02:00
b6e1a4965e [WIP] Use of lang_code 2020-07-07 19:15:02 +02:00
4b744e243c Code tidy 2020-07-07 18:24:18 +02:00
f74956e8e7 Add recommendation in README 2020-07-07 18:20:08 +02:00
1247e1a641 Fix french sentence 2020-07-07 18:06:00 +02:00
049dabe5bb Push fuel usages back 2020-07-07 17:59:16 +02:00
6d332a94ac Small fix 2020-07-07 17:28:18 +02:00
e941443a59 Greatly speed-up mod loading (thanks @pauloue) 2020-07-07 17:17:43 +02:00
0b7bfca0ec Code cleaning 2020-07-03 19:17:24 +02:00
60d89f51e7 Fix large recipes displaying 2020-07-03 19:08:33 +02:00
1c990f6476 Fix drops 2020-07-03 18:42:17 +02:00
6f2c79e7e1 Add tools field in drop section 2020-07-03 15:31:00 +02:00
762c166485 Add strings to locales 2020-06-21 09:28:55 +02:00
0806894dc2 Set style on arrows 2020-06-21 01:41:54 +02:00
7e0819aa18 Code cleaning 2020-06-21 01:32:57 +02:00
4a5f18124a Improve Bookmarks 2020-06-21 00:19:30 +02:00
c7a56824c2 New design 2020-06-20 19:10:45 +02:00
35c3bc170d Small design update 2020-06-20 00:16:37 +02:00
4ff1fd15b8 Center pagenum/pagemax with a button 2020-06-13 01:41:30 +02:00
35021a6f0b Style 2020-06-11 14:58:30 +02:00
7ef62f4f8b Strip newline in item description 2020-05-14 16:34:15 +02:00
f075e67be9 Notify outdated client on joinplayer 2020-05-14 16:04:19 +02:00
cd17b8d38e Show HUD success only in singleplayer mode 2020-05-14 02:46:42 +02:00
46cb7615bf Fix some crashes 2020-05-14 02:17:24 +02:00
679e005f58 Fix item positioning for large recipes 2020-04-20 00:04:17 +02:00
bf28a48c40 Code cleaning 2020-04-16 18:26:42 +02:00
bd5c5fcd16 Update locales 2020-04-16 18:26:42 +02:00
095e45197e Change background color to be more Discord-like 2020-04-16 17:40:27 +02:00
13252049c2 Decolorize msg() 2020-04-16 16:32:54 +02:00
87177d0d7f More safeguard 2020-04-16 16:20:25 +02:00
109965175d Fix crash 2020-04-16 16:14:57 +02:00
4ff200dfd9 Merge branch 'master' of https://github.com/minetest-mods/craftguide 2020-04-16 15:53:46 +02:00
3baab53b84 Update German translations 2020-04-16 15:53:36 +02:00
8a4fbd0933 Italian localization update (#107)
Co-authored-by: Hamlet <3672480-H4mlet@users.noreply.gitlab.com>
2020-04-16 15:51:45 +02:00
5560374801 Add missing tree group 2020-04-16 04:48:44 +02:00
5e23600001 Wording 2020-04-16 04:28:11 +02:00
f39ca50f3b Complete french translations 2020-04-16 03:40:03 +02:00
450797e148 Do not size main panel depending on ROWS 2020-04-16 03:25:26 +02:00
6d994fc8d5 Add an option to disable the auto-cache 2020-04-16 03:21:03 +02:00
1910b4b345 Style 2020-04-16 02:25:22 +02:00
4823a9dd62 Add prettier group names in tooltip 2020-04-16 02:13:17 +02:00
689840d6f5 Remove progress bar because of too much issues 2020-04-13 00:58:19 +02:00
3f34d275c1 Fix crash when another mod outputs on terminal 2020-04-12 00:05:24 +02:00
8c7408f66f Style 2020-04-07 18:10:47 +02:00
4483f60cbc Fix icon not showing 2020-04-06 14:39:08 +02:00
79693f5c88 Update screenshot 2020-04-05 22:57:08 +02:00
b8c491a489 Remove useless textures 2020-04-05 22:53:27 +02:00
34231e01df Minetest 5.2+ required to use craftguide 2020-04-05 22:34:46 +02:00
2d6951cd0c Config value for disabling the cache load progress bar (#101) 2020-04-04 23:45:32 +02:00
df21df2bce Add icon when no recipes 2020-04-04 20:56:51 +02:00
5669bcdcb7 Add attached_node and choppy to craftguide:sign. (#100) 2020-04-04 19:22:27 +02:00
3ad05328bf New sign texture 2020-03-31 00:56:11 +02:00
7793019357 Adapt to new engine API 2020-03-19 17:33:53 +01:00
a97c0b96b3 Fix crash 2020-02-26 20:53:11 +01:00
63769603c4 Improve loading bar 2020-02-23 13:14:42 +01:00
189a3ff971 Rollback changes in srarch() 2020-02-16 14:48:43 +01:00
ca723202d6 Improve search look 2020-02-16 14:28:33 +01:00
a3e7031c04 Add animated images 2020-02-16 14:12:38 +01:00
5fc7e7c087 Style 2020-02-09 02:08:24 +01:00
aa61333ee3 Fix 2020-02-09 02:01:51 +01:00
e2cdfc28b0 Fix 2020-02-09 01:53:35 +01:00
aa9f7d6da3 Fix crash in sfinv mode 2020-02-09 01:46:15 +01:00
d87c64618c Don't show chances to drop for usages 2020-02-04 23:42:47 +01:00
3455257df5 Code cleaning 2020-02-03 01:01:00 +01:00
15 changed files with 913 additions and 664 deletions

View File

@ -14,9 +14,11 @@ from items you ever had in your inventory. To enable it: `craftguide_progressive
Use the command `/craft` to show the recipe(s) of the pointed node.
For developers, `craftguide` also has a [modding API](https://github.com/minetest-mods/craftguide/blob/master/API.md).
For developers, `craftguide` also has a [modding API](https://github.com/minetest-mods/craftguide/blob/master/API.md).
For the best visuals, it is recommended to enable `inventory_items_animations` in `minetest.conf`.
Love this mod? Donations are appreciated: https://www.paypal.me/jpg84240
![Preview2](https://i.imgur.com/w7KMS9G.png)
![Preview2](https://i.imgur.com/TrBouDq.png)

1382
init.lua

File diff suppressed because it is too large Load Diff

View File

@ -3,17 +3,58 @@
Craft Guide=Rezeptbuch
Crafting Guide=Rezeptbuch
Crafting Guide Sign=Rezepttafel
Bookmarks=Lesezeichen
Usage @1 of @2=Verwendung @1 von @2
Recipe @1 of @2=Rezept @1 von @2
No recipes=Keine Rezepte
No usages=Keine Verwendungen
Burning time: @1=Brennzeit: @1
Cooking time: @1=Kochzeit: @1
Replaced by @1 on smelting=Ersetzt durch @1 beim Schmelzen
Replaced by @1 on burning=Ersetzt durch @1 beim Brennen
Replaced by @1 on crafting=Ersetzt durch @1 beim Fertigen
Repairable by step of @1=Reparierbar um @1
Any item belonging to the group(s): @1=Beliebiger Gegenstand aus Gruppe(n): @1
Any black dye=Beliebiger schwarzer Farbstoff
Any black flower=Beliebige schwarze Blume
Any blue dye=Beliebiger blauer Farbstoff
Any blue flower=Beliebige blaue Blume
Any brown dye=Beliebiger brauner Farbstoff
Any coal=Beliebige Kohle
Any cyan dye=Beliebiger türkiser Farbstoff
Any dark green dye=Beliebiger dunkelgrüner Farbstoff
Any dark grey dye=Beliebiger dunkelgrauer Farbstoff
Any green dye=Beliebiger grüner Farbstoff
Any green flower=Beliebige grüne Blume
Any grey dye=Beliebiger grauer Farbstoff
Any kind of stone block=Beliebiger Steinblock
Any magenta dye=Beliebiger magenta Farbstoff
Any orange dye=Beliebiger orange Farbstoff
Any orange flower=Beliebige orange Blume
Any pink dye=Beliebiger rosa Farbstoff
Any red dye=Beliebiger roter Farbstoff
Any red flower=Beliebige rote Blume
Any sand=Beliebiger Sand
Any stick=Beliebiger Stock
Any tree=Beliebiger Baum
Any vessel=Beliebiger Behälter
Any violet dye=Beliebiger violetter Farbstoff
Any violet flower=Beliebige violette Blume
Any white dye=Beliebiger weißer Farbstoff
Any white flower=Beliebige weiße Blume
Any wood planks=Beliebige Holzplanken
Any wool=Beliebige Wolle
Any yellow dye=Beliebiger gelber Farbstoff
Any yellow flower=Beliebige gelbe Blume
Recipe's too big to be displayed (@1x@2)=Rezept ist zu groß für die Anzeige (@1×@2)
Shapeless=Formlos
Cooking=Kochen
No item to show=Nichts anzuzeigen
Collect items to reveal more recipes=Gegenstände aufsammeln, um mehr Rezepte aufzudecken
Show recipe(s) of the pointed node=Rezept(e) des gezeigten Blocks anzeigen
No node pointed=Auf keinen Block gezeigt
You don't know a recipe for this node=Sie kennen kein Rezept für diesen Block
No recipe for this node=Kein Rezept für diesen Block
No node pointed=Auf keinem Block gezeigt
You don't know a recipe or usage for this item=Sie kennen kein Rezept und keine Verwendung für diesen Gegenstand
No recipe or usage for this item=Kein Rezept und keine Verwendung für diesen Gegenstand
Digging=Graben
Digging Chance=Grabechance
@1 of chance to drop=@1 Abwurfwahrscheinlichkeit

View File

@ -2,8 +2,12 @@
Craft Guide=Guide de recettes
Crafting Guide=Guide de recettes
Usage @1 of @2=Usage @1 de @2
Recipe @1 of @2=Recette @1 de @2
Crafting Guide Sign=Guide de recettes
Bookmarks=Favoris
Usage @1 of @2=Usage @1 sur @2
Recipe @1 of @2=Recette @1 sur @2
No recipes=Pas de recettes
No usages=Pas d'usages
Burning time: @1=Temps de combustion : @1
Cooking time: @1=Temps de cuisson : @1
Replaced by @1 on smelting=Remplacé par @1 lors de la cuisson
@ -11,6 +15,37 @@ Replaced by @1 on burning=Remplacé par @1 lors de la combustion
Replaced by @1 on crafting=Remplacé par @1 lors de la fabrication
Repairable by step of @1=Réparable par étape de @1
Any item belonging to the group(s): @1=Tout item appartenant au(x) groupe(s) : @1
Any black dye=Quelconque colorant noir
Any black flower=Quelconque fleur noire
Any blue dye=Quelconque colorant bleu
Any blue flower=Quelconque fleur bleue
Any brown dye=Quelconque colorant marron
Any coal=Quelconque charbon
Any cyan dye=Quelconque colorant bleu ciel
Any dark green dye=Quelconque colorant vert foncé
Any dark grey dye=Quelconque colorant gris foncé
Any green dye=Quelconque colorant vert
Any green flower=Quelconque fleur verte
Any grey dye=Quelconque colorant gris
Any kind of stone block=Quelconque roche
Any magenta dye=Quelconque colorant magenta
Any orange dye=Quelconque colorant orange
Any orange flower=Quelconque fleur orange
Any pink dye=Quelconque colorant rose
Any red dye=Quelconque colorant rouge
Any red flower=Quelconque fleur rouge
Any sand=Quelconque sable
Any stick=Quelconque bâton
Any tree=Quelconque tronc d'arbre
Any vessel=Quelconque couvert
Any violet dye=Quelconque colorant violet
Any violet flower=Quelconque fleur violette
Any white dye=Quelconque colorant blanc
Any white flower=Quelconque fleur blanche
Any wood planks=Quelconques planches de bois
Any wool=Quelconque laine
Any yellow dye=Quelconque colorant jaune
Any yellow flower=Quelconque fleur jaune
Recipe's too big to be displayed (@1x@2)=La recette est trop grande pour être affichée (@1x@2)
Shapeless=Sans forme
Cooking=Cuisson
@ -18,5 +53,13 @@ No item to show=Aucun item à afficher
Collect items to reveal more recipes=Collecte des items pour révéler plus de recettes
Show recipe(s) of the pointed node=Affiche les recettes du bloc visé
No node pointed=Aucun bloc visé
You don't know a recipe for this node=Tu ne connais aucune recette pour ce bloc
No recipe for this node=Aucune recette pour ce bloc
You don't know a recipe or usage for this item=Vous ne connaissez aucune recette pour ce bloc
No recipe or usage for this item=Aucune recette pour ce bloc
Digging=Destruction
Digging (by chance)=Destruction (par chance)
@1 of chance to drop=@1 de chance de tomber
Mark this item=Mettre en favori.
Unmark this item=Enlever des favoris.
Cannot mark this item. Limit of bookmarks reached.=Impossible de mettre cet item en favori. Limite des favoris atteinte.
Only drop if using one of these tools: @1=Tombe seulement si détruit avec un de ces outils : @1
Only drop if using this tool: @1=Tombe seulement si détruit avec cet outil : @1

View File

@ -2,25 +2,59 @@
Craft Guide=Guida di assemblaggio
Crafting Guide=Guida d'assemblaggio
Crafting Guide Sign=Cartello della guida d'assemblaggio
Crafting Guide Sign=Cartello della guida di assemblaggio
Bookmarks=Segnalibri
Usage @1 of @2=Utilizzo @1 di @2
Recipe @1 of @2=Ricetta @1 di @2
Burning time: @1=Tempo di bruciatura: @1
No recipes=Nessuna ricetta
No usages=Nessun utilizzo
Burning time: @1=Tempo di combustione: @1
Cooking time: @1=Tempo di cottura: @1
Replaced by @1 on smelting=Sostituito da @1 alla fusione
Replaced by @1 on burning=Sostituito da @1 alla bruciatura
Replaced by @1 on burning=Sostituito da @1 alla combustione
Replaced by @1 on crafting=Sostituito da @1 all'assemblaggio
Repairable by step of @1=Riparabile per passo di @1
Any item belonging to the group(s): @1=Qualunque oggetto appartenente al gruppo: @1
Any item belonging to the group(s): @1=Qualunque oggetto appartenente al/ai gruppo/i: @1
Any black dye=Qualunque tintura nera
Any black flower=Qualunque fiore nero
Any blue dye=Qualunque tintura blu
Any blue flower=Qualunque fiore blu
Any brown dye=Qualunque tintura marrone
Any coal=Qualunque carbone
Any cyan dye=Qualunque tintura ciano
Any dark green dye=Qualunque tintura verde scura
Any dark grey dye=Qualunque tintura grigio scura
Any green dye=Qualunque tintura verde
Any green flower=Qualunque fiore verde
Any grey dye=Qualunque tintura grigia
Any kind of stone block=Qualunque tipo di blocco di pietra
Any magenta dye=Qualunque tintura magenta
Any orange dye=Qualunque tintura arancione
Any orange flower=Qualunque fiore arancione
Any pink dye=Qualunque tintura rosa
Any red dye=Qualunque tintura rossa
Any red flower=Qualunque fiore rosso
Any sand=Qualunque sabbia
Any stick=Qualunque bastone
Any tree=Qualunque albero
Any vessel=Qualunque contenitore
Any violet dye=Qualunque tintura viola
Any violet flower=Qualunque fiore viola
Any white dye=Qualunque tintura bianca
Any white flower=Qualunque fiore bianco
Any wood planks=Qualunque asse di legno
Any wool=Qualunque lana
Any yellow dye=Qualunque tintura gialla
Any yellow flower=Qualunque fiore giallo
Recipe's too big to be displayed (@1x@2)=La ricetta è troppo grande per essere mostrata (@1x@2)
Shapeless=Senza forma
Cooking=Cottura
No item to show=Nessun oggetto da mostrare
Collect items to reveal more recipes=Raccogli oggetti per svelare più ricette
Show recipe(s) of the pointed node=Mostra la ricetta del nodo puntato
Show recipe(s) of the pointed node=Mostra la/le ricetta/e del nodo puntato
No node pointed=Nessun nodo puntato
You don't know a recipe for this node=Non conosci una ricetta per questo nodo
No recipe for this node=Nessuna ricetta per questo nodo
You don't know a recipe or usage for this item=Non conosci una ricetta o un utilizzo per questo oggetto
No recipe or usage for this item=Nessuna ricetta o utilizzo per questo oggetto
Digging=Scavando
Digging Chance=Probabilità di scavare
@1 of chance to drop=@1 di probabilità di rilascio

View File

@ -3,6 +3,7 @@
Craft Guide=
Crafting Guide=
Crafting Guide Sign=
Bookmarks=
Usage @1 of @2=
Recipe @1 of @2=
No recipes=
@ -14,6 +15,37 @@ Replaced by @1 on burning=
Replaced by @1 on crafting=
Repairable by step of @1=
Any item belonging to the group(s): @1=
Any black dye=
Any black flower=
Any blue dye=
Any blue flower=
Any brown dye=
Any coal=
Any cyan dye=
Any dark green dye=
Any dark grey dye=
Any green dye=
Any green flower=
Any grey dye=
Any kind of stone block=
Any magenta dye=
Any orange dye=
Any orange flower=
Any pink dye=
Any red dye=
Any red flower=
Any sand=
Any stick=
Any tree=
Any vessel=
Any violet dye=
Any violet flower=
Any white dye=
Any white flower=
Any wood planks=
Any wool=
Any yellow dye=
Any yellow flower=
Recipe's too big to be displayed (@1x@2)=
Shapeless=
Cooking=
@ -24,5 +56,10 @@ No node pointed=
You don't know a recipe or usage for this item=
No recipe or usage for this item=
Digging=
Digging Chance=
Digging (by chance)=
@1 of chance to drop=
Mark this item=
Unmark this item=
Cannot mark this item. Limit of bookmarks reached.=
Only drop if using one of these tools: @1=
Only drop if using this tool: @1=

View File

@ -1,5 +1,5 @@
# The progressive mode shows recipes you can craft from items you ever had in your inventory.
craftguide_progressive_mode (Progressive Mode) bool false
craftguide_progressive_mode (Learn crafting recipes progressively) bool false
# Integration in the default Minetest Game inventory.
craftguide_sfinv_only (Sfinv only) bool false
craftguide_sfinv_only (Crafting Guide in inventory only) bool false

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
textures/craftguide_no.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB