]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Adds infinite debug power APC, substation, SMES (#39317)
authorK-Dynamic <20566341+K-Dynamic@users.noreply.github.com>
Wed, 6 Aug 2025 05:16:37 +0000 (17:16 +1200)
committerGitHub <noreply@github.com>
Wed, 6 Aug 2025 05:16:37 +0000 (22:16 -0700)
* make debug power infinite

* demarcate infinite and empty debug power

* fix duplicate ID

* change infinite suffix to autorecharge

Resources/Prototypes/Entities/Structures/Power/debug_power.yml

index a102516ce6e6b1de056f06e685db52eadad9e712..d2fa8d08a37c80ae6ec177b9d484d78d6773906c 100644 (file)
   - type: Anchorable
 
 - type: entity
+  parent: BaseSMES
   id: DebugSMES
+  suffix: DEBUG, Empty
+  components:
+  - type: Tag
+    tags:
+    - Debug
+
+- type: entity
   parent: BaseSMES
-  suffix: DEBUG
+  id: DebugSMESRecharging
+  suffix: DEBUG, AutoRecharge
   components:
+  - type: BatterySelfRecharger
+    autoRechargeRate: 50000
+    autoRecharge: True
   - type: Tag
     tags:
-      - Debug
+    - Debug
 
 - type: entity
+  parent: BaseSubstation
   id: DebugSubstation
+  suffix: DEBUG, Empty
+  components:
+  - type: Tag
+    tags:
+    - Debug
+
+- type: entity
   parent: BaseSubstation
-  suffix: DEBUG
+  id: DebugSubstationRecharging
+  suffix: DEBUG, AutoRecharge
   components:
+  - type: BatterySelfRecharger
+    autoRechargeRate: 50000
+    autoRecharge: True
   - type: Tag
     tags:
-      - Debug
+    - Debug
+
+- type: entity
+  parent: BaseSubstationWall
+  id: DebugSubstationWall
+  suffix: DEBUG, Empty
+  components:
+  - type: Tag
+    tags:
+    - Debug
+
+- type: entity
+  parent: BaseSubstationWall
+  id: DebugSubstationWallRecharging
+  suffix: DEBUG, AutoRecharge
+  components:
+  - type: BatterySelfRecharger
+    autoRechargeRate: 50000
+    autoRecharge: True
+  - type: Tag
+    tags:
+    - Debug
 
 - type: entity
+  parent: BaseAPC
   id: DebugAPC
+  suffix: DEBUG, Empty
+  components:
+  - type: Tag
+    tags:
+    - Debug
+
+- type: entity
   parent: BaseAPC
-  suffix: DEBUG
+  id: DebugAPCRecharging
+  suffix: DEBUG, AutoRecharge
   components:
+  - type: BatterySelfRecharger
+    autoRechargeRate: 50000
+    autoRecharge: True
   - type: Tag
     tags:
-      - Debug
+    - Debug
 
 - type: entity
   id: DebugPowerReceiver