From 45db7707598dc6355ff6ceb10c237831f53d1517 Mon Sep 17 00:00:00 2001 From: Ed <96445749+TheShuEd@users.noreply.github.com> Date: Sun, 1 Oct 2023 19:41:32 +0300 Subject: [PATCH] Wide anomaly locator (#20581) * Add files via upload * Add files via upload * Add files via upload * Add files via upload * add textures * fix encoding * fix 2 --- .../Objects/Specific/Research/anomaly.yml | 33 ++++++++++++++++++ .../Entities/Structures/Machines/lathe.yml | 1 + .../Prototypes/Recipes/Lathes/devices.yml | 8 +++++ .../Prototypes/Research/experimental.yml | 1 + .../Research/anomalylocatorwide.rsi/icon.png | Bin 0 -> 500 bytes .../anomalylocatorwide.rsi/inhand-left.png | Bin 0 -> 316 bytes .../anomalylocatorwide.rsi/inhand-right.png | Bin 0 -> 307 bytes .../Research/anomalylocatorwide.rsi/meta.json | 33 ++++++++++++++++++ .../anomalylocatorwide.rsi/screen.png | Bin 0 -> 258 bytes 9 files changed, 76 insertions(+) create mode 100644 Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/icon.png create mode 100644 Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/inhand-left.png create mode 100644 Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/inhand-right.png create mode 100644 Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/meta.json create mode 100644 Resources/Textures/Objects/Specific/Research/anomalylocatorwide.rsi/screen.png diff --git a/Resources/Prototypes/Entities/Objects/Specific/Research/anomaly.yml b/Resources/Prototypes/Entities/Objects/Specific/Research/anomaly.yml index b2c1f6cdcc..e78d8dd150 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Research/anomaly.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Research/anomaly.yml @@ -71,3 +71,36 @@ 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 diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index f6fa327ac5..42c97f4f3a 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -203,6 +203,7 @@ - MiningDrill - AnomalyScanner - AnomalyLocator + - AnomalyLocatorWide - RCD - RCDAmmo - HandheldCrewMonitor diff --git a/Resources/Prototypes/Recipes/Lathes/devices.yml b/Resources/Prototypes/Recipes/Lathes/devices.yml index de79b97513..ed73dc1b64 100644 --- a/Resources/Prototypes/Recipes/Lathes/devices.yml +++ b/Resources/Prototypes/Recipes/Lathes/devices.yml @@ -68,6 +68,14 @@ Steel: 400 Glass: 100 +- type: latheRecipe + id: AnomalyLocatorWide + result: AnomalyLocatorWideEmpty + completetime: 3 + materials: + Steel: 400 + Glass: 100 + - type: latheRecipe id: AnomalyScanner result: AnomalyScanner diff --git a/Resources/Prototypes/Research/experimental.yml b/Resources/Prototypes/Research/experimental.yml index c1730bb15e..02d66c06bf 100644 --- a/Resources/Prototypes/Research/experimental.yml +++ b/Resources/Prototypes/Research/experimental.yml @@ -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 index 0000000000000000000000000000000000000000..fe7c1c92276c68305522f0c50de63690a294a001 GIT binary patch literal 500 zcmVPx$u1Q2eR9J=WmA^~FKorNn5eKIPp=5E0TR{qSbQ3IX2dC0@6ha;9e9hDwIrsM+*uJJ9|#=pUEcfNd&fH5`fl>>pbbg+MQVX&iVvglo0HqcPG3QA#*_7)ZIFl1% zf>LX>0-O|!Crf>$(gjm2-vab{Mc91)u$8TCNRk9fsb`NQNf=cJ7{9$hA6~BZ5(2>c zWU|tI0AmZLQ4!+40(wpnJIH$ct-Bh;V+GTVS778XCes`MfK)nfXR@iK{_C0!y2a)D?+!^0{~dfG5X~OtmYU1(Cze?PR}Kv-EPmzN8iOh&f8SzUw!cD+S;Z?oc=!FGd)KS5V-GV051KD6Ou zg~$?hE&XX zd&`i!$wA`S$L$%VU%69FyJiG;?_hab*LPrTtmB4)ua`@G*?H5#)bC#XZ~jWw=DXYu zn=YVk28M>}z&+tWbpPB(zT}&+vJSJJE-pI%Tke%}c}{1v#h1OREqT{%cbxS!Yir!8otdsK zXHxCNmVT8#VsiTGMvdhsGk!lb4KHE>TMQ(29DiER(IavD@ajR)XwmLU$#izZr#Js@X}q!RZqRWnRb5jlhx%yy9~Aer$jpK^?rWA^|VItKcllZ zjeX=3UWA`6-mDv6tE`lKF&3mB0v@cM`J3_8T%NyCOXM%y(|^fdnD_7Erj{!8(gjq@Bz^``TJHPv00R*A4HILz_+7>Mub>gTe~DWM4f!bWJ1 literal 0 HcmV?d00001