InAir tweaks & chasm fixes (#19707)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
- type: entity
|
||||
name: bat
|
||||
parent: SimpleMobBase
|
||||
parent: [ SimpleMobBase, FlyingMobBase ]
|
||||
id: MobBat
|
||||
description: Some cultures find them terrifying, others crunchy on the teeth.
|
||||
components:
|
||||
@@ -13,7 +13,6 @@
|
||||
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||
state: bat
|
||||
sprite: Mobs/Animals/bat.rsi
|
||||
- type: Physics
|
||||
- type: Speech
|
||||
speechSounds: Squeak
|
||||
speechVerb: SmallMob
|
||||
@@ -59,7 +58,6 @@
|
||||
damage:
|
||||
types:
|
||||
Piercing: 5
|
||||
- type: NoSlip
|
||||
- type: Puller
|
||||
needsHands: true
|
||||
- type: Tag
|
||||
@@ -68,7 +66,7 @@
|
||||
|
||||
- type: entity
|
||||
name: bee
|
||||
parent: SimpleMobBase
|
||||
parent: [ SimpleMobBase, FlyingMobBase ]
|
||||
id: MobBee
|
||||
description: Nice to have, but you can't build a civilization on a foundation of honey alone.
|
||||
components:
|
||||
@@ -82,7 +80,6 @@
|
||||
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||
state: 0
|
||||
sprite: Mobs/Animals/bee.rsi
|
||||
- type: Physics
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
@@ -112,7 +109,6 @@
|
||||
- Bee
|
||||
- type: Bloodstream
|
||||
bloodMaxVolume: 0.1
|
||||
- type: NoSlip
|
||||
- type: MobPrice
|
||||
price: 50
|
||||
- type: Puller
|
||||
@@ -354,7 +350,7 @@
|
||||
|
||||
- type: entity
|
||||
name: butterfly
|
||||
parent: SimpleMobBase
|
||||
parent: [ SimpleMobBase, FlyingMobBase ]
|
||||
id: MobButterfly
|
||||
description: Despite popular misconceptions, it's not actually made of butter.
|
||||
components:
|
||||
@@ -367,7 +363,6 @@
|
||||
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||
state: butterfly
|
||||
sprite: Mobs/Animals/butterfly.rsi
|
||||
- type: Physics
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
@@ -396,7 +391,6 @@
|
||||
Base: dead
|
||||
- type: Bloodstream
|
||||
bloodMaxVolume: 0.1
|
||||
- type: NoSlip
|
||||
- type: MobPrice
|
||||
price: 50
|
||||
- type: Puller
|
||||
@@ -1233,7 +1227,7 @@
|
||||
# Would be cool to have some functionality for the parrot to be able to sit on stuff
|
||||
- type: entity
|
||||
name: parrot
|
||||
parent: SimpleMobBase
|
||||
parent: [ SimpleMobBase, FlyingMobBase ]
|
||||
id: MobParrot
|
||||
description: Infiltrates your domain, spies on you, and somehow still a cool pet.
|
||||
components:
|
||||
@@ -1246,7 +1240,6 @@
|
||||
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||
state: parrot
|
||||
sprite: Mobs/Animals/parrot.rsi
|
||||
- type: Physics
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
@@ -1276,7 +1269,6 @@
|
||||
path: /Audio/Animals/parrot_raught.ogg
|
||||
- type: Bloodstream
|
||||
bloodMaxVolume: 50
|
||||
- type: NoSlip
|
||||
|
||||
- type: entity
|
||||
name: penguin
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
- type: entity
|
||||
name: behonker
|
||||
parent: SimpleSpaceMobBase
|
||||
parent: [ SimpleSpaceMobBase, FlyingMobBase ]
|
||||
id: BaseMobBehonker
|
||||
abstract: true
|
||||
description: A floating demon aspect of the honkmother.
|
||||
@@ -70,8 +70,6 @@
|
||||
groups:
|
||||
- id: Medicine
|
||||
- id: Poison
|
||||
- type: MovementAlwaysTouching
|
||||
- type: NoSlip
|
||||
- type: Butcherable
|
||||
spawned:
|
||||
- id: MaterialBananium1
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
- type: entity
|
||||
name: space carp
|
||||
id: BaseMobCarp
|
||||
parent: SimpleSpaceMobBase
|
||||
parent: [ SimpleSpaceMobBase, FlyingMobBase ]
|
||||
description: It's a space carp.
|
||||
abstract: true
|
||||
components:
|
||||
@@ -42,7 +42,6 @@
|
||||
50: Dead
|
||||
- type: Stamina
|
||||
critThreshold: 100
|
||||
- type: MovementAlwaysTouching
|
||||
- type: DamageStateVisuals
|
||||
states:
|
||||
Alive:
|
||||
@@ -68,7 +67,6 @@
|
||||
Slash: 10
|
||||
- type: TypingIndicator
|
||||
proto: alien
|
||||
- type: NoSlip
|
||||
- type: Tag
|
||||
tags:
|
||||
- Carp
|
||||
|
||||
11
Resources/Prototypes/Entities/Mobs/NPCs/flying_animals.yml
Normal file
11
Resources/Prototypes/Entities/Mobs/NPCs/flying_animals.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Used for entities that are considered flying,
|
||||
# i.e. shouldnt slip, have free movement in weightlesness, and should go over chasms/lava
|
||||
- type: entity
|
||||
id: FlyingMobBase
|
||||
abstract: true
|
||||
components:
|
||||
- type: Physics
|
||||
bodyStatus: InAir
|
||||
- type: NoSlip
|
||||
- type: MovementAlwaysTouching
|
||||
- type: CanMoveInAir
|
||||
@@ -1,7 +1,7 @@
|
||||
- type: entity
|
||||
name: watcher
|
||||
id: MobWatcherBase
|
||||
parent: SimpleSpaceMobBase
|
||||
parent: [ SimpleSpaceMobBase, FlyingMobBase ]
|
||||
abstract: true
|
||||
description: It's like its staring right through you.
|
||||
components:
|
||||
@@ -46,8 +46,6 @@
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed: 5
|
||||
baseSprintSpeed: 7
|
||||
- type: MovementAlwaysTouching
|
||||
- type: NoSlip
|
||||
- type: ProjectileBatteryAmmoProvider
|
||||
proto: WatcherBolt
|
||||
fireCost: 50
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
- type: entity
|
||||
parent: SimpleSpaceMobBase
|
||||
parent: [ SimpleSpaceMobBase, FlyingMobBase ]
|
||||
id: BaseMobDragon
|
||||
suffix: ""
|
||||
name: space dragon
|
||||
@@ -90,8 +90,6 @@
|
||||
groups:
|
||||
- id: Medicine
|
||||
- id: Poison
|
||||
- type: MovementAlwaysTouching
|
||||
- type: NoSlip
|
||||
- type: Butcherable
|
||||
spawned:
|
||||
- id: FoodMeatDragon
|
||||
|
||||
@@ -10,9 +10,6 @@
|
||||
- type: MindContainer
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
bodyType: KinematicController
|
||||
fixedRotation: true
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
@@ -60,6 +57,10 @@
|
||||
baseSprintSpeed: 12
|
||||
baseWalkSpeed: 8
|
||||
- type: MovementIgnoreGravity
|
||||
- type: Physics
|
||||
bodyType: KinematicController
|
||||
bodyStatus: InAir
|
||||
- type: CanMoveInAir
|
||||
- type: Tag
|
||||
tags:
|
||||
- BypassInteractionRangeChecks
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
weightlessAcceleration: 1
|
||||
weightlessFriction: 0.3
|
||||
weightlessModifier: 1.2
|
||||
- type: CanMoveInAir
|
||||
- type: Sprite
|
||||
sprite: Objects/Tanks/Jetpacks/blue.rsi
|
||||
state: icon
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
path: /Audio/Effects/singularity.ogg
|
||||
- type: Physics
|
||||
bodyType: Dynamic
|
||||
bodyStatus: InAir
|
||||
- type: CanMoveInAir
|
||||
- type: EventHorizon # To make the singularity consume things.
|
||||
radius: 0.5
|
||||
canBreachContainment: false
|
||||
|
||||
Reference in New Issue
Block a user