Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Stack By Weight

Stack By Weight - Define Your Stockpiles by Mass! [i]Ever wondered why a single tile can hold 75 chunks of heavy steel, yet also only 500 flakes of light gold?[/i] Now, reshape your stockpiles with a unified standard of weight! This mod overhauls the vanilla stacking mechanics, replacing the rigid, fixed stack sizes with a more realistic and powerful system based on [b]total weight[/b]. Core Features [list] [*] [b]Stack by Mass:[/b] All item stack limits are calculated once at game startup, using the formula: "Max Weight per Tile / Item's Base Mass". [*] [b]Fully Customizable:[/b] In the mod settings, freely define the "Max Weight per Tile" for your colony using a slider or a precise input field (default: 1000kg). [*] [b]Smart UI:[/b] The settings menu provides a dynamic preview, showing you in real-time how many of a common resource you can stack with your current settings. [*] [b]Override Rules:[/b] [list] [*] Set [b]custom stack limits[/b] for specific items to override the global weight rule. [*] Supports [b]wildcard `*` matching[/b] (powered by regular expressions), allowing you to manage multiple items with a single rule like `*component*`! [/list] [*] [b]Convenient List Management:[/b] [list] [*] Adjust rule priority with intuitive [b]drag-and-drop[/b]. [*] A one-click [b]"Remove All"[/b] button with a confirmation dialog to prevent accidents. [/list] [/list] Lightweight & Compatible [list] [*] [b]Zero Performance Impact:[/b] One-time calculation at startup with no running scripts, resulting in [b]zero impact[/b] on game performance (TPS). [*] [b]High Compatibility:[/b] No Harmony patches are used, which maximizes compatibility and reduces potential conflicts. [*] [b]Standard Load Order:[/b] Follows standard load order behavior, playing nicely with other stacking mods (the last one loaded takes precedence). [/list] How to Report Bugs Please report any bugs in the "Discussions" tab. Be sure to include the following: 1. A link to your HugsLib log. 2. Detailed steps to reproduce the bug. 3. A list of any other relevant mods, if applicable. [b]A log is essential, otherwise I have no psychic powers to fix the bug.[/b] Developer's Note This mod was made with me providing the feature requests and testing feedback, while collaborating with Gemini on the programming. Therefore, finding any bugs is completely normal. The current logic is not yet perfect, but using the "Lightweight Balancer" and "Custom Rules" should be sufficient for now. The next update is planned for October. Adjusting the UI takes too much time. Update Log [b]07/09/25 - v3.2.8:[/b] [list] [*] Added a "Lightweight Balancer" that can change the stack limit for an entire category of items. The calculation logic is: Stack limit of the selected item category / Weight calculation multiplier. The smart preset logic selects items with a weight below 0.25kg. [*] Optimized "Custom Rules" by adding a category option. The list within it references the category list in the game's storage zones. [*] Optimized UI. [/list] [b]13/08/25 - v1.7.2:[/b] [list] [*] Fixed a sorting issue with the override rules. [*] Refactored code to optimize performance and logic. [/list] [b]12/08/25 - v1.6.2:[/b] [list] [*] Added override rules to allow items to be divided into smaller stacks. [/list]