星照我还 发表于 2023-6-14 15:43

如何实现初始时多张法术书和扩展房间

作为一个强迫症没有办法收集全法术书实在太令人悲伤了,而我又不准备过于破坏其平衡性,因此准备制作Mod对其进行修改,只挑出之前Mod中部分技能实现

然而我找了很久都没有找到对应的变量,于是呼唤一下大佬,了解一下开局固定给6X2张法术页和口袋维度给5个额外房间这两个修改是如何实现的

sgc123 发表于 2024-5-8 13:31

严重支持楼主出MOD

saitengruo 发表于 2024-8-24 12:21

感觉是找到了接口,然后直接改动数值,比如页数那里,"AsPrimary"(主要流派): {
      "ActivePages": [
            {
                "ContentPath": "Spellbook/Research/School_Earthmaster/Page_Earthmaster_1.asset"(大地1)
            },
            {
                "ContentPath": "Spellbook/Research/School_Earthmaster/Page_Earthmaster_2.asset"(大地2)
            },
            {
                "ContentPath": "Spellbook/Research/School_Earthmaster/Page_Earthmaster_3.asset"(大地3)
            },
            {
                "ContentPath": "Spellbook/Research/School_Enchantment/Page_Enchantment_1.asset"
            },
            {
                "ContentPath": "Spellbook/Research/School_Guardian/Page_Guardian_1.asset"
            },
            {
                "ContentPath": "Spellbook/Research/School_Manipulation/Page_Manipulation_1.asset"
            },
            {
                "ContentPath": "Spellbook/Research/School_Nature/Page_Nature_1.asset"
            },
            {
                "ContentPath": "Spellbook/Research/School_Occultism/Page_Occultism_1.asset"
            },
            {
                "ContentPath": "Spellbook/Research/School_Death/Page_Death_1.asset"
            }
      ],
"FinishedMilestones": []
    },
    "AsBoth":(次要流派) {
      "ActivePages": [
            {
                "ContentPath": "Spellbook/Research/School_Earthmaster/Page_Earthmaster_1.asset"
            },
            {
                "ContentPath": "Spellbook/Research/School_Earthmaster/Page_Earthmaster_2.asset"
            },
            {
                "ContentPath": "Spellbook/Research/School_Earthmaster/Page_Earthmaster_3.asset"
            },
            {
                "ContentPath": "Spellbook/Research/School_Earthmaster/Page_Earthmaster_4.asset"(大地4)
            },
            {
                "ContentPath": "Spellbook/Research/School_Enchantment/Page_Enchantment_1.asset"
            },
            {
                "ContentPath": "Spellbook/Research/School_Guardian/Page_Guardian_1.asset"
            },
            {
                "ContentPath": "Spellbook/Research/School_Manipulation/Page_Manipulation_1.asset"
            },
            {
                "ContentPath": "Spellbook/Research/School_Nature/Page_Nature_1.asset"
            },
            {
                "ContentPath": "Spellbook/Research/School_Occultism/Page_Occultism_1.asset"
            },
            {
                "ContentPath": "Spellbook/Research/School_Death/Page_Death_1.asset"
            }
      ],
通过对主要流派和次要流派的魔法页设定,达成开局获得多少页魔法页的成果,比如这里,主要大地,次要大地就能获得4页大地流派,其它流派各一页。
页: [1]
查看完整版本: 如何实现初始时多张法术书和扩展房间