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: components:
- type: StorageFill - type: StorageFill
contents: contents:
- id: ClothingEyesHudSecurity
- id: WeaponDisabler - id: WeaponDisabler
- id: ClothingOuterCoatHoSTrench - id: ClothingOuterCoatHoSTrench
- id: ClothingMaskNeckGaiter - id: ClothingMaskNeckGaiter
@@ -263,7 +262,7 @@
- id: ClothingMaskGasSwat - id: ClothingMaskGasSwat
- id: ClothingBeltSecurityFilled - id: ClothingBeltSecurityFilled
- id: ClothingHeadsetAltSecurity - id: ClothingHeadsetAltSecurity
- id: ClothingEyesGlassesSunglasses - id: ClothingEyesGlassesSecurity
- id: ClothingShoesBootsJack - id: ClothingShoesBootsJack
- id: CigarGoldCase - id: CigarGoldCase
prob: 0.50 prob: 0.50
@@ -282,13 +281,12 @@
components: components:
- type: StorageFill - type: StorageFill
contents: contents:
- id: ClothingEyesHudSecurity
- id: WeaponDisabler - id: WeaponDisabler
- id: ClothingOuterCoatHoSTrench - id: ClothingOuterCoatHoSTrench
- id: ClothingMaskNeckGaiter - id: ClothingMaskNeckGaiter
- id: ClothingBeltSecurityFilled - id: ClothingBeltSecurityFilled
- id: ClothingHeadsetAltSecurity - id: ClothingHeadsetAltSecurity
- id: ClothingEyesGlassesSunglasses - id: ClothingEyesGlassesSecurity
- id: ClothingShoesBootsJack - id: ClothingShoesBootsJack
- id: CigarGoldCase - id: CigarGoldCase
prob: 0.50 prob: 0.50

View File

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

View File

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

View File

@@ -683,7 +683,6 @@
- CartridgeMagnumUranium - CartridgeMagnumUranium
- CartridgePistolUranium - CartridgePistolUranium
- CartridgeRifleUranium - CartridgeRifleUranium
- ClothingEyesGlassesSecurity
- ExplosivePayload - ExplosivePayload
- FlashPayload - FlashPayload
- HoloprojectorSecurity - 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. 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 } icon: { sprite: Clothing/Shoes/Misc/duck-slippers.rsi, state: icon }
objectType: Item 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: materials:
Plastic: 100 Plastic: 100
- type: latheRecipe
id: ClothingEyesGlassesSecurity
result: ClothingEyesGlassesSecurity
completetime: 2
materials:
Steel: 300
Glass: 200
- type: latheRecipe - type: latheRecipe
id: ClothingEyesHudSecurity id: ClothingEyesHudSecurity
result: ClothingEyesHudSecurity result: ClothingEyesHudSecurity

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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