Immovable rod (#8306)

This commit is contained in:
Kara
2022-05-20 19:43:26 -07:00
committed by GitHub
parent c4880d80d5
commit a3decccd35
7 changed files with 228 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
# Immovable rod
- type: entity
id: ImmovableRod
name: immovable rod
description: You can sense that it's hungry. That's usually a bad sign.
components:
- type: Clickable
- type: InteractionOutline
- type: MovementIgnoreGravity
- type: Sprite
sprite: Objects/Fun/immovable_rod.rsi
state: icon
noRot: false
- type: ImmovableRod
- type: Physics
bodyType: Dynamic
linearDamping: 0
- type: PointLight
radius: 3
color: red
energy: 2.0
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeCircle
radius: 0.5
mass: 1
hard: false
layer:
- Impassable
- Opaque
- type: entity
id: ImmovableRodSlow
suffix: Slow
parent: ImmovableRod
components:
- type: ImmovableRod
minSpeed: 1
maxSpeed: 5