Commit Graph

12 Commits

Author SHA1 Message Date
5a5ca11ecd Replace spaces with tabs 2017-11-28 19:25:49 -08:00
be54e91335 Storage: Improve ME Chest formspec
Hide all buttons when no drive in slot, prevents spamming of log when search buttons are clicked with nothing to search. Move search field to the left so as to be in line with the inventory slots and move page number to the right for a more viewable interface due to spacing.
2017-05-03 11:28:51 -07:00
ad80c63682 ME Drives: Show percent full in description 2017-02-24 16:26:45 -08:00
81705adbdc Storage: Add 16k, 32k, and 64k ME Drives 2017-02-24 15:47:43 -08:00
cd99564739 Improve ME node/item registration functions
Improves item registration and adds node registration. These functions allow easy registration of recipes, changing colour of second line in description, and "autocompletion" for texture names.
2017-02-24 08:28:36 -08:00
a10f2527c0 ME Drives: limit stack max to 1 2017-02-23 22:21:48 -08:00
a3a150ece9 ME Drives: Show capacity in description
Introduces microexpansion.cell_desc(inv, listname, stack_pos) to update the item description to show the capacity. Requires f2f9a92351 or later.
2017-02-23 15:05:15 -08:00
40ed277961 ME Chest: improve formspec 2017-02-23 14:31:02 -08:00
0a9d8880a9 ME Chest: Fix drive item limit bug
Previously the math was incorrect, allowing a single 8k drive to store over 300,000 items. This also cleans up the storage area a bit, moving the API related to storage drives from the main API.lua to storage/api.lua.
2017-02-23 07:35:42 -08:00
0d917954eb Remove 'default' dependency 2017-02-22 17:40:41 -08:00
04869a8bca Rename 8k drive to 4k 2017-02-22 17:16:09 -08:00
69771ca5fc "Modulize"
Allows modules to be added to the mod for easier development and management. See doc/modules.md.
2017-02-14 19:35:06 -08:00