]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
[Bugfix] Generators can now be weightless. (#39787)
authorPrincess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
Wed, 27 Aug 2025 20:37:31 +0000 (13:37 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Aug 2025 20:37:31 +0000 (22:37 +0200)
FIX

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Resources/Prototypes/Entities/Structures/Power/Generation/generators.yml

index 410df0502142ecbfb3c8bb7ad18dc132c0a6c099..456a83046b805ff7d5dda8b8bd7eb387f667e170 100644 (file)
@@ -2,6 +2,7 @@
 
 - type: entity
   abstract: true
+  parent: BaseMachine
   id: BaseGenerator
   description: A high efficiency thermoelectric generator.
   name: generator
     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