Immovable Rod changes (#26757)

This commit is contained in:
keronshb
2024-04-11 13:40:02 -04:00
committed by GitHub
parent fc5a90be0d
commit 036abacbb7
3 changed files with 72 additions and 8 deletions

View File

@@ -11,8 +11,6 @@
state: icon
noRot: false
- type: ImmovableRod
- type: TimedDespawn
lifetime: 30.0
- type: Physics
bodyType: Dynamic
linearDamping: 0
@@ -36,8 +34,15 @@
location: immovable rod
- type: entity
id: ImmovableRodDespawn
parent: ImmovableRod
components:
- type: TimedDespawn
lifetime: 30.0
- type: entity
id: ImmovableRodSlow
parent: ImmovableRodDespawn
suffix: Slow
components:
- type: ImmovableRod
@@ -45,7 +50,7 @@
maxSpeed: 5
- type: entity
parent: ImmovableRod
parent: ImmovableRodDespawn
id: ImmovableRodKeepTiles
suffix: Keep Tiles
components:
@@ -53,6 +58,33 @@
destroyTiles: false
hitSoundProbability: 1.0
# For Wizard Polymorph
- type: entity
parent: ImmovableRod
id: ImmovableRodWizard
suffix: Wizard
components:
- type: ImmovableRod
minSpeed: 35
destroyTiles: false
randomizeVelocity: false
shouldGib: false
damage:
types:
Blunt: 200
- type: MovementIgnoreGravity
gravityState: true
- type: InputMover
- type: MovementSpeedModifier
weightlessAcceleration: 5
weightlessModifier: 2
weightlessFriction: 0
friction: 0
frictionNoInput: 0
- type: CanMoveInAir
- type: MovementAlwaysTouching
- type: NoSlip
- type: entity
parent: ImmovableRodKeepTiles
id: ImmovableRodKeepTilesStill