Commit Graph

69 Commits (master)

Author SHA1 Message Date
Brett O'Donnell 20520b5030 Merge pull request #19 from kakalak-lumberJack/patch-2
nil value fix line 1835
2017-01-31 15:29:46 +10:30
kakalak-lumberJack 0328813eb1 delete accidental
line 51
2017-01-30 19:17:14 -05:00
Brett O'Donnell cf56a3ab76 Update README.md 2015-08-14 22:44:01 +09:30
Brett O'Donnell 83eccb40fc Update README.md 2015-08-14 22:41:57 +09:30
Brett O'Donnell 112a2f2ff8 Update README.md 2015-08-14 22:40:21 +09:30
Brett O'Donnell dab98f1e60 Create bower.json 2015-08-14 22:38:58 +09:30
cornernote 178c9fdd23 changes from Miner59 2015-07-25 02:25:46 +09:30
Miner59 4ba2accdcf Merge pull request #11 from Miner59/master
Add Check if player==nil to fix issue #10
2015-07-18 22:05:55 +02:00
Miner59 9bfb6f8aa3 Check if player==nil
Fixes an issue with craft guide crashing because player= nil. My own fault, because I added code which calls a function with "nil" as player.
2015-07-18 21:56:58 +02:00
Brett O'Donnell 156354a994 Merge pull request #9 from Miner59/master
Fix for small bugs I found
2015-07-10 23:01:34 +09:30
Miner59 51b4cc16b7 Fix bugs
Amount of items was not shown correct sometimes. Reason was that a number was read from metadata, but metadata don't seems to update instantly so it was wrong. Reorganized code and added a minetest.after call to prevent stack overflow because of recursive function calls.
2015-07-10 14:50:34 +02:00
Brett O'Donnell aeda558faa Merge pull request #8 from Miner59/master
Bugfix for copy crafting recipes feature
2015-05-24 18:37:17 +09:30
Miner59 5deb87173f Small mistake detected 2015-05-23 13:45:13 +02:00
Miner59 82fca93528 BUGFIX: Don't repair tools and keep metadata of items
I completely forgot that i need to preserve the wear and metadata when the crafting recipe is copied to the crafting grid.
Leads to repaired tools and lost item metadata. Should now be fixed.
2015-05-23 13:38:50 +02:00
Brett O'Donnell 15e06379df Merge pull request #7 from Miner59/master
Add buttons to copy selected recipe to crafting grid
2015-05-20 08:40:18 +09:30
Miner59 2d8ccdfc20 Add buttons to copy selected recipe to crafting grid
Places all items in the crafting grid if you have enough in your inventory.
2015-05-19 18:20:41 +02:00
Brett O'Donnell 73b84de0a8 Merge pull request #6 from Miner59/master
Reduce log output, save results in table
2014-12-30 16:15:53 +10:30
Miner59 2292c9f6f5 Little fix 2014-12-29 18:58:36 +01:00
Miner59 18d983b708 load "you need" items from table instead of calculating again
Save items and their amounts in a table when they are requested the first time and then load it from there.
Also commented out the log output of a complete recipe because it spams logs too much.
Added a bit more comments and made search field a little bit longer.

