谷神星还在刷小人的抗寒皮肤,直接把衣服穿厚点呗
ClothingWearer把下面
public static readonly ClothingInfo BASIC_CLOTHING = new ClothingInfo(EQUIPMENT.PREFABS.COOL_VEST.GENERICNAME, -5, 0.0025f, -1.25f);
public static readonly ClothingInfo WARM_CLOTHING = new ClothingInfo(EQUIPMENT.PREFABS.WARM_VEST.NAME, 0, 0.008f, -1.25f);
public static readonly ClothingInfo COOL_CLOTHING = new ClothingInfo(EQUIPMENT.PREFABS.COOL_VEST.NAME, -10, 0.0005f, 0f);
public static readonly ClothingInfo FANCY_CLOTHING = new ClothingInfo(EQUIPMENT.PREFABS.FUNKY_VEST.NAME, 30, 0.0025f, -1.25f);
public static readonly ClothingInfo CUSTOM_CLOTHING = new ClothingInfo(EQUIPMENT.PREFABS.CUSTOMCLOTHING.NAME, 40, 0.0025f, -1.25f);
public static readonly ClothingInfo SLEEP_CLINIC_PAJAMAS = new ClothingInfo(EQUIPMENT.PREFABS.CUSTOMCLOTHING.NAME, 40, 0.0025f, -1.25f);
改成
**** Hidden Message *****
ClothingInfo
感谢分享 感谢分享
ddddddddddddddddddddddddddddddddd 顶!!!!!!!!!!!!
感谢分享 楼主,电池自动恢复能教一下吗?求
shishenshisha 发表于 2025-3-5 22:12
楼主,电池自动恢复能教一下吗?求
BatteryConfig.DoPostConfigureComplete
找到下面这句
battery.joulesLostPerSecond = 1.6666666f;
改成
battery.joulesLostPerSecond = -1.6666666f;//数字可以自行更改,前面的负号保留
同理中型电池和智能电池也是一样
BatteryMediumConfig
BatterySmartConfig
fanvalen 发表于 2025-3-6 21:58
BatteryConfig.DoPostConfigureComplete
找到下面这句
他会突破上限,能不能满了就不回复了
shishenshisha 发表于 2025-3-6 22:03
他会突破上限,能不能满了就不回复了
那就做一个限制
Battery.ConsumeEnergy
找到下面这句
this.joulesAvailable = Mathf.Max(0f, this.JoulesAvailable - joules);
改成
this.joulesAvailable = Math.Clamp(Mathf.Max(0f, this.JoulesAvailable - joules),0f,this.capacity);
页:
[1]