Holding Manager Scripts
这是一个模组开发者工具,它不对任何游戏内容进行修改。如果你不是模组开发者,请忽略这个模组。
这是一个从ck3/Mod的源代码自动过滤并生成ck3脚本的程序,用于减少模组开发中的重复工作。要编译这个程序,请遵循rust官方文档。
这个模组也包含一个从ck3源文件中提取的示例,如果你对自动工具没有兴趣,也可以将这个模组直接作为一个支持ck3原版建筑的脚本拓展:
调用“lib_hms_ck3_can_construct_<建筑>_<等级> = yes”判断是否可以建造指定的建筑
调用“hms_add_<next/max>_building_tier_<debug/effect> = {…}”在遵守建造条件的情况下建造指定的建筑
调用“hms_ck3_add_all_buildings_<debug/effect> = yes”在遵守建造条件的情况下建造所有ck3原版建筑
This is a machine translation from Bing:
This is a mod developer tool, and it doesn’t modify any game content. If you’re not a mod developer, ignore this mod.
This is a program that automatically filters and generates ck3 scripts from the source code of ck3/mod to reduce duplication of work in mod development. To compile this program, follow the official Rust documentation.
This mod also includes an example taken from the CK3 source file, and if you are not interested in automatic tools, you can also extend this mod directly as a script to support CK3 vanilla buildings:
Call lib_hms_ck3_can_construct_<building>_<level> = yes to determine whether a specified building can be constructed
Call "hms_add_<next/max>_building_tier_<debug/effect> = {…}" Construct the designated building in compliance with the construction conditions
Call "hms_ck3_add_all_buildings_<debug/effect> = yes" to build all CK3 vanilla buildings while respecting the build conditions
