Fake DLC Framework
This mod is a framework for show other mod as enabled "DLC".
Ultimate solution for those asking why a fake DLC disabled.
How to use: look dlc_metadata/dummy_dlc_metadata.info in this mod. What you need is only: define a DLC with features = { fake_dlc }, write locs for it, and make an icon. All GUI change is done already, just set this mod as required.
Compatibility: compatible with almost all mods, exceptions are those also changed related files to do same thing.
However, this mod implemented it in a neat way by an unused feature, so it’s easy to compatible with: just add `features = { fake_dlc }` in every dlc of your dlc metadata. We now get rid of checking every key!
Script license under CC-NC-SA 4.0
此模组是一个将其他模组显示为正常启用的DLC的框架。
对不看描述问为什么XXX模组在游戏中显示未启用的终极解决方案。
如何使用:见本模组 dlc_metadata/dummy_dlc_metadata.info 文件。所需工作仅有定义DLC并在其中声明features = { fake_dlc },写本地化,制作图标。所有GUI改动由本模组完成处理,只需将本模组标记为需要的物品即可。
兼容性:与绝大多数模组兼容,但与那些有自己的伪DLC界面修改实现的模组不兼容。
然而,本模组基于原版的未使用特性开发了一种无需枚举键值的方法实现伪DLC载入显示,只需将`features = { fake_dlc }`加入每个DLC的metadata中即可摆脱枚举每一个DLC键。
脚本内容按CC-NC-SA 4.0授权。
Revisions:
Old revisions of this mod are available below. Click the link to download.
