Airlocks retexture (#28)
* add: new airlock sprites * fix: фикс отображения болтов двери на клиенте * add missing states + remove redundant prototypes --------- Co-authored-by: Remuchi <RemuchiOfficial@gmail.com>
This commit is contained in:
@@ -117,12 +117,36 @@ public sealed partial class AirlockComponent : Component
|
||||
[DataField]
|
||||
public string OpenSpriteState = "open_unlit";
|
||||
|
||||
/// <summary>
|
||||
/// The sprite state used for the open bolted airlock lights.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string OpenBoltedSpriteState = "bolted_open_unlit";
|
||||
|
||||
/// <summary>
|
||||
/// The sprite state used for the open emergency access airlock lights.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string OpenEmergencySpriteState = "emergency_open_unlit";
|
||||
|
||||
/// <summary>
|
||||
/// The sprite state used for the closed airlock lights.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string ClosedSpriteState = "closed_unlit";
|
||||
|
||||
/// <summary>
|
||||
/// The sprite state used for the closed bolted airlock lights.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string ClosedBoltedSpriteState = "bolted_unlit";
|
||||
|
||||
/// <summary>
|
||||
/// The sprite state used for the closed bolted airlock lights.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string ClosedEmergencySpriteState = "emergency_unlit";
|
||||
|
||||
/// <summary>
|
||||
/// The sprite state used for the 'access denied' lights animation.
|
||||
/// </summary>
|
||||
|
||||
@@ -460,7 +460,7 @@ public abstract class SharedDoorSystem : EntitySystem
|
||||
//If the colliding entity is a slippable item ignore it by the airlock
|
||||
if (otherPhysics.CollisionLayer == (int)CollisionGroup.SlipLayer && otherPhysics.CollisionMask == (int)CollisionGroup.ItemMask)
|
||||
continue;
|
||||
|
||||
|
||||
//For when doors need to close over conveyor belts
|
||||
if (otherPhysics.CollisionLayer == (int) CollisionGroup.ConveyorMask)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user