]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Wide anomaly locator (#20581)
authorEd <96445749+TheShuEd@users.noreply.github.com>
Sun, 1 Oct 2023 16:41:32 +0000 (19:41 +0300)
committerGitHub <noreply@github.com>
Sun, 1 Oct 2023 16:41:32 +0000 (12:41 -0400)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* add textures

* fix encoding

* fix 2

Resources/Prototypes/Entities/Objects/Specific/Research/anomaly.yml
Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Resources/Prototypes/Recipes/Lathes/devices.yml
Resources/Prototypes/Research/experimental.yml
Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/inhand-left.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/inhand-right.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/screen.png [new file with mode: 0644]

index b2c1f6cdcc76296eb99b37c3dc522d55ab036190..e78d8dd1504f0deeb71dc5f7f1ef0ddf592195d1 100644 (file)
     slots:
       cell_slot:
         name: power-cell-slot-component-slot-name-default
+
+- type: entity
+  id: AnomalyLocatorWideUnpowered
+  parent: AnomalyLocatorUnpowered
+  name: wide-spectrum anomaly locator
+  description: A device that looks for anomalies from an extended distance, but has no way to determine the distance to them.
+  suffix: Unpowered
+  components:
+  - type: Sprite
+    sprite: Objects/Specific/Research/anomalylocatorwide.rsi
+  - type: ProximityBeeper
+    maximumDistance: 40
+    minBeepInterval: 0.5
+    maxBeepInterval: 0.5
+
+- type: entity
+  id: AnomalyLocatorWide
+  parent: [ AnomalyLocatorWideUnpowered, PowerCellSlotSmallItem ]
+  suffix: Powered
+  components:
+  - type: PowerCellDraw
+    drawRate: 1
+    useRate: 0
+
+- type: entity
+  id: AnomalyLocatorWideEmpty
+  parent: AnomalyLocatorWide
+  suffix: Empty
+  components:
+  - type: ItemSlots
+    slots:
+      cell_slot:
+        name: power-cell-slot-component-slot-name-default
\ No newline at end of file
index f6fa327ac54542eb67f58744f1136eb3e49749e6..42c97f4f3ac485a2fdf836aa37c90b8cf4c64531 100644 (file)
       - MiningDrill
       - AnomalyScanner
       - AnomalyLocator
+      - AnomalyLocatorWide
       - RCD
       - RCDAmmo
       - HandheldCrewMonitor
index de79b97513389a83eac4ad8aa8b97fd17b2d829b..ed73dc1b644c7ce52ebc3f5c7c95bcc35536a5ec 100644 (file)
     Steel: 400
     Glass: 100
 
+- type: latheRecipe
+  id: AnomalyLocatorWide
+  result: AnomalyLocatorWideEmpty
+  completetime: 3
+  materials:
+    Steel: 400
+    Glass: 100
+
 - type: latheRecipe
   id: AnomalyScanner
   result: AnomalyScanner
index c1730bb15ea2fddcb93beabe06335d8408173942..02d66c06bf7d45e09ad5481d4e9723b9b87f46df 100644 (file)
@@ -26,6 +26,7 @@
   recipeUnlocks:
   - AnomalyScanner
   - AnomalyLocator
+  - AnomalyLocatorWide
   - BorgModuleAnomaly
   - APECircuitboard
   - AnomalyVesselCircuitboard
diff --git a/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/icon.png b/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/icon.png
new file mode 100644 (file)
index 0000000..fe7c1c9
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/icon.png differ
diff --git a/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/inhand-left.png b/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/inhand-left.png
new file mode 100644 (file)
index 0000000..0b7fd84
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/inhand-left.png differ
diff --git a/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/inhand-right.png b/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/inhand-right.png
new file mode 100644 (file)
index 0000000..b32e851
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/inhand-right.png differ
diff --git a/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/meta.json b/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/meta.json
new file mode 100644 (file)
index 0000000..c72c0d8
--- /dev/null
@@ -0,0 +1,33 @@
+{
+  "version": 1,
+  "license": "CC0-1.0",
+  "copyright": "Created by TheShuEd (github) for Space Station 14.",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "icon"
+    },
+    {
+      "name": "inhand-left",
+      "directions": 4
+    },
+    {
+      "name": "inhand-right",
+      "directions": 4
+    },
+    {
+      "name": "screen",
+      "delays": [
+        [
+          0.2,
+          0.2,
+          0.2,
+          0.2
+        ]
+      ]
+    }
+  ]
+}
diff --git a/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/screen.png b/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/screen.png
new file mode 100644 (file)
index 0000000..cce49db
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/screen.png differ