IGNORE PREVIOUS COMMIT, I PASTED WRONG
2014-12-29 18:45:41 +01:00
Miner59 28814c6f57 load "you need" items from table instead of calculating again
Save items and their amounts in a table when they are requested the first time and then load it from there.
Also commented out the log output of a complete recipe because it spams logs too much.
Added a bit more comments and made search field a little bit longer.
2014-12-29 18:36:55 +01:00
Brett O'Donnell e839536100 Merge pull request #5 from Miner59/master
Overwrite metadata from old version automatically
2014-12-25 21:14:15 +10:30
Miner59 c97a7d6e25 Overwrite metadata from old version automatically 2014-12-25 10:21:58 +01:00
Brett O'Donnell dd3e656d0e Merge pull request #4 from Miner59/master
New pull request because I found a small bug in old one
2014-12-25 18:53:06 +10:30
Miner59 3f63ce799c Fixed restoring of text entered in search field 2014-12-25 09:10:40 +01:00
Miner59 76e6845153 Override minetest register.alias 2014-12-24 17:24:49 +01:00
Miner59 f7f39cc1c5 Now works with recent versions of technic mod, too
Shows recipes of machines from technic mod, too. This includes recipes for grinder, compressor, extractor, alloy furnace and centrifuge.
Should work with old and new versions of technic mod.
Also added code to better handle aliases which occur in recipes.
2014-12-24 17:23:03 +01:00
Miner59 b66d1847c8 Changed the adding of additional crafts
Additional crafts are now added to craft list when the formspec changes the first time. This seems better.
2014-12-22 02:22:18 +01:00
Miner59 79342837c0 Forgot to remove some debug log outputs 2014-12-22 01:57:29 +01:00
Miner59 7aad06f1b0 Show recipes for technic machines in craft guide & show crafts of type fuel
Shows recipes from grinder, alloy furnace, extractor, compressor and centrifuge in craft guide, if technic mod is loaded.
Not tested with newest version of technic mod at the moment!
Second, craft guide now shows crafts of type fuel (default is, to show fuel recipes only when there are other craft types for this item).
Although added some function to not display crafts with slabs, panels, microblocks, etc... added by moreblocks mod.
Fixed: search text should now stay there when craft guide is closed.
2014-12-22 01:44:19 +01:00
Miner59 8f74131967 Removes copy&paste code and some bugs were fixed
removes much copy&paste code, saving items in tables instead of inventory slots for "you need:" feature, and it includes a fix to save the text entered in search field
2014-12-19 09:20:40 +01:00
Miner59 66152d38c0 Delete craft_guide_group.png
not needed, forgot to remove this file again in my updated version
2014-12-19 09:06:45 +01:00
cornernote 3cc6ce707a changes from Miner59 including:
- no unknown items shown when recipes have "group:..." inside, there is then instead a button displayed which shows all items in this group when you press it.

- added a new feature to show the complete list of items you need for a item. For example: output: default:bookshelf,
then it shows: 6 "group:wood", 27 "papyrus". This feature was the most work. I hope it works, but no guarantee.(It could lead to huge for loops which it doesn't exit when recipes are very compex. Also needs to be tested which more mods.)

- you can direct change from last page to first page and from first page to last page now

- added a button to exit the formspec

- crafting recipe for craft guide changed to use group:stick

- crafting recipe for craft guide pc changed to use just the recipe with stone slabs
2014-12-16 08:34:34 +10:30
cornernote 9d9ffe1abe only send group message once per group 2014-12-14 17:04:22 +10:30
cornernote ebda7432e9 cleanup player message when removing item 2014-12-14 16:45:05 +10:30
cornernote efa5f1b616 send player a message when group was used 2014-12-14 16:36:32 +10:30
cornernote 4977325637 cleanup log output 2014-12-14 15:43:08 +10:30
cornernote adb5c88faa show an item instead of unknown if item is a group 2014-12-14 15:38:27 +10:30
cornernote 343d72feb8 added screenshot.png 2014-12-14 14:42:35 +10:30
Brett O'Donnell dc3d2aceae Update README.md 2014-12-14 13:06:44 +10:30
Brett O'Donnell dcb9f9d260 Update register_node.lua 2014-01-17 10:54:07 +10:30
Brett O'Donnell bfa315783a Update init.lua 2014-01-17 10:54:01 +10:30
Brett O'Donnell 6925d8d671 Update register_craft.lua 2014-01-17 10:53:55 +10:30
Brett O'Donnell 5641fa1824 Update api_craft_guide.lua 2014-01-17 10:53:47 +10:30
Brett O'Donnell 9dda7fa29d Update and rename README.txt to README.md 2014-01-12 00:16:45 +10:30
Brett O'Donnell 97c7869de7 Update and rename license.txt to LICENSE 2014-01-12 00:13:27 +10:30
Brett O'Donnell 95c4df8418 prevent stealing of items 2012-11-09 00:00:09 +10:30
Brett O'Donnell 90cd7b99aa update readme 2012-11-02 13:19:39 +10:30
Brett O'Donnell 9818f34e72 added search and removed detached inventory 2012-11-02 13:17:44 +10:30
Brett O'Donnell b3b1538ed9 add craft for stairsplus 2012-10-02 23:42:00 +09:30
Brett O'Donnell 825fa8dea9 update readme 2012-09-27 07:24:54 +09:30