From: IgorAnt028 <118114530+IgorAnt028@users.noreply.github.com> Date: Tue, 13 Aug 2024 21:38:28 +0000 (+0300) Subject: Fix bug with rotating shelves (#30978) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=204f3e6ae300a0a591814e930cb33f4a2a4cfd1f;p=space-station-14.git Fix bug with rotating shelves (#30978) * Main * Update shelfs.yml * Little bug fix --- 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