Skip to content

Commit

Permalink
Merge pull request #108 from dvir001/Ship-Mime-Walls
Browse files Browse the repository at this point in the history
Walls for the mime ship
  • Loading branch information
Cheackraze authored Jul 31, 2023
2 parents 91daa5e + ce044b0 commit e96c7d5
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 e96c7d5

Please sign in to comment.