Commit Graph

48 Commits

Author SHA1 Message Date
Mike Stump
e6ffb906e4 Add power handling to the controller and require power for the remote.
On the remote, ensure that reset updates the formspec.
2024-01-09 14:33:00 -08:00
Mike Stump
5b197606db Invalidate machines when interface is pulled. 2024-01-09 09:51:17 -08:00
Mike Stump
57da567658 More technic integration. 2024-01-09 09:47:08 -08:00
Mike Stump
a030319338 Update in game documentation. 2024-01-06 17:58:37 -08:00
Mike Stump
6fdfd4698e Fixup autocraft UI on remote. 2024-01-06 17:51:06 -08:00
Mike Stump
50aa1f2470 Remote UI refinements. 2024-01-06 17:10:52 -08:00
Mike Stump
e0f8c0949a Improve remote UI by doing a formspec update.
Fixup page_max to use the right inventory.
2024-01-06 16:06:43 -08:00
Mike Stump
f829ce768f Remove extra charge depletion. 2024-01-06 15:08:54 -08:00
Mike Stump
a4b8870166 Fix dependency on technic to ensure proper mod loading.
Always load remote, should work fine without technic.
Don't pass pake_max or queries into chest_formspec for remotes.
Wire up charging to the remote.
Fix query state.
2024-01-06 15:03:22 -08:00
Mike Stump
a06c6539fa Add charge for remote and display it.
Swicth to player inventories for the remote.
Refine remote formspec by passing state and remove extra argument for crafts.
2024-01-06 11:42:17 -08:00
Mike Stump
26b3ef692f Add a remote crafting terminal. 2024-01-06 10:01:12 -08:00
Mike Stump
7464382cf5 Export autocrafterCache. 2024-01-06 10:00:28 -08:00
Mike Stump
3c91acd158 Be sure to reset the size as it changes. 2024-01-05 15:26:27 -08:00
Mike Stump
9e07d19b22 Add craft only view to cterminal. 2024-01-05 15:11:27 -08:00
Mike Stump
b91995eaf1 Fix _active machine handling.
Manage time better by resource reservations.
Autocrafting status is one per network, not one per server.
Lengthing craft time of 81 doped wafers.
2024-01-04 10:36:09 -08:00
Mike Stump
465e9a2882 Fixup text size in the crafting monitor.
Fixup searching in the crafting monitor.
2024-01-01 19:22:05 -08:00
Mike Stump
1950c71f72 More cmon support. 2024-01-01 14:53:23 -08:00
Mike Stump
b101a554ef Add a crafting monitor. 2023-12-31 13:17:47 -08:00
Mike Stump
9235b7bad1 Checkpoint. 2023-12-30 15:52:43 -08:00
theFox6
f5aee436d0
fixed resizing bug and prevent cells within cells 2023-09-02 13:29:10 +02:00
theFox6
383abf919d
fix serialization and logging
inventories are no longer overridden with their last contents during serialization
all log messages are now prepended with "[MicroExpansion] "
2020-10-04 12:12:19 +02:00
theFox6
abe36940a7
store all the item data
metadata is now also stored when cells are removed
2020-10-04 11:48:05 +02:00
theFox6
a47336ae3e
fix lots of bugs 2020-06-17 09:30:47 +02:00
theFox6
faf69d7bd5
bugfixes
should fix #2
2020-05-29 16:03:02 +02:00
theFox6
d1f7d633c8
add pipeworks support 2020-03-16 09:59:18 +01:00
theFox6
d351ec7527
fix drive connection, add network events 2020-03-07 18:02:14 +01:00
theFox6
a4c0e2a759
added craft recipies 2020-03-04 16:46:22 +01:00
theFox6
482eb7bebd
fixed varous item vanishing bugs 2020-03-03 17:16:35 +01:00
theFox6
4c5b36fc88
fixed lots of bugs
fixed too far inventory accesses by detaching the networks inventory
fixed vanishsing items with dynamic inventory size allocation
2020-03-01 08:23:39 +01:00
theFox6
d0e2a070bd
fix code style 2020-02-27 15:33:45 +01:00
theFox6
2455b73e53 added luacheck 2019-05-18 07:37:46 +02:00
theFox6
98cf73e57a bugfixes 2019-05-18 07:16:11 +02:00
theFox6
745a2afcd1 made drives store cells that store items and can be acessed from chest 2019-05-07 17:49:26 +02:00
theFox6
d949aaccf4 added item routing in networks and splitted chest and drive 2019-05-04 13:53:49 +02:00
Gerold55
db93f80996
Add files via upload 2019-05-01 23:26:50 -04:00
theFox6
7d4ff19613 made stacks get compounded in the chest 2019-05-01 16:52:12 +02:00
octacian
5a5ca11ecd
Replace spaces with tabs 2017-11-28 19:25:49 -08:00
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
ad80c63682 ME Drives: Show percent full in description 2017-02-24 16:26:45 -08:00
octacian
81705adbdc Storage: Add 16k, 32k, and 64k ME Drives 2017-02-24 15:47:43 -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
octacian
0d917954eb Remove 'default' dependency 2017-02-22 17:40:41 -08:00
octacian
04869a8bca Rename 8k drive to 4k 2017-02-22 17:16:09 -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