Skip to content

Commit

Permalink
Update 2.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Awbugl committed Jan 7, 2023
1 parent d97e711 commit 52b8f78
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 15 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ Reconstruct "Real Universe". Then leave a "GenesisBook".

### 最近更新介绍 | Recent update

- v2.3.4
+ 修复了巨型建筑加载出错的问题

+ Fixed the problem of loading Mega Buildings

- v2.3.3
+ 修复了新版本模型冲突的问题
+ 修复了合成器物品详情位置不正确的问题
Expand All @@ -26,12 +31,6 @@ Reconstruct "Real Universe". Then leave a "GenesisBook".
+ Adjusted the position of the logistics item selection UI
+ Added a series of items: Developer Log 01~11


- v2.3.2
+ 调整了混凝土的解锁科技

+ Adjusted the unlock technology of concrete

----

<details>
Expand Down Expand Up @@ -111,6 +110,10 @@ Reconstruct "Real Universe". Then leave a "GenesisBook".
<details>
<summary>展开查看</summary>

- v2.3.4
+ 修复了巨型建筑加载出错的问题


- v2.3.3
+ 修复了新版本模型冲突的问题
+ 修复了合成器物品详情位置不正确的问题
Expand Down Expand Up @@ -346,6 +349,10 @@ free to communicate with us.
<details>
<summary>Details</summary>

- v2.3.4
+ Fixed the problem of loading Mega Buildings


- v2.3.3
+ Fixed the conflict with the new version model
+ Fixed the problem that the synthesis item details position is incorrect
Expand Down
2 changes: 1 addition & 1 deletion src/ProjectGenesis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class ProjectGenesis : BaseUnityPlugin, IModCanSave, IMultiplayerModWithS
{
public const string MODGUID = "org.LoShin.GenesisBook";
internal const string MODNAME = "GenesisBook";
internal const string VERSION = "2.3.3";
internal const string VERSION = "2.3.4";
internal static ManualLogSource logger;

//无限堆叠开关(私货)
Expand Down
16 changes: 8 additions & 8 deletions src/Utils/PrefabFixUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ internal static void ItemPostFix(ItemProtoSet itemProtos)
internal static void ModelPostFix(ModelProtoSet models)
{
// 天穹装配厂
var testCraftingTableModel = models.Select(403);
var testCraftingTableModel = models.Select(453);
ref var prefabDesc1 = ref testCraftingTableModel.prefabDesc;
prefabDesc1.isAssembler = true;
prefabDesc1.assemblerRecipeType = (ERecipeType_1)ERecipeType.Assemble;
Expand All @@ -122,7 +122,7 @@ internal static void ModelPostFix(ModelProtoSet models)
prefabDesc1.workEnergyPerTick = 500000;

// 物质裂解塔
var testCraftingTableModel2 = models.Select(404);
var testCraftingTableModel2 = models.Select(454);
ref var prefabDesc2 = ref testCraftingTableModel2.prefabDesc;
prefabDesc2.isAssembler = true;
prefabDesc2.assemblerRecipeType = (ERecipeType_1)ERecipeType.所有熔炉;
Expand All @@ -138,7 +138,7 @@ internal static void ModelPostFix(ModelProtoSet models)
prefabDesc2.workEnergyPerTick = 500000;

// 巨型化学反应釜
var testCraftingTableModel3 = models.Select(405);
var testCraftingTableModel3 = models.Select(455);
ref var prefabDesc3 = ref testCraftingTableModel3.prefabDesc;
prefabDesc3.isAssembler = true;
prefabDesc3.assemblerRecipeType = (ERecipeType_1)ERecipeType.所有化工;
Expand All @@ -154,7 +154,7 @@ internal static void ModelPostFix(ModelProtoSet models)
prefabDesc3.workEnergyPerTick = 500000;

// 精密结构组装厂
var testCraftingTableModel4 = models.Select(406);
var testCraftingTableModel4 = models.Select(456);
ref var prefabDesc4 = ref testCraftingTableModel4.prefabDesc;
prefabDesc4.isAssembler = true;
prefabDesc4.assemblerRecipeType = (ERecipeType_1)ERecipeType.所有高精;
Expand All @@ -170,7 +170,7 @@ internal static void ModelPostFix(ModelProtoSet models)
prefabDesc4.workEnergyPerTick = 500000;

// 物质分解设施
var testCraftingTableModel5 = models.Select(410);
var testCraftingTableModel5 = models.Select(460);
ref var prefabDesc5 = ref testCraftingTableModel5.prefabDesc;
prefabDesc5.isAssembler = true;
prefabDesc5.assemblerRecipeType = (ERecipeType_1)ERecipeType.垃圾回收;
Expand All @@ -186,7 +186,7 @@ internal static void ModelPostFix(ModelProtoSet models)
prefabDesc5.workEnergyPerTick = 1000000;

// 巨型粒子对撞机
var testCraftingTableModel6 = models.Select(411);
var testCraftingTableModel6 = models.Select(461);
ref var prefabDesc6 = ref testCraftingTableModel6.prefabDesc;
prefabDesc6.isAssembler = true;
prefabDesc6.assemblerRecipeType = (ERecipeType_1)ERecipeType.Particle;
Expand All @@ -204,13 +204,13 @@ internal static void ModelPostFix(ModelProtoSet models)
LDB.items.Select(2211).prefabDesc.fuelMask = 5;
LDB.items.Select(2210).prefabDesc.fuelMask = 6;

var antiMatterModel = models.Select(407);
var antiMatterModel = models.Select(457);
ref var antiMatterModelprefabDesc = ref antiMatterModel.prefabDesc;
antiMatterModelprefabDesc.fuelMask = 4;
antiMatterModelprefabDesc.genEnergyPerTick = 1200000000;
antiMatterModelprefabDesc.useFuelPerTick = 1200000000;

var megapumper = models.Select(412);
var megapumper = models.Select(462);
ref var megapumperprefabDesc = ref megapumper.prefabDesc;
megapumperprefabDesc.isFractionator = false;
megapumperprefabDesc.assemblerRecipeType = ERecipeType_1.None;
Expand Down

0 comments on commit 52b8f78

Please sign in to comment.