From 178a085328de342c2e331760fc2ced12c24b7684 Mon Sep 17 00:00:00 2001 From: AsnDen <75905158+AsnDen@users.noreply.github.com> Date: Sun, 25 May 2025 21:36:00 +0300 Subject: [PATCH] Bar sign AlignTile version and fixtures for bar signs (#37756) * fixtures and sprite offset * AlignTile versions * Update bar_sign.yml --- .../Structures/Wallmounts/Signs/bar_sign.yml | 165 +++++++++++++++++- 1 file changed, 164 insertions(+), 1 deletion(-) diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/Signs/bar_sign.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/Signs/bar_sign.yml index f00216393b..05611d04c4 100644 --- a/Resources/Prototypes/Entities/Structures/Wallmounts/Signs/bar_sign.yml +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/Signs/bar_sign.yml @@ -1,7 +1,6 @@ - type: entity id: BaseBarSign parent: BaseStructure - name: bar sign abstract: true components: - type: MeleeSound @@ -10,6 +9,18 @@ collection: GlassSmash - type: WallMount arc: 360 + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.95,-0.45,0.95,0.45" + density: 60 + mask: + - MachineMask + layer: + - MidImpassable + - LowImpassable - type: Sprite drawdepth: WallMountedItems sprite: Structures/Wallmounts/barsign.rsi @@ -50,12 +61,39 @@ boardName: wires-board-name-barsign layoutId: BarSign +- type: entity + id: BaseBarSignAlignTile + parent: BaseBarSign + sufix: AlignTile + abstract: true + components: + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.45,-0.45,1.45,0.45" + density: 60 + mask: + - MachineMask + layer: + - MidImpassable + - LowImpassable + - type: Sprite + offset: 0.5,0 + - type: entity parent: BaseBarSign id: BarSign name: bar sign suffix: Random +- type: entity + parent: BaseBarSignAlignTile + id: BarSignAlignTile + name: bar sign + suffix: Random, AlignTile + # Missing appearance components & various other sprite issues. #- type: entity # id: LargeBarSign @@ -81,6 +119,11 @@ - type: BarSign current: ComboCafe +- type: entity + parent: [BaseBarSignAlignTile, BarSignComboCafe] + id: BarSignComboCafeAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignEmergencyRumParty @@ -90,6 +133,11 @@ - type: BarSign current: EmergencyRumParty +- type: entity + parent: [BaseBarSignAlignTile, BarSignEmergencyRumParty] + id: BarSignEmergencyRumPartyAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignLV426 @@ -99,6 +147,11 @@ - type: BarSign current: LV426 +- type: entity + parent: [BaseBarSignAlignTile, BarSignLV426] + id: BarSignLV426AlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignMaidCafe @@ -108,6 +161,11 @@ - type: BarSign current: MaidCafe +- type: entity + parent: [BaseBarSignAlignTile, BarSignMaidCafe] + id: BarSignMaidCafeAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignMalteseFalcon @@ -117,6 +175,11 @@ - type: BarSign current: MalteseFalcon +- type: entity + parent: [BaseBarSignAlignTile, BarSignMalteseFalcon] + id: BarSignMalteseFalconAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignOfficerBeersky @@ -126,6 +189,11 @@ - type: BarSign current: OfficerBeersky +- type: entity + parent: [BaseBarSignAlignTile, BarSignOfficerBeersky] + id: BarSignOfficerBeerskyAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignRobustaCafe @@ -135,6 +203,11 @@ - type: BarSign current: RobustaCafe +- type: entity + parent: [BaseBarSignAlignTile, BarSignRobustaCafe] + id: BarSignRobustaCafeAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignTheAleNath @@ -144,6 +217,11 @@ - type: BarSign current: TheAleNath +- type: entity + parent: [BaseBarSignAlignTile, BarSignTheAleNath] + id: BarSignTheAleNathAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignTheBirdCage @@ -153,6 +231,11 @@ - type: BarSign current: TheBirdCage +- type: entity + parent: [BaseBarSignAlignTile, BarSignTheBirdCage] + id: BarSignTheBirdCageAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignTheCoderbus @@ -162,6 +245,11 @@ - type: BarSign current: TheCoderbus +- type: entity + parent: [BaseBarSignAlignTile, BarSignTheCoderbus] + id: BarSignTheCoderbusAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignTheDrunkCarp @@ -171,6 +259,11 @@ - type: BarSign current: TheDrunkCarp +- type: entity + parent: [BaseBarSignAlignTile, BarSignTheDrunkCarp] + id: BarSignTheDrunkCarpAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignEngineChange @@ -180,6 +273,11 @@ - type: BarSign current: EngineChange +- type: entity + parent: [BaseBarSignAlignTile, BarSignEngineChange] + id: BarSignEngineChangeAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignTheHarmbaton @@ -189,6 +287,11 @@ - type: BarSign current: Harmbaton +- type: entity + parent: [BaseBarSignAlignTile, BarSignTheHarmbaton] + id: BarSignTheHarmbatonAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignTheLightbulb @@ -198,6 +301,11 @@ - type: BarSign current: TheLightbulb +- type: entity + parent: [BaseBarSignAlignTile, BarSignTheLightbulb] + id: BarSignTheLightbulbAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignTheLooseGoose @@ -207,6 +315,11 @@ - type: BarSign current: Goose +- type: entity + parent: [BaseBarSignAlignTile, BarSignTheLooseGoose] + id: BarSignTheLooseGooseAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignTheNet @@ -216,6 +329,11 @@ - type: BarSign current: TheNet +- type: entity + parent: [BaseBarSignAlignTile, BarSignTheNet] + id: BarSignTheNetAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignTheOuterSpess @@ -225,6 +343,11 @@ - type: BarSign current: TheOuterSpess +- type: entity + parent: [BaseBarSignAlignTile, BarSignTheOuterSpess] + id: BarSignTheOuterSpessAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignTheSingulo @@ -234,6 +357,11 @@ - type: BarSign current: TheSingulo +- type: entity + parent: [BaseBarSignAlignTile, BarSignTheSingulo] + id: BarSignTheSinguloAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignTheSun @@ -243,6 +371,11 @@ - type: BarSign current: TheSun +- type: entity + parent: [BaseBarSignAlignTile, BarSignTheSun] + id: BarSignTheSunAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignWiggleRoom @@ -252,6 +385,11 @@ - type: BarSign current: WiggleRoom +- type: entity + parent: [BaseBarSignAlignTile, BarSignWiggleRoom] + id: BarSignWiggleRoomAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignZocalo @@ -261,6 +399,11 @@ - type: BarSign current: Zocalo +- type: entity + parent: [BaseBarSignAlignTile, BarSignZocalo] + id: BarSignZocaloAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignEmprah @@ -270,6 +413,11 @@ - type: BarSign current: Emprah +- type: entity + parent: [BaseBarSignAlignTile, BarSignEmprah] + id: BarSignEmprahAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignSpacebucks @@ -279,6 +427,11 @@ - type: BarSign current: Spacebucks +- type: entity + parent: [BaseBarSignAlignTile, BarSignSpacebucks] + id: BarSignSpacebucksAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignMaltroach @@ -288,6 +441,11 @@ - type: BarSign current: Maltroach +- type: entity + parent: [BaseBarSignAlignTile, BarSignMaltroach] + id: BarSignMaltroachAlignTile + suffix: AlignTile + - type: entity parent: BaseBarSign id: BarSignWhiskeyEchoes @@ -296,3 +454,8 @@ components: - type: BarSign current: WhiskeyEchoes + +- type: entity + parent: [BaseBarSignAlignTile, BarSignWhiskeyEchoes] + id: BarSignWhiskeyEchoesAlignTile + suffix: AlignTile -- 2.51.2