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