Compare commits

...

102 Commits
1.10.1 ... 1.14

Author SHA1 Message Date
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
251a8b1bc9 Show fav icon only once 2020-02-03 00:31:14 +01:00
4dd40e06f5 New favorite icons 2020-02-02 21:39:56 +01:00
f9f9988868 Fix crash in progressive mode 2020-01-23 00:22:05 +01:00
dcb479dc44 Fix color in HUD 2020-01-22 00:06:47 +01:00
82bb95387e style 2020-01-12 23:30:57 +01:00
8626584dbd Check formspec_version instead of CORE_VERSION 2020-01-12 23:06:53 +01:00
f7ccd282be Drop MT <= 5.0 support and fix positioning 2020-01-12 22:30:12 +01:00
c9773f1ee9 Fix crash 2020-01-12 10:01:52 +01:00
001176b124 Add forgotte files 2020-01-07 01:48:17 +01:00
2c2dbc9efc Update License 2020-01-07 01:12:04 +01:00
24d8faec59 Minor style cleaning 2020-01-07 00:33:55 +01:00
58b2f49c8c Add bookmarks 2020-01-07 00:17:00 +01:00
a823a200b7 . 2020-01-01 22:10:06 +01:00
3c3733a226 Minor cleaning 2019-12-17 02:09:40 +01:00
55f919ab8f Minor fix 2019-12-17 01:51:55 +01:00
937b40aae4 Remove recipe from caches after calling clear_craft() 2019-12-17 01:46:22 +01:00
97036d9f9a New formspec style 2019-12-17 01:33:40 +01:00
17a8c5ddd8 Merge branch 'master' of https://github.com/minetest-mods/craftguide 2019-12-09 21:16:47 +01:00
9fb5a93b2b Style 2019-12-09 21:16:41 +01:00
00a79d26e5 Fix comparing items with their aliases (#95) 2019-12-03 13:54:56 +01:00
303aa3ef91 Style cleaning 2019-11-27 13:36:06 +01:00
89059f20b6 Reorder formspec elements 2019-11-10 16:11:29 +01:00
0d2af529ef Add forgotten files 2019-11-05 18:34:26 +01:00
7a7bb8dc51 Remove brackets 2019-11-03 19:16:29 +01:00
4241c89c17 http_post_data -> export_url 2019-11-01 02:04:35 +01:00
70d38d1c63 Minor cleaning 2019-11-01 01:56:35 +01:00
22 changed files with 976 additions and 668 deletions

2
API.md
View File

@ -204,7 +204,7 @@ You can add a stereotype like so:
craftguide.group_stereotypes.radioactive = "mod:item"
```
#### `craftguide.http_post_data`
#### `craftguide.export_url`
If set, the mod will export all the cached recipes and usages in a JSON format
to the given URL (HTTP support is required¹).

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)

1449
init.lua

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@ License of source code
The MIT License (MIT)
Copyright (c) 2015-2019 Jean-Patrick Guerrero and contributors.
Copyright (c) 2015-2020 Jean-Patrick Guerrero and contributors.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

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
Crafting Guide Sign=Guide de recettes
Bookmarks=Favoris
Usage @1 of @2=Usage @1 de @2
Recipe @1 of @2=Recette @1 de @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=Tu ne connais 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: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
textures/craftguide_fav.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
textures/craftguide_no.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 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