[Bugfix] Generators can now be weightless. (#39787)

FIX

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
Princess Cheeseballs
2025-08-27 13:37:31 -07:00
committed by GitHub
parent af2bea7f66
commit ecc499a7d5

View File

@@ -2,6 +2,7 @@
- type: entity - type: entity
abstract: true abstract: true
parent: BaseMachine
id: BaseGenerator id: BaseGenerator
description: A high efficiency thermoelectric generator. description: A high efficiency thermoelectric generator.
name: generator name: generator
@@ -12,10 +13,6 @@
range: 5 range: 5
sound: sound:
path: /Audio/Ambience/Objects/engine_hum.ogg path: /Audio/Ambience/Objects/engine_hum.ogg
- type: Clickable
- type: InteractionOutline
- type: Physics
bodyType: Static
- type: Fixtures - type: Fixtures
fixtures: fixtures:
fix1: fix1:
@@ -27,9 +24,6 @@
- MachineMask - MachineMask
layer: layer:
- MachineLayer - MachineLayer
- type: Transform
anchored: true
noRot: true
- type: Sprite - type: Sprite
sprite: Structures/Power/power.rsi sprite: Structures/Power/power.rsi
state: generator state: generator
@@ -49,8 +43,7 @@
supplyRate: 3000 supplyRate: 3000
supplyRampRate: 500 supplyRampRate: 500
supplyRampTolerance: 500 supplyRampTolerance: 500
- type: Anchorable - type: Anchorable # Reduces anchor time to 1 second
- type: Pullable
- type: Damageable - type: Damageable
damageContainer: StructuralInorganic damageContainer: StructuralInorganic
damageModifierSet: Metallic damageModifierSet: Metallic