Skip to content

Commit

Permalink
Walls for the mime ship
Browse files Browse the repository at this point in the history
  • Loading branch information
dvir001 committed Jul 29, 2023
1 parent 4e1c4ad commit 3b94336
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions Resources/Prototypes/_NF/Entities/Structures/Windows/window.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Mime

- type: entity
id: WallInvisibleShip
name: Invisible Wall
suffix: Ship
components:
- type: Sprite
drawdepth: WallTops
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.5,-0.5,0.5,0.5"
mask:
- FullTileMask
layer:
- GlassLayer
- type: Damageable
damageContainer: Inorganic
damageModifierSet: RGlass
- type: Physics
bodyType: Static
- type: Airtight
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: InteractionPopup
interactSuccessString: comp-window-knock
messagePerceivedByOthers: comp-window-knock
interactSuccessSound:
path: /Audio/Effects/glass_knock.ogg

0 comments on commit 3b94336

Please sign in to comment.