边缘世界 RimWorld

边缘世界 RimWorld

118 个评价
Smart Minify
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.3, 1.4, 1.5, 1.6
文件大小
发表于
更新日期
147.994 KB
2022 年 5 月 31 日 下午 1:28
8 月 19 日 上午 2:04
21 项改动说明 ( 查看 )

订阅以下载
Smart Minify

在 Jaxe 的 1 个合集中
Mods by Jaxe
9 件物品
描述
Smart Minify
Minify only logically applicable buildings and apply calculated weights to their minified forms according to the combined weight of resources used to build them

Does not apply to anything in the structure category and applies some logic to prevent the minification of non-buildings such as graves.

Custom whitelisting and blacklisting of things that would automatically be enabled/disabled is available through the mod settings menu, including setting custom weights.

Requires Minify Everything as a passive dependency for minification methods and fixes.


Additional Information
Why is Minify Everything required?
Minify Everything by erdelf has a tried and tested system of adding/removing minification and handling of post-minified things and there's no need to reinvent the wheel or step into any other modder's area. Smart Minify overrides Minify Everything's config menu but still depends on its minification methods.

About the weight system
This mod calculates weight according to the sum of all resources required for building. Honestly, I did not know about BetterWeights when I initially made this mod but this mod will automatically disable weight calculations if BetterWeights is loaded.

Anything else?
Check out my other mods

[discord.gg]
[ko-fi.com]
[www.patreon.com]
热门讨论 查看全部(1)
0
8 月 24 日 上午 6:41
Bugs
Jasser_Arrafat
127 条留言
-=GoW=-Dennis 8 月 30 日 上午 7:49 
Also getting this error right before the long list of BetterWeight Compatibility errors mentioned further down:

Could not instantiate inspector tab of type : System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008]

Doesn't appear without SmartMinify either.
Tyrant 8 月 21 日 下午 7:26 
While the Smart Minify mod options work fine from the Title Screen, if I try to mess with them in-game, the scrolling gets all screwy: https://i.postimg.cc/FRzJ650D/0htYd1ni.gif
-=GoW=-Dennis 8 月 20 日 下午 11:49 
I also use BetterWeight but did not expect that to be the problem, as the description says that the weight calculation of SmartMinify is turned off automatically when it is used.
Jaxe  [作者] 8 月 20 日 下午 10:24 
@Inglix: thanks for looking into it, I'll check BetterWeight compatibility as soon as I can.
Inglix 8 月 20 日 下午 4:37 
Okay that wasn't as horrible to track down as I feared. It's BetterWeight that isn't playing nicely with this latest update to Smart Minify. Reproduced the error with only Minify Everything, Smart Minify, and BetterWeight active.

https://gist.github.com/HugsLibRecordKeeper/f0a7c230179dfcc5258d6e4748c1b1f7
Inglix 8 月 20 日 下午 2:54 
I'm getting similar errors, but it doesn't happen when testing with the bare minimum mod list, meaning there's a mod conflict... somewhere...
-=GoW=-Dennis 8 月 19 日 下午 4:21 
Getting tons of errors of type "Config error in RM_SunBlocker: is haulable, but does not have an authored mass value" since the last update, something went wrong?
Jaxe  [作者] 8 月 19 日 上午 2:06 
Updated to v1.14:
- Added search filter to settings menu
- Added quick toggles for structures, spots and underground buildings
- Removed handling of vanilla minified buildings
- Improved filtering
Blakeyrat 8 月 17 日 上午 7:49 
Uskok when that happened to me a few days ago, I had to completely uninstall MinifyEverything, load the game with it gone, then re-install both it and this mod... that resolved the error for me. It seems like Steam didn't update it properly, or maybe the download got corrupted, I don't know
Uskok 8 月 16 日 下午 6:38 
Today I got an error in the console "Ambiguous match in Harmony patch for MinifyEverything.MinifyEverything:AddMinifiedFor". I removed all mods except: Harmony, all expansions, MinifyEverything, Smart Minify; and it still occurs. If I remove Smart Minify too, the error does not occur.

It seems that MinifyEverything was recently updated.
I can provide the whole stack trace but I assume you can reproduce it easily?