From 204f3e6ae300a0a591814e930cb33f4a2a4cfd1f Mon Sep 17 00:00:00 2001 From: IgorAnt028 <118114530+IgorAnt028@users.noreply.github.com> Date: Wed, 14 Aug 2024 00:38:28 +0300 Subject: [PATCH] Fix bug with rotating shelves (#30978) * Main * Update shelfs.yml * Little bug fix --- .../Entities/Structures/Wallmounts/shelfs.yml | 24 +++++++------------ 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/shelfs.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/shelfs.yml index ef501b843e..321d1f4e18 100644 --- a/Resources/Prototypes/Entities/Structures/Wallmounts/shelfs.yml +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/shelfs.yml @@ -2,23 +2,21 @@ - type: entity abstract: true id: ShelfBase - parent: BaseStructure name: shelf - description: A strange place to place, well, anything really. You feel like you shouldn't be seeing this.' + description: A strange place to place, well, anything really. You feel like you shouldn't be seeing this. + placement: + mode: SnapgridCenter + snap: + - Wallmount components: + - type: Clickable + - type: Tag + tags: + - Structure - type: Sprite drawdepth: WallMountedItems sprite: Structures/Storage/Shelfs/wood.rsi state: base - - type: Fixtures - fixtures: - fix1: - shape: - !type:PhysShapeAabb - bounds: "-0.35,-0.35,0.35,0.35" - density: 35 - layer: - - BulletImpassable - type: Transform - type: Damageable damageModifierSet: Wood @@ -35,7 +33,6 @@ - !type:DoActsBehavior acts: ["Destruction"] - type: WallMount - arc: 175 - type: Storage grid: - 0,0,3,1 @@ -49,9 +46,6 @@ - type: ContainerContainer containers: storagebase: !type:Container - - type: Tag - tags: - - Structure - type: entity abstract: true -- 2.52.0