Skip to content

Commit 8dad67e

Browse files
committed
Update 2.5.3
1 parent 901eac4 commit 8dad67e

File tree

6 files changed

+142
-67
lines changed

6 files changed

+142
-67
lines changed

CHANGELOG.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
- v2.5.3
2+
+ 调整部分文案
3+
+ 修复部分流体在储液罐中渲染不正确的问题
4+
+ 为部分科技添加解锁奖励物品(高精度加工技术、星际物流系统、人造恒星、戴森球计划系列科技、巨型建筑系列科技、终极目标系列科技)
5+
6+
+ Adjust some text
7+
+ Fix the problem of incorrect rendering of some fluids in tank
8+
+ Add bonus items for some technologies (High Precision Processing Technology, Interstellar Logistics
9+
Technology, Artificial Star, Dyson Sphere Project series, Mega Building series, Ultimate Goal series)
10+
11+
<details>
12+
<summary>点击展开日志 | Click to view all </summary>
13+
114
- v2.5.2
215
+ 调整 `LDBTool` mod 缓存文件的生成逻辑,大幅提高mod加载速度(约减少50% MOD加载时间)
316
+ 提高与 `GalacticScale` mod的兼容性
@@ -19,8 +32,6 @@
1932
+ Adjust the hash requirement of the ultimate technologies
2033
+ Block abnormal prompts (still cannot be uploaded to the galaxy)
2134

22-
<details>
23-
<summary>点击展开日志 | Click to view all </summary>
2435

2536
- v2.5.1
2637
+ 修复了`v2.5.0`版本导致的性能问题

