]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add Command Glasses (#30447)
authorSlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Thu, 29 Aug 2024 01:58:16 +0000 (03:58 +0200)
committerGitHub <noreply@github.com>
Thu, 29 Aug 2024 01:58:16 +0000 (11:58 +1000)
* Initial commit

* Removed wanted and mindshield status display

* Updated glasses visuals & contraband status

* Added Command Hud

* Changed name to administration glasses/hud

14 files changed:
Resources/Prototypes/Catalog/Fills/Lockers/heads.yml
Resources/Prototypes/Entities/Clothing/Eyes/glasses.yml
Resources/Prototypes/Entities/Clothing/Eyes/hud.yml
Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/equipped-EYES-hamster.png [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/equipped-EYES.png [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/inhand-left.png [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/inhand-right.png [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Hud/command.rsi/equipped-EYES.png [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Hud/command.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Hud/command.rsi/inhand-left.png [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Hud/command.rsi/inhand-right.png [new file with mode: 0644]
Resources/Textures/Clothing/Eyes/Hud/command.rsi/meta.json [new file with mode: 0644]

index 45935be0acb9266ca80f0c02870ec8186b88e555..f718eea1cc53e91ea7532fec21df7dd3b23cddef 100644 (file)
@@ -49,6 +49,7 @@
     - id: RubberStampCaptain
     - id: SpaceCash1000
     - id: WeaponDisabler
+    - id: ClothingEyesGlassesCommand
 
 # No laser table + Laser table
 - type: entityTable
     - id: RubberStampDenied
     - id: RubberStampHop
     - id: WeaponDisabler
+    - id: ClothingEyesHudCommand
 
 - type: entity
   id: LockerHeadOfPersonnelFilled
index 44df034ee9d32f3d0bd98622d2326fff5b3b4b7c..368cefe9cb4ed3d74753a3c42cb78c98b17f86c6 100644 (file)
     - WhitelistChameleon
 
 - type: entity
-  parent: [ClothingEyesBase, ShowSecurityIcons, BaseSecurityCommandContraband]
+  parent: [ClothingEyesBase, ShowSecurityIcons, BaseRestrictedContraband]
   id: ClothingEyesGlassesSecurity
   name: security glasses
   description: Upgraded sunglasses that provide flash immunity and a security HUD.
   - type: IdentityBlocker
     coverage: EYES
 
+- type: entity
+  parent: [ClothingEyesBase, BaseCommandContraband]
+  id: ClothingEyesGlassesCommand
+  name: administration glasses
+  description: Upgraded sunglasses that provide flash immunity and show ID card status. 
+  components:
+  - type: Sprite
+    sprite: Clothing/Eyes/Glasses/commandglasses.rsi
+  - type: Clothing
+    sprite: Clothing/Eyes/Glasses/commandglasses.rsi
+  - type: FlashImmunity
+  - type: EyeProtection
+    protectionTime: 5
+  - type: Tag
+    tags:
+    - HamsterWearable
+    - WhitelistChameleon
+  - type: IdentityBlocker
+    coverage: EYES
+  - type: ShowJobIcons
+
 - type: entity
   parent: ClothingEyesBase
   id: ClothingEyesGlassesMercenary
index e627cffc74e1ed4e08e50597204beb895352423b..9e881bf9c218c59bb4953e05f0d1cd13cc1c1452 100644 (file)
@@ -49,7 +49,7 @@
     - HudMedical
 
 - type: entity
-  parent: [ClothingEyesBase, ShowSecurityIcons, BaseSecurityCommandContraband]
+  parent: [ClothingEyesBase, ShowSecurityIcons, BaseRestrictedContraband]
   id: ClothingEyesHudSecurity
   name: security hud
   description: A heads-up display that scans the humanoids in view and provides accurate data about their ID status and security records.
     tags:
     - HudSecurity
 
+- type: entity
+  parent: [ClothingEyesBase, BaseCommandContraband]
+  id: ClothingEyesHudCommand
+  name: administration hud
+  description: A heads-up display that scans the humanoids in view and provides accurate data about their ID status.
+  components:
+  - type: Sprite
+    sprite: Clothing/Eyes/Hud/command.rsi
+  - type: Clothing
+    sprite: Clothing/Eyes/Hud/command.rsi
+  - type: ShowJobIcons
+
 - type: entity
   parent: ClothingEyesBase
   id: ClothingEyesHudBeer
diff --git a/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/equipped-EYES-hamster.png b/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/equipped-EYES-hamster.png
new file mode 100644 (file)
index 0000000..50a6975
Binary files /dev/null and b/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/equipped-EYES-hamster.png differ
diff --git a/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/equipped-EYES.png b/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/equipped-EYES.png
new file mode 100644 (file)
index 0000000..63da1b6
Binary files /dev/null and b/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/equipped-EYES.png differ
diff --git a/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/icon.png b/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/icon.png
new file mode 100644 (file)
index 0000000..ade2bdf
Binary files /dev/null and b/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/icon.png differ
diff --git a/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/inhand-left.png b/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/inhand-left.png
new file mode 100644 (file)
index 0000000..da427e8
Binary files /dev/null and b/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/inhand-left.png differ
diff --git a/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/inhand-right.png b/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/inhand-right.png
new file mode 100644 (file)
index 0000000..d7236d6
Binary files /dev/null and b/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/inhand-right.png differ
diff --git a/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/meta.json b/Resources/Textures/Clothing/Eyes/Glasses/commandglasses.rsi/meta.json
new file mode 100644 (file)
index 0000000..c84ee21
--- /dev/null
@@ -0,0 +1,30 @@
+{
+  "version": 1,
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da, edited by Ghagliiarghii",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "icon"
+    },
+    {
+      "name": "equipped-EYES",
+      "directions": 4
+    },
+    {
+      "name": "equipped-EYES-hamster",
+      "directions": 4
+    },
+    {
+      "name": "inhand-left",
+      "directions": 4
+    },
+    {
+      "name": "inhand-right",
+      "directions": 4
+    }
+  ]
+}
diff --git a/Resources/Textures/Clothing/Eyes/Hud/command.rsi/equipped-EYES.png b/Resources/Textures/Clothing/Eyes/Hud/command.rsi/equipped-EYES.png
new file mode 100644 (file)
index 0000000..851e7b2
Binary files /dev/null and b/Resources/Textures/Clothing/Eyes/Hud/command.rsi/equipped-EYES.png differ
diff --git a/Resources/Textures/Clothing/Eyes/Hud/command.rsi/icon.png b/Resources/Textures/Clothing/Eyes/Hud/command.rsi/icon.png
new file mode 100644 (file)
index 0000000..a9e76ff
Binary files /dev/null and b/Resources/Textures/Clothing/Eyes/Hud/command.rsi/icon.png differ
diff --git a/Resources/Textures/Clothing/Eyes/Hud/command.rsi/inhand-left.png b/Resources/Textures/Clothing/Eyes/Hud/command.rsi/inhand-left.png
new file mode 100644 (file)
index 0000000..a9f0462
Binary files /dev/null and b/Resources/Textures/Clothing/Eyes/Hud/command.rsi/inhand-left.png differ
diff --git a/Resources/Textures/Clothing/Eyes/Hud/command.rsi/inhand-right.png b/Resources/Textures/Clothing/Eyes/Hud/command.rsi/inhand-right.png
new file mode 100644 (file)
index 0000000..0190c6a
Binary files /dev/null and b/Resources/Textures/Clothing/Eyes/Hud/command.rsi/inhand-right.png differ
diff --git a/Resources/Textures/Clothing/Eyes/Hud/command.rsi/meta.json b/Resources/Textures/Clothing/Eyes/Hud/command.rsi/meta.json
new file mode 100644 (file)
index 0000000..149220d
--- /dev/null
@@ -0,0 +1,26 @@
+{
+  "version": 1,
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da, edited by SlamBamActionman",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "icon"
+    },
+    {
+      "name": "equipped-EYES",
+      "directions": 4
+    },
+    {
+      "name": "inhand-left",
+      "directions": 4
+    },
+    {
+      "name": "inhand-right",
+      "directions": 4
+    }
+  ]
+}