]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Wizard Headset (#35732)
authorEntvari <195642967+Entvari@users.noreply.github.com>
Sun, 20 Apr 2025 21:38:30 +0000 (22:38 +0100)
committerGitHub <noreply@github.com>
Sun, 20 Apr 2025 21:38:30 +0000 (17:38 -0400)
* wizardcomms

* wizheadset

* Addressed requested changes and axed wizard channel due to redundancy.

* oops overlooked this, dont tell anyone

* another mistake fixed

* removed wiz encryption key due to redundancy

* accidentally left some punctuation in a now unrelated meta.json

Resources/Prototypes/Entities/Clothing/Ears/headsets.yml
Resources/Prototypes/Entities/Clothing/Ears/headsets_alt.yml
Resources/Prototypes/Roles/Jobs/Fun/wizard_startinggear.yml
Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/alt-equipped-EARS.png [new file with mode: 0644]
Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/equipped-EARS.png [new file with mode: 0644]
Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/icon_alt.png [new file with mode: 0644]
Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/meta.json [new file with mode: 0644]

index 89227387f9534343f55f8b879c9771dba1f7e9af..f2c76cce996c6b9c6cf6f94609e671089dbb0f9a 100644 (file)
     - type: ContainerFill
       containers:
         key_slots:
-          - EncryptionKeyFreelance
+        - EncryptionKeyFreelance
     - type: Sprite
       sprite: Clothing/Ears/Headsets/freelance.rsi
     - type: Clothing
       sprite: Clothing/Ears/Headsets/freelance.rsi
+
+- type: entity
+  parent: [ClothingHeadset, BaseMagicalContraband]
+  id: ClothingHeadsetWizard
+  name: wizard headset
+  description: A headset used by the dreaded space wizards.
+  components:
+    - type: ContainerFill
+      containers:
+        key_slots:
+        - EncryptionKeyStationMaster
+    - type: Sprite
+      sprite: Clothing/Ears/Headsets/wizard.rsi
+    - type: Clothing
+      sprite: Clothing/Ears/Headsets/wizard.rsi
index 42343d156971547c975a2789d653ac9c23aecbe3..f27f6a6a15521fef553f303fe8bccd4914487aae 100644 (file)
       sprite: Clothing/Ears/Headsets/freelance.rsi
     - type: Clothing
       sprite: Clothing/Ears/Headsets/freelance.rsi
+
+- type: entity
+  parent: [ClothingHeadsetAlt, BaseMagicalContraband]
+  id: ClothingHeadsetAltWizard
+  name: wizard's over-ear headset
+  components:
+    - type: Headset
+    - type: EncryptionKeyHolder
+      keySlots: 5
+    - type: ContainerFill
+      containers:
+        key_slots:
+        - EncryptionKeyStationMaster
+    - type: Sprite
+      sprite: Clothing/Ears/Headsets/wizard.rsi
+    - type: Clothing
+      sprite: Clothing/Ears/Headsets/wizard.rsi
index 0697b698b206c44b985f5f904f4bab2d11da3e0f..d296a02754c922530e9cf520229bed0235b01fa1 100644 (file)
@@ -8,7 +8,7 @@
     outerClothing: ClothingOuterWizard
     shoes: ClothingShoesWizard
     id: WizardPDA
-    ears: ClothingHeadsetAltCommand
+    ears: ClothingHeadsetAltWizard
     belt: ClothingBeltWand
     # pocket1: TODO: Include wizard teleport scroll
     pocket2: WizardsGrimoire
diff --git a/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/alt-equipped-EARS.png b/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/alt-equipped-EARS.png
new file mode 100644 (file)
index 0000000..5edd6b5
Binary files /dev/null and b/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/alt-equipped-EARS.png differ
diff --git a/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/equipped-EARS.png b/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/equipped-EARS.png
new file mode 100644 (file)
index 0000000..48bf523
Binary files /dev/null and b/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/equipped-EARS.png differ
diff --git a/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/icon.png b/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/icon.png
new file mode 100644 (file)
index 0000000..519219c
Binary files /dev/null and b/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/icon.png differ
diff --git a/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/icon_alt.png b/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/icon_alt.png
new file mode 100644 (file)
index 0000000..95f4f5a
Binary files /dev/null and b/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/icon_alt.png differ
diff --git a/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/meta.json b/Resources/Textures/Clothing/Ears/Headsets/wizard.rsi/meta.json
new file mode 100644 (file)
index 0000000..4478127
--- /dev/null
@@ -0,0 +1,25 @@
+{
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Sprite recoloured from Freelance Headsets by Entvari (Github). Sprite modified by PursuitInAshes (Github) for SS14, original sprite taken from tgstation at commit https://github.com/tgstation/tgstation/commit/f8f4aeda930fcd0805ca4cc76d9bc9412a5b3428",
+    "size": {
+        "x": 32,
+        "y": 32
+    },
+    "states": [
+        {
+            "name": "icon"
+        },
+        {
+            "name": "icon_alt"
+        },
+        {
+            "name": "equipped-EARS",
+            "directions": 4
+        },
+        {
+            "name": "alt-equipped-EARS",
+            "directions": 4
+        }
+    ]
+}