Commit Graph

115 Commits

Author SHA1 Message Date
theFox6
593d477583 Merge branch 'master' of https://github.com/theFox6/microexpansion into mrs 2024-01-24 11:06:44 +01:00
beepbopbeepboop
a21dbd9b82
Unify spacing
* Fix spacing in various files

---------

Co-authored-by: theFox6 <the.Fox6@gmx.de>
2024-01-24 09:53:14 +01:00
Mike Stump
5de03d5b38 Remove unused function. 2024-01-15 11:55:52 -08:00
Mike Stump
39d94f5c48 Refine maximums given parallel machines. 2024-01-15 11:54:33 -08:00
James David Clarke
5e4aa6e5a1 Fix using wrong name for access levels. 2024-01-14 21:29:04 +00:00
James David Clarke
0ceadfe089 Fix 2024-01-14 21:23:35 +00:00
James David Clarke
29df086d53 Allow protection_bypass to bypass ME security. 2024-01-14 21:22:45 +00:00
Mike Stump
abaaa69f5f Harden the autocrafter. 2024-01-14 11:23:25 -08:00
Mike Stump
1da9a57585 Refine technic integration. 2024-01-14 11:21:47 -08:00
Mike Stump
435c8a4bad Add cell based drawer upgrades. 2024-01-13 16:42:11 -08:00
Mike Stump
747242b84a Allow autocrafting to consume all, now that crafting terminals support listing crafts. 2024-01-13 16:38:50 -08:00
Mike Stump
38917de3ff Fix EU cost to run the network. 2024-01-13 16:37:15 -08:00
Mike Stump
7a73b405f5 Fix crash when there is no more network for the remote. 2024-01-13 13:22:50 -08:00
Mike Stump
c1b238c62e Allow search/main interaction on a cterminal. 2024-01-11 10:52:07 -08:00
Mike Stump
53ab3c350f Wire up the rest for power. 2024-01-10 16:10:48 -08:00
Mike Stump
8d84f7d77f Refine powered state.
Make interfaces take a base of 20 EU.
2024-01-10 11:28:33 -08:00
Mike Stump
bd927f77c2 Unconnected networks take no power.
Update power demands from technic.
2024-01-10 11:25:43 -08:00
Mike Stump
873c4c7198 Make power for remote account for distance from controller. 2024-01-10 11:24:26 -08:00
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
69e2f8b565 Invalidation for machines on autocraft time as we can't yet catch them earlier.
Handle craft counts not a multiple of the craft_count.
Refine crafting time a bit more..
2024-01-09 09:52:45 -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
d869c77536 Runs everything in parallel now that we have reservations. 2024-01-07 17:47:40 -08:00
Mike Stump
9971678820 Add in parallel autocrafter/machine support. 100 Furnaces are now
100x faster for larger crafts.
2024-01-07 16:33:50 -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
6e9483b615 Export autocrafterCache. 2024-01-06 09:59:18 -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
James David Clarke
b4db66d76f
Fix crash in protected area when user violates area protection 2024-01-02 17:55:20 +00: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
5155bd150c Allow empty cells into the system. 2024-01-01 19:20:18 -08:00
Mike Stump
92cc4097d8 Add a bug note. 2024-01-01 19:19:17 -08:00
Mike Stump
4670066c1e Fix craft counts.
Add more crafting monitor logging.
2024-01-01 19:17:49 -08:00
Mike Stump
611b763f68 Fix autocrafting of 64k cells. 2024-01-01 17:51:16 -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
James David Clarke
44cac65f40
Made controller Recipe use microexpansion.iron_ingot_ingredient variable 2023-12-27 14:26:08 +00:00
James David Clarke
c468c502b5
Put iron ingredient under microexpansion namespace 2023-12-27 14:22:56 +00:00
James David Clarke
ba009fad0f
Fixed Controller recipe in Mineclone2 2023-12-22 09:39:59 +00:00
James David Clarke
438fc25281
Made microexpansion blocks mineable in mineclone2 2023-12-20 16:54:13 +00:00