]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Xenoborgs now drop pieces of pinpointer (#42295)
authorSamuka <47865393+Samuka-C@users.noreply.github.com>
Wed, 14 Jan 2026 20:22:28 +0000 (17:22 -0300)
committerGitHub <noreply@github.com>
Wed, 14 Jan 2026 20:22:28 +0000 (20:22 +0000)
* add sprites

* update sprite

* repaired sprite

* repaired pinpointer

* different id

* piece of pinpointer core

* borgs drop the piece

* end of file new line

* typo

Co-authored-by: āda <ss.adasts@gmail.com>
* make the tape darker

* four variations

* same variation in the crafting menu

---------

Co-authored-by: āda <ss.adasts@gmail.com>
14 files changed:
Resources/Locale/en-US/recipes/tags.ftl
Resources/Prototypes/Entities/Mobs/Cyborgs/base_borg_chassis.yml
Resources/Prototypes/Entities/Mobs/Cyborgs/xenoborgs.yml
Resources/Prototypes/Entities/Objects/Devices/pinpointer.yml
Resources/Prototypes/Recipes/Crafting/Graphs/repaired_xenoborg_pinpointer.yml [new file with mode: 0644]
Resources/Prototypes/Recipes/Crafting/improvised.yml
Resources/Prototypes/tags.yml
Resources/Textures/Objects/Devices/pinpointer.rsi/meta.json
Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-1.png [new file with mode: 0644]
Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-2.png [new file with mode: 0644]
Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-3.png [new file with mode: 0644]
Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-4.png [new file with mode: 0644]
Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-repaired.png [new file with mode: 0644]
Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg.png [new file with mode: 0644]

index 1b4ca5656d947f730fdf6172e2a9212482112faa..8d739eef6fc34e3a3a060f2abc32e247f3f4fe28 100644 (file)
@@ -73,6 +73,7 @@ construction-graph-tag-apron = an apron
 construction-graph-tag-utility-belt = a utility belt
 soil-construction-graph-any-mushroom = any mushroom
 construction-graph-tag-mop-basic = mop
+construction-graph-tag-core-pinpointer-piece = piece of core pinpointer
 
 # toys
 construction-graph-tag-rubber-ducky = a rubber ducky
index 7b2adf1a2240af9827670bd5769b592f4a821024..ed61df6eff8792ff18a2f3204e2a64b745dec9cd 100644 (file)
           collection: MetalBreak
       - !type:SpawnEntitiesBehavior
         spawn:
-          PinpointerMothership: # drop a pinpointer to the mothership upon being destructed
+          PinpointerMothershipPiece: # drop a piece of core pinpointer upon being destructed (4 pieces to make a core pinpointer)
             min: 1
             max: 1
       - !type:EmptyContainersBehaviour
index ae07eab6c9925bbefbcc47819e3095ddb84b228c..921eab377aedd70fbd29a95292c781f9d347dd27 100644 (file)
           collection: MetalBreak
       - !type:SpawnEntitiesBehavior
         spawn:
-          PinpointerMothership: # drop a pinpointer to the mothership upon being destructed
+          PinpointerMothershipPiece: # drop a piece of core pinpointer upon being destructed (4 pieces to make a core pinpointer)
             min: 1
             max: 1
       - !type:EmptyContainersBehaviour
index e6ab450c93069415b36f6eee4bc735d154c7536e..f71cb29b36cb0eb9b3723ae2c14c45e75382a92d 100644 (file)
   parent: [ PinpointerBase, BaseXenoborgContraband ]
   id: PinpointerMothership
   name: core pinpointer
-  suffix: Mothership
   description: A handheld tracking device that leads to the direction of the Mothership core.
   components:
   - type: Sprite
     layers:
-    - state: pinpointer-station
+    - state: pinpointer-xenoborg
       map: ["enum.PinpointerLayers.Base"]
     - state: pinonnull
       map: ["enum.PinpointerLayers.Screen"]
         color: "#3a3a3a"
       - state: inhand-right-top
   - type: Icon
-    state: pinpointer-station
+    state: pinpointer-xenoborg
   - type: Pinpointer
     component: MothershipCore
     targetName: the Mothership
+
+- type: entity
+  parent: BaseItem
+  id: PinpointerMothershipPiece
+  name: piece of core pinpointer
+  description: A piece of a core pinpointer. You need four pieces to repair it.
+  components:
+  - type: Sprite
+    sprite: Objects/Devices/pinpointer.rsi
+    layers:
+    - state: pinpointer-xenoborg-piece-1
+      map: [ "base" ]
+  - type: RandomSprite
+    available:
+    - base:
+        pinpointer-xenoborg-piece-1: ""
+        pinpointer-xenoborg-piece-2: ""
+        pinpointer-xenoborg-piece-3: ""
+        pinpointer-xenoborg-piece-4: ""
+  - type: Item
+  - type: Tag
+    tags:
+    - MothershipPinpointerPiece
+  - type: Construction
+    graph: RepairMothershipPinpointer
+    node: start
+
+- type: entity
+  parent: PinpointerMothership
+  id: PinpointerMothershipRepaired
+  name: repaired core pinpointer
+  description: A handheld tracking device that leads to the direction of the Mothership core. This one has seen better days.
+  components:
+  - type: Sprite
+    layers:
+    - state: pinpointer-xenoborg-repaired
+      map: ["enum.PinpointerLayers.Base"]
+  - type: Icon
+    state: pinpointer-xenoborg-repaired
+  - type: Construction
+    graph: RepairMothershipPinpointer
+    node: repairedPinpointer
diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/repaired_xenoborg_pinpointer.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/repaired_xenoborg_pinpointer.yml
new file mode 100644 (file)
index 0000000..beaf73d
--- /dev/null
@@ -0,0 +1,34 @@
+- type: constructionGraph
+  id: RepairMothershipPinpointer
+  start: start
+  graph:
+  - node: start
+    edges:
+    - to: repairedPinpointer
+      steps:
+      - tag: MothershipPinpointerPiece
+        name: construction-graph-tag-core-pinpointer-piece
+        icon:
+          sprite: Objects/Devices/pinpointer.rsi
+          state: pinpointer-xenoborg-piece-1
+        doAfter: 4
+      - tag: MothershipPinpointerPiece
+        name: construction-graph-tag-core-pinpointer-piece
+        icon:
+          sprite: Objects/Devices/pinpointer.rsi
+          state: pinpointer-xenoborg-piece-1
+        doAfter: 4
+      - tag: MothershipPinpointerPiece
+        name: construction-graph-tag-core-pinpointer-piece
+        icon:
+          sprite: Objects/Devices/pinpointer.rsi
+          state: pinpointer-xenoborg-piece-1
+        doAfter: 4
+      - tag: MothershipPinpointerPiece
+        name: construction-graph-tag-core-pinpointer-piece
+        icon:
+          sprite: Objects/Devices/pinpointer.rsi
+          state: pinpointer-xenoborg-piece-1
+        doAfter: 4
+  - node: repairedPinpointer
+    entity: PinpointerMothershipRepaired
index d7e03c5257d8228b465bc4a171861c4eb965b8ed..357aa6c6abd25cddca93d51db02ebd702e32d4b0 100644 (file)
   category: construction-category-misc
   objectType: Item
 
+- type: construction
+  id: RepairMothershipPinpointer
+  graph: RepairMothershipPinpointer
+  startNode: start
+  targetNode: repairedPinpointer
+  category: construction-category-misc
+  objectType: Item
+
 - type: construction
   id: HardsuitGoliath
   graph: HardsuitGoliath
index 7bf3da6fef7f48eacc88032779f33ad9cf4bcecc..3aae89c4ae54754bcf75f41476a6bd1164b96e51 100644 (file)
 - type: Tag
   id: MothershipModule # Cyborg module category for evil xenoborg core
 
+- type: Tag
+  id: MothershipPinpointerPiece # ConstructionGraph: RepairMothershipPinpointer
+
 - type: Tag
   id: Mouse # CargoBounty: BountyMouse
 
index fe592577c40eedc0c76cc7cd1589278bb6042acf..785bc392a8bc8a0f965ec0e29c9042396c719836 100644 (file)
@@ -5,7 +5,7 @@
         "y": 32
     },
     "license": "CC-BY-SA-3.0",
