EVENT BASED WEIGHTLESSNESS (#37971)
* Init Commit * Typos * Commit 2 * Save Interaction Test Mob from failing * ssss * Confident I've gotten all the correct prototypes * Whoops forgot to edit those * aaaaa * Better solution * Test fail fixes * Yaml fix * THE FINAL TEST FIX * Final fix(?) * whoops * Added a WeightlessnessChangedEvent * Check out this diff * Wait I'm dumb * Final optimization and don't duplicate code * Death to IsWeightless * File scoped namespaces * REVIEW * Fix test fails * FIX TEST FAILS REAL * A * Commit of doom * borgar * We don't need to specify on map init apparently * Fuck it * LOAD BEARING COMMENT --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
5cd9ba6016
commit
9de76e70c7
@@ -9,6 +9,7 @@
|
||||
noRot: true
|
||||
drawdepth: Mobs
|
||||
- type: MobCollision
|
||||
- type: GravityAffected
|
||||
- type: Physics
|
||||
bodyType: KinematicController
|
||||
- type: Fixtures
|
||||
|
||||
@@ -6,11 +6,13 @@
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: MovementIgnoreGravity
|
||||
weightless: true
|
||||
- type: Sprite
|
||||
sprite: Objects/Fun/immovable_rod.rsi
|
||||
state: icon
|
||||
noRot: false
|
||||
- type: ImmovableRod
|
||||
- type: GravityAffected
|
||||
- type: Physics
|
||||
bodyType: Dynamic
|
||||
linearDamping: 0
|
||||
@@ -78,8 +80,6 @@
|
||||
damage:
|
||||
types:
|
||||
Blunt: 190
|
||||
- type: MovementIgnoreGravity
|
||||
gravityState: true
|
||||
- type: InputMover
|
||||
- type: MovementSpeedModifier
|
||||
baseWeightlessAcceleration: 5
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
- type: Pullable
|
||||
- type: Physics
|
||||
bodyType: KinematicController
|
||||
- type: GravityAffected
|
||||
- type: Clickable
|
||||
- type: WiresPanel
|
||||
- type: Fixtures
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
soundHit:
|
||||
collection: MetalThud
|
||||
- type: CollisionWake
|
||||
- type: GravityAffected
|
||||
- type: Physics
|
||||
bodyType: Dynamic
|
||||
fixedRotation: false
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Clickable
|
||||
- type: GravityAffected
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
|
||||
Reference in New Issue
Block a user