Skip to content

Commit 9e01606

Browse files
committed
Update Code
1 parent 30b4a41 commit 9e01606

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

data/items_mod.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5000,8 +5000,8 @@
50005000
},
50015001
{
50025002
"ID": 7616,
5003-
"Name": "湮灭弹药箱",
5004-
"Description": "I湮灭弹药箱",
5003+
"Name": "湮灭弹箱",
5004+
"Description": "I湮灭弹箱",
50055005
"IconPath": "Assets/texpack/湮灭弹药箱",
50065006
"GridIndex": 5306,
50075007
"StackSize": 100,
@@ -5030,7 +5030,7 @@
50305030
"BuildInGas": false,
50315031
"ModelIndex": 0,
50325032
"ModelCount": 0,
5033-
"HpMax": 30,
5033+
"HpMax": 960,
50345034
"Ability": 20000,
50355035
"Potential": 0,
50365036
"BuildIndex": 0,

data/strings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2426,12 +2426,12 @@
24262426
"ENUS": "The X-3 Gravedigger Heavy Leapfrog Missile, with an antimatter charge in the warhead and a built-in space warper as a propulsion system capable of locking onto a target at all times through successive short-range leaps. A missile group contains 24 missiles."
24272427
},
24282428
{
2429-
"Name": "湮灭弹药箱",
2429+
"Name": "湮灭弹箱",
24302430
"ZHCN": "湮灭弹箱",
24312431
"ENUS": "Annihilation Ammo Box"
24322432
},
24332433
{
2434-
"Name": "I湮灭弹药箱",
2434+
"Name": "I湮灭弹箱",
24352435
"ZHCN": "托马斯·维德兵工厂生产的超级弹药。一个弹箱包含960发子弹。",
24362436
"ENUS": "Superb ammunition produced by Thomas Vedder Arsenal. One cartridge box contains 960 rounds."
24372437
},

packer/Packer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ internal static class Packer
1313

1414
private static readonly bool IsDebugBuild = true;
1515

16-
public const string ManifestDebugVersion = "0.3.11201";
16+
public const string ManifestDebugVersion = "0.3.11202";
1717

1818
internal static void Main()
1919
{

src/Patches/AddVein/ModifyPlanetTheme.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ private static void GasGiantModify(ThemeProto theme)
7878
else if (theme.GasSpeeds[1] > 0.15f)
7979
{
8080
theme.GasItems = new[] { ProtoID.I氢, ProtoID.I重氢, ProtoID.I氦三, };
81-
float heliumGasSpeed = Math.Min(0.2f - theme.GasSpeeds[1], 0.01f);
81+
float heliumGasSpeed = Math.Max(0.2f - theme.GasSpeeds[1], 0.01f);
8282
theme.GasSpeeds = new float[] { theme.GasSpeeds[0] - heliumGasSpeed, theme.GasSpeeds[1], heliumGasSpeed, };
8383
}
8484
else
8585
{
8686
// for mod compat
8787
theme.GasItems = new[] { ProtoID.I氢, ProtoID.I氦, ProtoID.I重氢, };
88-
float heliumGasSpeed = Math.Min(0.3f - theme.GasSpeeds[1], theme.GasSpeeds[1] + 0.02f);
88+
float heliumGasSpeed = Math.Max(0.3f - theme.GasSpeeds[1], theme.GasSpeeds[1] + 0.02f);
8989
theme.GasSpeeds = new float[] { theme.GasSpeeds[0] - heliumGasSpeed, heliumGasSpeed, theme.GasSpeeds[1], };
9090
}
9191
}

0 commit comments

Comments
 (0)