-    "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/59f2a4e10e5ba36033c9734ddebfbbdc6157472d, station and syndicate pinpointer resprited by Ubaser, inhands by TiniestShark (github). Modified by @whatston3 and @Quantum-cross (github) to center the sprite so arrow rotation is around the proper axis.",
+    "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/59f2a4e10e5ba36033c9734ddebfbbdc6157472d, station and syndicate pinpointer resprited by Ubaser, inhands by TiniestShark (github). xenoborg by Samuka-C (github). Modified by @whatston3 and @Quantum-cross (github) to center the sprite so arrow rotation is around the proper axis.",
     "states": [
         {
             "name": "pinonalert",
         {
             "name": "pinpointer-station"
         },
+        {
+            "name": "pinpointer-xenoborg"
+        },
+        {
+            "name": "pinpointer-xenoborg-piece-1"
+        },
+        {
+            "name": "pinpointer-xenoborg-piece-2"
+        },
+        {
+            "name": "pinpointer-xenoborg-piece-3"
+        },
+        {
+            "name": "pinpointer-xenoborg-piece-4"
+        },
+        {
+            "name": "pinpointer-xenoborg-repaired"
+        },
         {
             "name": "inhand-left-base",
             "directions": 4
diff --git a/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-1.png b/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-1.png
new file mode 100644 (file)
index 0000000..fe3c864
Binary files /dev/null and b/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-1.png differ
diff --git a/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-2.png b/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-2.png
new file mode 100644 (file)
index 0000000..1049c5a
Binary files /dev/null and b/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-2.png differ
diff --git a/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-3.png b/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-3.png
new file mode 100644 (file)
index 0000000..e26c14f
Binary files /dev/null and b/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-3.png differ
diff --git a/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-4.png b/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-4.png
new file mode 100644 (file)
index 0000000..359aab7
Binary files /dev/null and b/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-piece-4.png differ
diff --git a/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-repaired.png b/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-repaired.png
new file mode 100644 (file)
index 0000000..c7431a6
Binary files /dev/null and b/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg-repaired.png differ
diff --git a/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg.png b/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg.png
new file mode 100644 (file)
index 0000000..d114b9f
Binary files /dev/null and b/Resources/Textures/Objects/Devices/pinpointer.rsi/pinpointer-xenoborg.png differ