Commit Graph

7 Commits

Author SHA1 Message Date
octacian 5a5ca11ecd
Replace spaces with tabs 2017-11-28 19:25:49 -08:00
octacian ad80c63682 ME Drives: Show percent full in description 2017-02-24 16:26:45 -08: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 a10f2527c0 ME Drives: limit stack max to 1 2017-02-23 22:21:48 -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