]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Prevent ejection of cleaning module's holofan powercell (#23696)
authorArendian <137322659+Arendian@users.noreply.github.com>
Sun, 7 Jan 2024 21:26:15 +0000 (22:26 +0100)
committerGitHub <noreply@github.com>
Sun, 7 Jan 2024 21:26:15 +0000 (14:26 -0700)
prevent battery ejection janitor cyborg holofan and make it recharge

Resources/Prototypes/Entities/Objects/Devices/holoprojectors.yml
Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml

index 7402bd65485605bfb24e352ab4a04fc0fce846a9..7edd788bf351a9c860c00133c61fd90f67aaef09 100644 (file)
     tags:
       - HolosignProjector
 
+- type: entity
+  parent: Holoprojector
+  id: HoloprojectorBorg
+  suffix: borg
+  components:
+  - type: HolosignProjector
+    chargeUse: 240
+  - type: ItemSlots
+    slots:
+      cell_slot:
+        name: power-cell-slot-component-slot-name-default
+        startingItem: PowerCellMicroreactor
+        disableEject: true
+        swap: false
+
 - type: entity
   parent: Holoprojector
   id: HolofanProjector
index 83306e2acfa476a62df337eba0e0e3577de0e76c..38fd1e30419ae4105939afd71756739551b91234 100644 (file)
   - type: ItemBorgModule
     items:
     - AdvMopItem
-    - Holoprojector
+    - HoloprojectorBorg
     - SprayBottleSpaceCleaner
 
 # medical modules