Commit Graph

7 Commits

Author SHA1 Message Date
octacian
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
octacian
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
octacian
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
octacian
40ed277961 ME Chest: improve formspec 2017-02-23 14:31:02 -08:00
octacian
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
octacian
0d917954eb Remove 'default' dependency 2017-02-22 17:40:41 -08:00
octacian
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