Immovable rod (#8306)
This commit is contained in:
41
Resources/Prototypes/Entities/Objects/Fun/immovable_rod.yml
Normal file
41
Resources/Prototypes/Entities/Objects/Fun/immovable_rod.yml
Normal 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
|
||||
Reference in New Issue
Block a user