mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
OverclockEverything: add support to fractionators
This commit is contained in:
1 parent
97af764e92
commit
74c2554814
1 file changed
+10
@@ -112,6 +112,16 @@ public class Patch : BaseUnityPlugin
|
||||
LDB.items.Select(2001).prefabDesc.beltSpeed = (int)beltSpeed[0];
|
||||
LDB.items.Select(2002).prefabDesc.beltSpeed = (int)beltSpeed[1];
|
||||
LDB.items.Select(2003).prefabDesc.beltSpeed = (int)beltSpeed[2];
|
||||
foreach (var proto in LDB.recipes.dataArray)
|
||||
{
|
||||
if (proto.Type == ERecipeType.Fractionate)
|
||||
{
|
||||
for (int i = 0; i < proto.ItemCounts.Length; i++)
|
||||
{
|
||||
proto.ItemCounts[i] *= assembleSpeedMultiplier;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach (var proto in LDB.items.dataArray)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user