Skip to content

Commit

Permalink
Merge pull request #103 from Evrozor/visors
Browse files Browse the repository at this point in the history
Визоры
  • Loading branch information
Lemirda authored May 23, 2024
2 parents e8125eb + 069252f commit 072dba5
Show file tree
Hide file tree
Showing 12 changed files with 155 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- type: entity
parent: ClothingEyesBase
id: ClothingEyesHudMedSol
suffix: Андромеда
name: медицинский хим визор
description: Окуляр с индикатором на стекле, который сканирует гуманоидов в поле зрения и предоставляет точные данные о состоянии их здоровья. Со встроеным химическим анализатором.
components:
- type: Sprite
sprite: Andromeda/Evrozor/Clothing/medsol.rsi
- type: Clothing
sprite: Andromeda/Evrozor/Clothing/medsol.rsi
- type: SolutionScanner
- type: ShowHealthBars
damageContainers:
- Biological
- type: ShowHealthIcons
damageContainers:
- Biological
- type: Construction
graph: HudMedSol
node: medsolHud
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
- type: constructionGraph
id: HudMedSol
start: start
graph:
- node: start
edges:
- to: medsolHud
steps:
- tag: HudMedical
name: medical hud
icon:
sprite: Clothing/Eyes/Hud/med.rsi
state: icon
doAfter: 5
- tag: HudChemical
name: chemical analysis goggles
icon:
sprite: Clothing/Eyes/Glasses/science.rsi
state: icon
doAfter: 5
- material: Cable
amount: 5
doAfter: 5
- tag: Radio
name: radio
icon:
sprite: Objects/Devices/communication.rsi
state: walkietalkie
doAfter: 5
- tag: CapacitorStockPart
name: capacitor
icon:
sprite: Objects/Misc/stock_parts.rsi
state: capacitor
doAfter: 5
- tag: CapacitorStockPart
name: capacitor
icon:
sprite: Objects/Misc/stock_parts.rsi
state: capacitor
doAfter: 5
- node: medsolHud
entity: ClothingEyesHudMedSol

- type: construction
name: медицинский хим визор
id: ClothingEyesHudMedSol
graph: HudMedSol
startNode: start
targetNode: medsolHud
category: construction-category-clothing
description: Два визора, соединенные руками.
icon: { sprite: Andromeda/Evrozor/Clothing/medsol.rsi, state: icon }
objectType: Item


- type: latheRecipe
id: ClothingEyesHudMedical
result: ClothingEyesHudMedical
completetime: 2
materials:
Steel: 150
Plastic: 200
Glass: 300

- type: latheRecipe
id: RadioHandheld
result: RadioHandheld
completetime: 2
materials:
Steel: 100
Plastic: 200
Glass: 100
13 changes: 13 additions & 0 deletions Resources/Prototypes/Andromeda/Evrozor's Prototypes/research.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- type: technology
id: Huds
name: Окулярная технология
icon:
sprite: Clothing/Eyes/Hud/med.rsi
state: icon
discipline: CivilianServices
tier: 1
cost: 5000
recipeUnlocks:
- ClothingEyesHudMedical
- ClothingEyesHudSecurity
- ClothingEyesGlassesChemical
5 changes: 5 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Eyes/glasses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@
- type: Clothing
sprite: Clothing/Eyes/Glasses/science.rsi
- type: SolutionScanner
#A-13 HudChemical start
- type: Tag
tags:
- HudChemical
#A-13 HudChemical end

- type: entity
parent: ClothingEyesBase
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/Entities/Objects/Devices/radio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
- type: Item
sprite: Objects/Devices/communication.rsi
heldPrefix: walkietalkie
#A-13 Added price for walkie-talkie start
- type: StaticPrice
price: 40
#A-13 Added price for walkie-talkie end
- type: Tag
tags:
- Radio
11 changes: 8 additions & 3 deletions Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
- WeaponCapacitorRechargerCircuitboard
- HandheldStationMap
- ClothingHeadHatWelding
- RadioHandheld #A-13 MedSolHud craft
- type: EmagLatheRecipes
emagStaticRecipes:
- CartridgePistol
Expand Down Expand Up @@ -262,7 +263,7 @@
staticRecipes:
- LargeBeaker
- Dropper
- ClothingEyesGlassesChemical
# - ClothingEyesGlassesChemical A-13 MedSolHud craft
dynamicRecipes:
- PowerDrill
- MiningDrill
Expand Down Expand Up @@ -325,6 +326,7 @@
- FauxTileAstroSnow
- OreBagOfHolding
- DeviceQuantumSpinInverter
- ClothingEyesGlassesChemical #A-13 MedSolHud craft
- type: EmagLatheRecipes
emagDynamicRecipes:
- ExplosivePayload
Expand Down Expand Up @@ -654,7 +656,7 @@
idleState: icon
runningState: icon
staticRecipes:
- ClothingEyesHudSecurity
# - ClothingEyesHudSecurity A-13 MedSolHud craft
- Flash
- Handcuffs
- Zipties
Expand Down Expand Up @@ -739,6 +741,7 @@
- ShuttleGunPerforatorCircuitboard
- ShuttleGunFriendshipCircuitboard
- ShuttleGunDusterCircuitboard
- ClothingEyesHudSecurity #A-13 MedSolHud craft
- type: MaterialStorage
whitelist:
tags:
Expand Down Expand Up @@ -849,13 +852,15 @@
- Drill
- Saw
- Hemostat
- ClothingEyesGlassesChemical
# - ClothingEyesGlassesChemical A-13 MedSolHud craft
dynamicRecipes:
- ChemicalPayload
- CryostasisBeaker
- BluespaceBeaker
- SyringeBluespace
- SyringeCryostasis
- ClothingEyesGlassesChemical #A-13 MedSolHud craft
- ClothingEyesHudMedical #A-13 MedSolHud craft
- type: Machine
board: MedicalTechFabCircuitboard
- type: StealTarget
Expand Down
5 changes: 5 additions & 0 deletions Resources/Prototypes/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1318,3 +1318,8 @@

- type: Tag
id: WriteIgnoreStamps

#A-13 HudChemical craft start
- type: Tag
id: HudChemical
#A-13 HudChemical craft end
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.
26 changes: 26 additions & 0 deletions Resources/Textures/Andromeda/Evrozor/Clothing/medsol.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sprite by s6766, code by Evrozor for Andromeda-13",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-EYES",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

0 comments on commit 072dba5

Please sign in to comment.