]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixed the empty mass scanner still being a normal item, whoops. (#36340)
authorRedBookcase <crazykid1590@gmail.com>
Thu, 10 Apr 2025 10:44:06 +0000 (03:44 -0700)
committerGitHub <noreply@github.com>
Thu, 10 Apr 2025 10:44:06 +0000 (20:44 +1000)
* Fixed the empty mass scanner still being a normal item, whoops.

* Fixed parenting duplication and issues with item state.

---------

Co-authored-by: RedBookcase <Usualmoves@gmail.com>
Resources/Prototypes/Entities/Objects/Tools/handheld_mass_scanner.yml

index bab5a797284e896d76b6764a0d1c1bba8876a14b..4dc2e65b77fd5a482fbcedc489dae2e25e3f4e97 100644 (file)
@@ -13,7 +13,7 @@
       - state: icon
       - state: scanner
         shader: unshaded
-        visible: true
+        visible: false
         map: [ "enum.PowerDeviceVisualLayers.Powered" ]
   - type: RadarConsole
     maxRange: 256
     slots:
       cell_slot:
         name: power-cell-slot-component-slot-name-default
-  - type: Item
-    size: Normal
-    sprite: Objects/Tools/handheld_mass_scanner.rsi
-  - type: Sprite
-    sprite: Objects/Tools/handheld_mass_scanner.rsi
-    state: icon
-    layers:
-      - state: icon
-      - state: scanner
-        shader: unshaded
-        visible: false
-        map: [ "enum.PowerDeviceVisualLayers.Powered" ]
 
 - type: entity
   id: HandHeldMassScannerBorg