Makes secglasses roundstart (#26487)

* makes secglasses roundstart

* fix epic fail

* fix tests questionmark?

* Update Resources/Prototypes/Entities/Clothing/Eyes/glasses.yml

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>

---------

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
This commit is contained in:
Flareguy
2024-03-30 22:00:45 -05:00
committed by GitHub
parent 950a6448bb
commit a98d0cfe2e
13 changed files with 58 additions and 26 deletions

View File

@@ -255,7 +255,6 @@
components:
- type: StorageFill
contents:
- id: ClothingEyesHudSecurity
- id: WeaponDisabler
- id: ClothingOuterCoatHoSTrench
- id: ClothingMaskNeckGaiter
@@ -263,7 +262,7 @@
- id: ClothingMaskGasSwat
- id: ClothingBeltSecurityFilled
- id: ClothingHeadsetAltSecurity
- id: ClothingEyesGlassesSunglasses
- id: ClothingEyesGlassesSecurity
- id: ClothingShoesBootsJack
- id: CigarGoldCase
prob: 0.50
@@ -282,13 +281,12 @@
components:
- type: StorageFill
contents:
- id: ClothingEyesHudSecurity
- id: WeaponDisabler
- id: ClothingOuterCoatHoSTrench
- id: ClothingMaskNeckGaiter
- id: ClothingBeltSecurityFilled
- id: ClothingHeadsetAltSecurity
- id: ClothingEyesGlassesSunglasses
- id: ClothingEyesGlassesSecurity
- id: ClothingShoesBootsJack
- id: CigarGoldCase
prob: 0.50

View File

@@ -9,7 +9,7 @@
- id: WeaponDisabler
- id: ClothingBeltSecurityFilled
- id: Flash
- id: ClothingEyesGlassesSunglasses
- id: ClothingEyesGlassesSecurity
- id: ClothingHeadsetAltSecurity
- id: ClothingHandsGlovesCombat
- id: ClothingShoesBootsJack
@@ -19,7 +19,6 @@
- id: DoorRemoteArmory
- id: ClothingOuterHardsuitWarden
- id: HoloprojectorSecurity
- id: ClothingEyesHudSecurity
- type: entity
id: LockerWardenFilled
@@ -32,7 +31,7 @@
- id: WeaponDisabler
- id: ClothingBeltSecurityFilled
- id: Flash
- id: ClothingEyesGlassesSunglasses
- id: ClothingEyesGlassesSecurity
- id: ClothingHeadsetAltSecurity
- id: ClothingHandsGlovesCombat
- id: ClothingShoesBootsJack
@@ -41,7 +40,6 @@
- id: RubberStampWarden
- id: DoorRemoteArmory
- id: HoloprojectorSecurity
- id: ClothingEyesHudSecurity
- type: entity
id: LockerSecurityFilled
@@ -60,13 +58,12 @@
- id: ClothingBeltSecurityFilled
- id: Flash
prob: 0.5
- id: ClothingEyesGlassesSunglasses
- id: ClothingEyesGlassesSecurity
- id: ClothingHeadsetSecurity
- id: ClothingHandsGlovesColorBlack
- id: ClothingShoesBootsJack
- id: WeaponMeleeNeedle
prob: 0.1
- id: ClothingEyesHudSecurity
- id: HoloprojectorSecurity
prob: 0.6
@@ -77,7 +74,7 @@
components:
- type: StorageFill
contents:
- id: ClothingEyesHudSecurity
- id: ClothingEyesGlassesSecurity
- id: WeaponDisabler
- id: TrackingImplanter
amount: 2
@@ -112,7 +109,7 @@
components:
- type: StorageFill
contents:
- id: ClothingEyesHudSecurity
- id: ClothingEyesGlassesSecurity
prob: 0.3
- id: ClothingHeadHatFedoraBrown
- id: ClothingNeckTieDet

View File

@@ -149,6 +149,11 @@
- type: FlashImmunity
- type: EyeProtection
protectionTime: 5
- type: Tag
tags:
- Sunglasses
- HamsterWearable
- WhitelistChameleon
- type: entity
parent: ClothingEyesBase
@@ -163,6 +168,9 @@
- type: FlashImmunity
- type: EyeProtection
protectionTime: 5
- type: Construction
graph: GlassesSecHUD
node: glassesSec
- type: Tag
tags:
- HamsterWearable

View File

@@ -683,7 +683,6 @@
- CartridgeMagnumUranium
- CartridgePistolUranium
- CartridgeRifleUranium
- ClothingEyesGlassesSecurity
- ExplosivePayload
- FlashPayload
- HoloprojectorSecurity

View File

@@ -0,0 +1,25 @@
- type: constructionGraph
id: GlassesSecHUD
start: start
graph:
- node: start
edges:
- to: glassesSec
steps:
- tag: Sunglasses
name: sun glasses
icon:
sprite: Clothing/Eyes/Glasses/sunglasses.rsi
state: icon
doAfter: 5
- tag: HudSecurity
name: security hud
icon:
sprite: Clothing/Eyes/Hud/sec.rsi
state: icon
doAfter: 5
- material: Cable
amount: 5
doAfter: 5
- node: glassesSec
entity: ClothingEyesGlassesSecurity

View File

@@ -96,3 +96,14 @@
description: Comfy, yet haunted by the ghosts of ducks you fed bread to as a child.
icon: { sprite: Clothing/Shoes/Misc/duck-slippers.rsi, state: icon }
objectType: Item
- type: construction
name: security glasses
id: ClothingEyesGlassesSecurity
graph: GlassesSecHUD
startNode: start
targetNode: glassesSec
category: construction-category-clothing
description: A pair of sunglasses, modified to have a built-in security HUD.
icon: { sprite: Clothing/Eyes/Glasses/secglasses.rsi, state: icon }
objectType: Item

View File

@@ -87,14 +87,6 @@
materials:
Plastic: 100
- type: latheRecipe
id: ClothingEyesGlassesSecurity
result: ClothingEyesGlassesSecurity
completetime: 2
materials:
Steel: 300
Glass: 200
- type: latheRecipe
id: ClothingEyesHudSecurity
result: ClothingEyesHudSecurity

View File

@@ -76,7 +76,6 @@
tier: 1
cost: 8000
recipeUnlocks:
- ClothingEyesGlassesSecurity
- Truncheon
- TelescopicShield
- HoloprojectorSecurity

View File

@@ -27,7 +27,7 @@
jumpsuit: ClothingUniformJumpsuitDetective
back: ClothingBackpackSecurityFilledDetective
shoes: ClothingShoesBootsCombatFilled
eyes: ClothingEyesGlassesSunglasses
eyes: ClothingEyesGlassesSecurity
head: ClothingHeadHatFedoraBrown
outerClothing: ClothingOuterVestDetective
id: DetectivePDA

View File

@@ -46,7 +46,7 @@
back: ClothingBackpackHOSFilled
shoes: ClothingShoesBootsCombatFilled
outerClothing: ClothingOuterCoatHoSTrench
eyes: ClothingEyesGlassesSunglasses
eyes: ClothingEyesGlassesSecurity
head: ClothingHeadHatBeretHoS
id: HoSPDA
gloves: ClothingHandsGlovesCombat

View File

@@ -28,7 +28,7 @@
jumpsuit: ClothingUniformJumpsuitSec
back: ClothingBackpackSecurityFilled
shoes: ClothingShoesBootsCombatFilled
eyes: ClothingEyesGlassesSunglasses
eyes: ClothingEyesGlassesSecurity
head: ClothingHeadHelmetBasic
outerClothing: ClothingOuterArmorBasic
id: SecurityPDA

View File

@@ -31,7 +31,7 @@
jumpsuit: ClothingUniformJumpsuitWarden
back: ClothingBackpackSecurityFilled
shoes: ClothingShoesBootsCombatFilled
eyes: ClothingEyesGlassesSunglasses
eyes: ClothingEyesGlassesSecurity
outerClothing: ClothingOuterCoatWarden
id: WardenPDA
ears: ClothingHeadsetSecurity

View File

@@ -1180,6 +1180,9 @@
- type: Tag
id: SuitEVA
- type: Tag
id: Sunglasses
- type: Tag
id: SurgeryTool