mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-03-22 17:43:27 +08:00
UXAssist: add 3 options to Initialize Planet
This commit is contained in:
@@ -105,8 +105,8 @@ public static class FactoryFunctions
|
||||
if (sc is null || sc.id != stationId) continue;
|
||||
for (int i = 0; i < sc.storage.Length; i++)
|
||||
{
|
||||
int package = player.TryAddItemToPackage(sc.storage[i].itemId, sc.storage[i].count, sc.storage[i].inc, true, objId);
|
||||
UIItemup.Up(sc.storage[i].itemId, package);
|
||||
int added = player.TryAddItemToPackage(sc.storage[i].itemId, sc.storage[i].count, sc.storage[i].inc, true, objId);
|
||||
if (added > 0) UIItemup.Up(sc.storage[i].itemId, added);
|
||||
}
|
||||
sc.storage = new StationStore[sc.storage.Length];
|
||||
sc.needs = new int[sc.needs.Length];
|
||||
|
||||
Reference in New Issue
Block a user