Add bluespace lockers (#12954)

* add bluespace lockers

* add command linkbluespacelocker

* add command clearbluespacelockerlinks

* fix unwelding method

* move bluespace locker functionality to own component

* add options to disable transporting certain things

* remove unused imports

* unlock target lockers when opening + minor optimization to unwelding
This commit is contained in:
Chief-Engineer
2022-12-19 21:47:37 -06:00
committed by GitHub
parent 9a7654791a
commit 067932712a
7 changed files with 247 additions and 3 deletions

View File

@@ -164,6 +164,7 @@ public sealed class EntityStorageSystem : EntitySystem
if (!Resolve(uid, ref component))
return;
RaiseLocalEvent(uid, new StorageBeforeOpenEvent());
component.Open = true;
EmptyContents(uid, component);
ModifyComponents(uid, component);
@@ -414,7 +415,7 @@ public sealed class EntityStorageSystem : EntitySystem
}
}
private void ReleaseGas(EntityUid uid, EntityStorageComponent component)
public void ReleaseGas(EntityUid uid, EntityStorageComponent component)
{
if (!component.Airtight)
return;