Skip to content

Commit

Permalink
ai-glass
Browse files Browse the repository at this point in the history
  • Loading branch information
ArZarLordOfMango committed Sep 17, 2024
1 parent e59b9c5 commit 1921eba
Show file tree
Hide file tree
Showing 11 changed files with 82 additions and 0 deletions.
38 changes: 38 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Eyes/glasses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,3 +244,41 @@
- type: Clothing
sprite: Clothing/Eyes/Glasses/ninjavisor.rsi
- type: FlashImmunity

- type: entity
parent: [ClothingEyesBase, BaseToggleClothing]
id: ClothingEyesVisorCamera
name: camera visor
description: Advanced glasses are designed to look like through cameras. Useful for working with Station AI.
components:
- type: Sprite
sprite: Clothing/Eyes/Glasses/camera.rsi
layers:
- state: icon
map: [ "enum.ToggleVisuals.Layer" ]
- type: Clothing
sprite: Clothing/Eyes/Glasses/camera.rsi
- type: IdentityBlocker
coverage: EYES
- type: ToggleClothing
action: ActionToggleVisorCamera
disableOnUnequip: true
- type: ComponentToggler
parent: true
components:
- type: StationAiOverlay
- type: Appearance
- type: GenericVisualizer
visuals:
enum.ToggleVisuals.Toggled:
enum.ToggleVisuals.Layer:
True: {state: icon-on}
False: {state: icon}

- type: entity
id: ActionToggleVisorCamera
name: Toggle camera visor
description: Toggles the camera visor on and off.
components:
- type: InstantAction
event: !type:ToggleActionEvent
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@
- TorsoBorgService
dynamicRecipes:
- ProximitySensor
- ClothingEyesVisorCamera
- BorgModuleLightReplacer
- BorgModuleAdvancedCleaning
- BorgModuleMining
Expand Down
9 changes: 9 additions & 0 deletions Resources/Prototypes/Recipes/Lathes/robotics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
Plastic: 200
Steel: 100

- type: latheRecipe
id: ClothingEyesVisorCamera
result: ClothingEyesVisorCamera
completetime: 2
materials:
Steel: 300
Plastic: 200
Glass: 500

- type: latheRecipe
id: CyborgEndoskeleton
result: CyborgEndoskeleton
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Research/experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
recipeUnlocks:
- ProximitySensor
- ExosuitFabricatorMachineCircuitboard
- ClothingEyesVisorCamera

- type: technology
id: BasicAnomalousResearch
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions Resources/Textures/Clothing/Eyes/Glasses/camera.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken and respite(by ArZarLordOfMango(discord)) from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "equipped-EYES",
"directions": 4
},
{
"name": "on-equipped-EYES",
"directions": 4
},
{
"name": "icon"
},
{
"name": "icon-on"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1921eba

Please sign in to comment.