dependencies/strings.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,8 +1016,8 @@
10161016
},
10171017
{
10181018
"Name": "I稳定矩阵",
1019-
"ZHCN": "用于优化宇宙矩阵生产过程的复合型超级矩阵.\n<color=\"#7AF0FFC8\">——来自创世之书.</color>",
1020-
"ENUS": "Just a matrix, not really useful, but make universe matrix easier.\n<color=\"#7AF0FFC8\">——Add by GenesisBook.</color>"
1019+
"ZHCN": "由两种矩阵组成的复合矩阵。可供给科研模式下的矩阵研究站用作科研,也可作为合成宇宙矩阵的原料之一.\n<color=\"#7AF0FFC8\">——来自创世之书.</color>",
1020+
"ENUS": "It is a composite matrix composed of two matrixes. It can be supplied to lab for research, and can also be used as one of the raw materials for synthesizing the universe matrix roughcast.\n<color=\"#7AF0FFC8\">——Add by GenesisBook.</color>"
10211021
},
10221022
{
10231023
"Name": "虚空矩阵",
@@ -1026,8 +1026,8 @@
10261026
},
10271027
{
10281028
"Name": "I虚空矩阵",
1029-
"ZHCN": "用于优化宇宙矩阵生产过程的复合型超级矩阵.\n<color=\"#7AF0FFC8\">——来自创世之书.</color>",
1030-
"ENUS": "Just a matrix, not really useful, but make universe matrix easier.\n<color=\"#7AF0FFC8\">——Add by GenesisBook.</color>"
1029+
"ZHCN": "由两种矩阵组成的复合矩阵。可供给科研模式下的矩阵研究站用作科研,也可作为合成宇宙矩阵的原料之一.\n<color=\"#7AF0FFC8\">——来自创世之书.</color>",
1030+
"ENUS": "It is a composite matrix composed of two matrixes. It can be supplied to lab for research, and can also be used as one of the raw materials for synthesizing the universe matrix roughcast.\n<color=\"#7AF0FFC8\">——Add by GenesisBook.</color>"
10311031
},
10321032
{
10331033
"Name": "宇宙矩阵粗坯",
@@ -1036,9 +1036,14 @@
10361036
},
10371037
{
10381038
"Name": "I宇宙矩阵粗坯",
1039-
"ZHCN": "用于优化宇宙矩阵生产过程的复合型超级矩阵, 它还需要充能.\n<color=\"#7AF0FFC8\">——来自创世之书.</color>",
1040-
"ENUS": "Just a matrix, not really useful, but make universe matrix easier.\n<color=\"#7AF0FFC8\">——Add by GenesisBook.</color>"
1039+
"ZHCN": "由五种矩阵组成的复合矩阵。使用反物质充能后可转换为宇宙矩阵,也可供给科研模式下的矩阵研究站用作科研.\n<color=\"#7AF0FFC8\">——来自创世之书.</color>",
1040+
"ENUS": "It is a composite matrix, It can be supplied to lab for research, and can be converted to universe matrix after charging with antimatter.\n<color=\"#7AF0FFC8\">——Add by GenesisBook.</color>"
10411041
},
1042+
{
1043+
"Name": "I湮灭约束球",
1044+
"ZHCN": "将湮灭反应约束在球内,从而获得稳定可控的能量输出,是反物质能量炉的关键部件。",
1045+
"ENUS": "It is a crucial component of antimatter energy reactor to confine the annihilation reaction within the sphere to obtain stable and controllable energy output."
1046+
},
10421047
{
10431048
"Name": "基础机械组件",
10441049
"ZHCN": "基础机械组件",

dependencies/techs.json

Lines changed: 87 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,8 +1114,12 @@
11141114
"LevelCoef2": 0,
11151115
"IsLabTech": true,
11161116
"PreTechsMax": false,
1117-
"AddItems": [],
1118-
"AddItemCounts": [],
1117+
"AddItems": [
1118+
6261
1119+
],
1120+
"AddItemCounts": [
1121+
1
1122+
],
11191123
"PropertyOverrideItems": [],
11201124
"PropertyItemCounts": []
11211125
},
@@ -1302,8 +1306,12 @@
13021306
"LevelCoef2": 0,
13031307
"IsLabTech": true,
13041308
"PreTechsMax": false,
1305-
"AddItems": [],
1306-
"AddItemCounts": [],
1309+
"AddItems": [
1310+
2210
1311+
],
1312+
"AddItemCounts": [
1313+
1
1314+
],
13071315
"PropertyOverrideItems": [],
13081316
"PropertyItemCounts": []
13091317
},
@@ -1447,8 +1455,12 @@
14471455
"LevelCoef2": 0,
14481456
"IsLabTech": true,
14491457
"PreTechsMax": false,
1450-
"AddItems": [],
1451-
"AddItemCounts": [],
1458+
"AddItems": [
1459+
2305
1460+
],
1461+
"AddItemCounts": [
1462+
4
1463+
],
14521464
"PropertyOverrideItems": [],
14531465
"PropertyItemCounts": []
14541466
},
@@ -2252,8 +2264,12 @@
22522264
"LevelCoef2": 0,
22532265
"IsLabTech": true,
22542266
"PreTechsMax": false,
2255-
"AddItems": [],
2256-
"AddItemCounts": [],
2267+
"AddItems": [
2268+
2311
2269+
],
2270+
"AddItemCounts": [
2271+
2
2272+
],
22572273
"PropertyOverrideItems": [],
22582274
"PropertyItemCounts": []
22592275
},
@@ -2296,8 +2312,12 @@
22962312
"LevelCoef2": 0,
22972313
"IsLabTech": true,
22982314
"PreTechsMax": false,
2299-
"AddItems": [],
2300-
"AddItemCounts": [],
2315+
"AddItems": [
2316+
2208
2317+
],
2318+
"AddItemCounts": [
2319+
1
2320+
],
23012321
"PropertyOverrideItems": [],
23022322
"PropertyItemCounts": []
23032323
},
@@ -2694,8 +2714,12 @@
26942714
"LevelCoef2": 0,
26952715
"IsLabTech": true,
26962716
"PreTechsMax": false,
2697-
"AddItems": [],
2698-
"AddItemCounts": [],
2717+
"AddItems": [
2718+
2312
2719+
],
2720+
"AddItemCounts": [
2721+
1
2722+
],
26992723
"PropertyOverrideItems": [],
27002724
"PropertyItemCounts": []
27012725
},
@@ -2953,7 +2977,7 @@
29532977
"ItemPoints": [
29542978
20,
29552979
20,
2956-
2
2980+
5
29572981
],
29582982
"HashNeeded": 216000,
29592983
"UnlockRecipes": [
@@ -2970,8 +2994,14 @@
29702994
"LevelCoef2": 0,
29712995
"IsLabTech": true,
29722996
"PreTechsMax": false,
2973-
"AddItems": [],
2974-
"AddItemCounts": [],
2997+
"AddItems": [
2998+
2104,
2999+
5002
3000+
],
3001+
"AddItemCounts": [
3002+
2,
3003+
2
3004+
],
29753005
"PropertyOverrideItems": [],
29763006
"PropertyItemCounts": []
29773007
},
@@ -3393,8 +3423,12 @@
33933423
"LevelCoef2": 0,
33943424
"IsLabTech": true,
33953425
"PreTechsMax": false,
3396-
"AddItems": [],
3397-
"AddItemCounts": [],
3426+
"AddItems": [
3427+
2212
3428+
],
3429+
"AddItemCounts": [
3430+
1
3431+
],
33983432
"PropertyOverrideItems": [],
33993433
"PropertyItemCounts": []
34003434
},
@@ -9325,8 +9359,12 @@
93259359
"LevelCoef2": 0,
93269360
"IsLabTech": true,
93279361
"PreTechsMax": false,
9328-
"AddItems": [],
9329-
"AddItemCounts": [],
9362+
"AddItems": [
9363+
6257
9364+
],
9365+
"AddItemCounts": [
9366+
1
9367+
],
93309368
"PropertyOverrideItems": [],
93319369
"PropertyItemCounts": []
93329370
},
@@ -9371,8 +9409,12 @@
93719409
"LevelCoef2": 0,
93729410
"IsLabTech": true,
93739411
"PreTechsMax": false,
9374-
"AddItems": [],
9375-
"AddItemCounts": [],
9412+
"AddItems": [
9413+
6258
9414+
],
9415+
"AddItemCounts": [
9416+
1
9417+
],
93769418
"PropertyOverrideItems": [],
93779419
"PropertyItemCounts": []
93789420
},
@@ -9417,8 +9459,12 @@
94179459
"LevelCoef2": 0,
94189460
"IsLabTech": true,
94199461
"PreTechsMax": false,
9420-
"AddItems": [],
9421-
"AddItemCounts": [],
9462+
"AddItems": [
9463+
6259
9464+
],
9465+
"AddItemCounts": [
9466+
1
9467+
],
94229468
"PropertyOverrideItems": [],
94239469
"PropertyItemCounts": []
94249470
},
@@ -9463,8 +9509,12 @@
94639509
"LevelCoef2": 0,
94649510
"IsLabTech": true,
94659511
"PreTechsMax": false,
9466-
"AddItems": [],
9467-
"AddItemCounts": [],
9512+
"AddItems": [
9513+
6260
9514+
],
9515+
"AddItemCounts": [
9516+
1
9517+
],
94689518
"PropertyOverrideItems": [],
94699519
"PropertyItemCounts": []
94709520
},
@@ -9509,8 +9559,12 @@
95099559
"LevelCoef2": 0,
95109560
"IsLabTech": true,
95119561
"PreTechsMax": false,
9512-
"AddItems": [],
9513-
"AddItemCounts": [],
9562+
"AddItems": [
9563+
6265
9564+
],
9565+
"AddItemCounts": [
9566+
1
9567+
],
95149568
"PropertyOverrideItems": [],
95159569
"PropertyItemCounts": []
95169570
},
@@ -9554,8 +9608,12 @@
95549608
"LevelCoef2": 0,
95559609
"IsLabTech": true,
95569610
"PreTechsMax": false,
9557-
"AddItems": [],
9558-
"AddItemCounts": [],
9611+
"AddItems": [
9612+
6264
9613+
],
9614+
"AddItemCounts": [
9615+
1
9616+
],
95599617
"PropertyOverrideItems": [],
95609618
"PropertyItemCounts": []
95619619
},

