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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user