feat(uxassist): add a shortcut to reverse conveyor belts

- Add a Factory toggle and a configurable Alt+R shortcut for the built belt under the cursor.
- Reuse native reversal while preserving the belt inspector context and native limits.
- Add English and Chinese settings labels, usage notes, and changelog entries.
This commit is contained in:
萌泪酱 authored and Soar Qin committed 2026-11-16 09:06:15 +08:00
1 parent 4c0ad9c27f
commit 9fb75f70b8
8 files changed
+71

No files matched your search

+2
View File
@@ -149,6 +149,8 @@ public class UXAssist : BaseUnityPlugin, IModCanSave
FactoryPatch.TankFastFillInAndTakeOutMultiplier = Config.Bind("Factory", "TankFastFillInAndTakeOutMultiplier", 1000, "Speed multiplier for fast filling in to and takeing out from tanks");
FactoryPatch.CutConveyorBeltEnabled = Config.Bind("Factory", "CutConveyorBeltShortcut", false,
"Cut conveyor belt (with shortcut key)");
FactoryPatch.ReverseConveyorBeltEnabled = Config.Bind("Factory", "ReverseConveyorBeltShortcut", false,
"Reverse conveyor belt (with shortcut key)");
FactoryPatch.TweakBuildingBufferEnabled = Config.Bind("Factory", "TweakBuildingBuffer", false,
"Tweak buffer count for assemblers and power generators");
FactoryPatch.AssemblerBufferTimeMultiplier = Config.Bind("Factory", "AssemblerBufferTimeMultiplier", 4, new ConfigDescription("Assembler buffer time multiplier in seconds", new AcceptableValueRange<int>(2, 10)));