Merge remote-tracking branch 'upstream/master' into ed-30-05-2024-upstream
# Conflicts: # Resources/Prototypes/Maps/Pools/default.yml
This commit is contained in:
@@ -25,6 +25,7 @@ using Content.Shared.Stacks;
|
||||
using Content.Shared.Storage.Components;
|
||||
using Content.Shared.Timing;
|
||||
using Content.Shared.Verbs;
|
||||
using Content.Shared.Whitelist;
|
||||
using Robust.Shared.Audio.Systems;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.GameStates;
|
||||
@@ -155,7 +156,9 @@ public abstract class SharedStorageSystem : EntitySystem
|
||||
Grid = new List<Box2i>(component.Grid),
|
||||
MaxItemSize = component.MaxItemSize,
|
||||
StoredItems = storedItems,
|
||||
SavedLocations = component.SavedLocations
|
||||
SavedLocations = component.SavedLocations,
|
||||
Whitelist = component.Whitelist,
|
||||
Blacklist = component.Blacklist
|
||||
};
|
||||
}
|
||||
|
||||
@@ -167,6 +170,8 @@ public abstract class SharedStorageSystem : EntitySystem
|
||||
component.Grid.Clear();
|
||||
component.Grid.AddRange(state.Grid);
|
||||
component.MaxItemSize = state.MaxItemSize;
|
||||
component.Whitelist = state.Whitelist;
|
||||
component.Blacklist = state.Blacklist;
|
||||
|
||||
component.StoredItems.Clear();
|
||||
|
||||
@@ -1499,5 +1504,9 @@ public abstract class SharedStorageSystem : EntitySystem
|
||||
public List<Box2i> Grid = new();
|
||||
|
||||
public ProtoId<ItemSizePrototype>? MaxItemSize;
|
||||
|
||||
public EntityWhitelist? Whitelist;
|
||||
|
||||
public EntityWhitelist? Blacklist;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user