fanvalen 发表于 2022-9-30 19:40

属性不够装备来凑,临时提高属性等级的

本帖最后由 fanvalen 于 2024-7-7 21:48 编辑

AtmoSuitConfig.CreateEquipmentDef 气压服List<AttributeModifier> list = new List<AttributeModifier>();
                list.Add(new AttributeModifier(TUNING.EQUIPMENT.ATTRIBUTE_MOD_IDS.INSULATION, (float)TUNING.EQUIPMENT.SUITS.ATMOSUIT_INSULATION, STRINGS.EQUIPMENT.PREFABS.ATMO_SUIT.NAME, false, false, true));
                list.Add(new AttributeModifier(TUNING.EQUIPMENT.ATTRIBUTE_MOD_IDS.ATHLETICS, 50f, STRINGS.EQUIPMENT.PREFABS.ATMO_SUIT.NAME, false, false, true));
                list.Add(new AttributeModifier(TUNING.EQUIPMENT.ATTRIBUTE_MOD_IDS.THERMAL_CONDUCTIVITY_BARRIER, TUNING.EQUIPMENT.SUITS.ATMOSUIT_THERMAL_CONDUCTIVITY_BARRIER, STRINGS.EQUIPMENT.PREFABS.ATMO_SUIT.NAME, false, false, true));
                list.Add(new AttributeModifier(Db.Get().Attributes.Digging.Id, 50f, STRINGS.EQUIPMENT.PREFABS.ATMO_SUIT.NAME, false, false, true));
                list.Add(new AttributeModifier(Db.Get().Attributes.ScaldingThreshold.Id, (float)TUNING.EQUIPMENT.SUITS.ATMOSUIT_SCALDING, STRINGS.EQUIPMENT.PREFABS.ATMO_SUIT.NAME, false, false, true));
                list.Add(new AttributeModifier(Db.Get().Attributes.RadiationResistance.Id, TUNING.EQUIPMENT.SUITS.LEADSUIT_RADIATION_SHIELDING, STRINGS.EQUIPMENT.PREFABS.LEAD_SUIT.NAME, false, false, true));
                list.Add(new AttributeModifier(Db.Get().Attributes.Construction.Id, 50f, UI.FormatAsLink("建造", "Construction"), false, false, true));
                list.Add(new AttributeModifier(Db.Get().Attributes.Machinery.Id, 50f, "机械", false, false, true));
                list.Add(new AttributeModifier(Db.Get().Attributes.Botanist.Id, 50f, "农业", false, false, true));
                list.Add(new AttributeModifier(Db.Get().Attributes.Ranching.Id, 50f, "畜牧", false, false, true));
                list.Add(new AttributeModifier(Db.Get().Attributes.Strength.Id, 50f, "力量", false, false, true));
                list.Add(new AttributeModifier(Db.Get().Attributes.Cooking.Id, 50f, "烹饪", false, false, true));
                list.Add(new AttributeModifier(Db.Get().Attributes.Learning.Id, 50f, "科学", false, false, true));
                list.Add(new AttributeModifier(Db.Get().Attributes.Caring.Id, 50f, "医疗", false, false, true));
                list.Add(new AttributeModifier(Db.Get().Attributes.Art.Id, 50f, "艺术", false, false, true));
                list.Add(new AttributeModifier(Db.Get().Attributes.SpaceNavigation.Id, 50f, "驾驶", false, false, true));
看到那有相同就往哪替换




fanvalen 发表于 2022-9-30 19:41

fanvalen 发表于 2022-9-30 21:00

我发现是前期造不出气压服,那就氧气面罩把
OxygenMaskConfig.CreateEquipmentDef

fanvalen 发表于 2022-10-2 20:46

https://bbs.blacksheepgame.com/thread-6226681-1-2.html
此贴可以找到密码

shishenshisha 发表于 2024-9-10 23:09

666
楼主你是我永远的神!!!
页: [1]
查看完整版本: 属性不够装备来凑,临时提高属性等级的