src/Patches/Logic/PlanetFocus/PlanetFocusPatches.cs

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,19 @@ public static partial class PlanetFocusPatches
1414
private static ConcurrentDictionary<int, int[]> _planetFocuses = new ConcurrentDictionary<int, int[]>();
1515

1616
internal static readonly Dictionary<int, string> FocusIds = new Dictionary<int, string>()
17-
{
18-
{ 6522, "工厂电力需求 -10%".TranslateFromJson() },
19-
{ 6523, "研究上传速度 +10%".TranslateFromJson() },
20-
{ 6524, "火力发电效率 +20%".TranslateFromJson() },
21-
{ 6525, "风力发电效率 +20%".TranslateFromJson() },
22-
{ 6526, "光伏发电效率 +20%".TranslateFromJson() },
23-
{ 6527, "聚变发电效率 +10%".TranslateFromJson() },
24-
{ 6528, "矿物采集速度 +25%".TranslateFromJson() }
25-
};
17+
{
18+
{ 6522, "工厂电力需求 -10%".TranslateFromJson() },
19+
{ 6523, "研究上传速度 +10%".TranslateFromJson() },
20+
{ 6524, "火力发电效率 +20%".TranslateFromJson() },
21+
{ 6525, "风力发电效率 +20%".TranslateFromJson() },
22+
{ 6526, "光伏发电效率 +20%".TranslateFromJson() },
23+
{ 6527, "聚变发电效率 +10%".TranslateFromJson() },
24+
{ 6528, "矿物采集速度 +25%".TranslateFromJson() }
25+
};
2626

2727
internal static void SetPlanetFocus(int planetId, int index, int focusid)
2828
{
29+
if (!_planetFocuses.ContainsKey(planetId)) _planetFocuses[planetId] = new int[FocusMaxCount];
2930
_planetFocuses[planetId][index] = focusid;
3031
SyncPlanetFocusData.Sync(planetId, index, focusid);
3132
}

src/ProjectGenesis.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class ProjectGenesis : BaseUnityPlugin, IModCanSave, IMultiplayerModWithS
4343
{
4444
public const string MODGUID = "org.LoShin.GenesisBook";
4545
public const string MODNAME = "GenesisBook";
46-
public const string VERSION = "2.5.2";
46+
public const string VERSION = "2.5.3";
4747

4848
public string Version => VERSION;
4949

@@ -109,8 +109,6 @@ public void Awake()
109109

110110
private void PreAddDataAction()
111111
{
112-
LDB.strings.Select(2314).name = "剧毒液体海洋";
113-
LDB.strings.Select(2314).Name = "剧毒液体海洋".TranslateFromJson();
114112
LDB.veins.Select(14).name = "钨矿";
115113
LDB.veins.Select(14).Name = "钨矿".TranslateFromJson();
116114

0 commit comments

Comments
 (0)