Server-only component YAML cleanup (#26836)

* First pass cleaning up server-only YAML errors.

* Second pass
This commit is contained in:
Tayrtahn
2024-04-09 00:20:49 -04:00
committed by GitHub
parent e64288a8fe
commit a0de0ab1f8
51 changed files with 48 additions and 111 deletions

View File

@@ -37,7 +37,7 @@
- state: lung-l-slime
- state: lung-r-slime
- type: Lung
Alert: LowNitrogen
alert: LowNitrogen
- type: Metabolizer
removeEmpty: true
solutionOnBody: false

View File

@@ -46,7 +46,7 @@
- ReagentId: UncookedAnimalProteins
Quantity: 5
- type: Metabolizer
updateFrequency: 1.5
updateInterval: 1.5
- type: entity
id: OrganArachnidLungs
@@ -60,7 +60,7 @@
- state: lung-r
- type: Lung
- type: Metabolizer
updateFrequency: 1.5
updateInterval: 1.5
removeEmpty: true
solutionOnBody: false
solution: "Lung"
@@ -92,7 +92,7 @@
- type: Sprite
state: heart-on
- type: Metabolizer
updateFrequency: 1.5
updateInterval: 1.5
maxReagents: 2
metabolizerTypes: [Arachnid]
groups:
@@ -110,7 +110,7 @@
- type: Sprite
state: liver
- type: Metabolizer # The liver metabolizes certain chemicals only, like alcohol.
updateFrequency: 1.5
updateInterval: 1.5
maxReagents: 1
metabolizerTypes: [Animal]
groups:
@@ -130,7 +130,7 @@
- state: kidney-r
# The kidneys just remove anything that doesn't currently have any metabolisms, as a stopgap.
- type: Metabolizer
updateFrequency: 1.5
updateInterval: 1.5
maxReagents: 5
metabolizerTypes: [Animal]
removeEmpty: true

View File

@@ -28,4 +28,3 @@
suffix: Voice Mask, Chameleon
components:
- type: VoiceMasker
default: ClothingMaskGas

View File

@@ -902,9 +902,8 @@
maxVol: 250
- type: Udder
reagentId: MilkGoat
targetSolution: udder
quantity: 25
updateRate: 20
quantityPerUpdate: 25
growthDelay: 20
- type: Wooly
- type: Food
solution: wool

View File

@@ -84,7 +84,7 @@
500: Dead
- type: Metabolizer
solutionOnBody: false
updateFrequency: 0.25
updateInterval: 0.25
metabolizerTypes: [ Dragon ]
groups:
- id: Medicine
@@ -165,7 +165,6 @@
explosionMaxTileIntensity: 10
- type: ProjectileAnomaly
projectilePrototype: ProjectileIcicle
targetNonSentientChance: 0.1
- type: TempAffectingAnomaly
tempChangePerSecond: -25
hotspotExposeTemperature: -1000

View File

@@ -60,7 +60,6 @@
- type: NameIdentifier
group: GenericNumber
- type: Repairable
fuelcost: 15
doAfterDelay: 8
- type: Pullable
- type: Tag

View File

@@ -86,7 +86,7 @@
methods: [ Touch ]
effects:
- !type:HealthChange
scaled: true
scaleByQuantity: true
damage:
types:
Heat: 3

View File

@@ -69,8 +69,6 @@
followEntity: true
- type: CargoOrderConsole
- type: CrewMonitoringConsole
snap: false
precision: 3
- type: GeneralStationRecordConsole
- type: DeviceNetwork
deviceNetId: Wireless

View File

@@ -87,7 +87,7 @@
500: Dead
- type: Metabolizer
solutionOnBody: false
updateFrequency: 0.25
updateInterval: 0.25
metabolizerTypes: [ Dragon ]
groups:
- id: Medicine
@@ -132,8 +132,6 @@
id: MobDragon
components:
- type: Dragon
spawnsLeft: 2
spawnsProto: MobCarpDragon
spawnRiftAction: ActionSpawnRift
- type: GenericAntag
rule: Dragon

View File

@@ -46,7 +46,7 @@
methods: [ Touch ]
effects:
- !type:HealthChange
scaled: true
scaleByQuantity: true
damage:
types:
Blunt: 2
@@ -61,7 +61,7 @@
methods: [ Touch ]
effects:
- !type:HealthChange
scaled: true
scaleByQuantity: true
damage:
types:
Poison: 5

View File

@@ -52,7 +52,7 @@
methods: [ Touch ]
effects:
- !type:HealthChange
scaled: true
scaleByQuantity: true
damage:
types:
Heat: 2

View File

@@ -711,7 +711,7 @@
state: suppermatter
- type: SliceableFood
slice: FoodCakeSuppermatterSlice
TotalCount: 8
count: 8
- type: SolutionContainerManager
solutions:
food:

View File

@@ -32,7 +32,6 @@
size: Tiny
- type: Drink
solution: food
refillable: false
- type: Openable
sound:
collection: packetOpenSounds

View File

@@ -35,6 +35,5 @@
acts: [ "Destruction" ]
- type: ApcPowerReceiver
powerLoad: 15000
priority: High
- type: StaticPrice
price: 1500

View File

@@ -90,5 +90,6 @@
sprite: Structures/Doors/Airlocks/Standard/security.rsi
state: closed
- type: LogProbeCartridge
- type: GuideHelp
guides:
- Forensics

View File

@@ -33,7 +33,6 @@
maxIntensity: 10
intensitySlope: 3
totalIntensity: 120 # about a ~4 tile radius
flashRange: 7
- type: ExplodeOnTrigger
- type: Destructible
thresholds:

View File

@@ -1177,7 +1177,6 @@
description: New Sandy-Cat plastic sword! Comes with realistic sound and full color! Looks almost like the real thing!
components:
- type: EnergySword
isSharp: false
colorOptions:
- DodgerBlue
- type: ItemToggle

View File

@@ -14,9 +14,9 @@
successChance: 1
interactSuccessSound:
collection: DeskBell
params:
variation: 0.03
volume: 3
params:
variation: 0.03
volume: 3
onActivate: true
- type: EmitSoundOnUse
sound:

View File

@@ -48,6 +48,5 @@
types:
Heat: 5
coldDamage: {}
ColdDamageThreshold: 0
coldDamageThreshold: 0
- type: FrictionContacts

View File

@@ -58,11 +58,9 @@
types:
Heat: 5
coldDamage: {}
ColdDamageThreshold: 0
coldDamageThreshold: 0
- type: Flammable
fireSpread: true #If you walk into incredibly dense, flaming vines, you can expect to burn.
cold:
types: {}
damage:
types:
Heat: 3
@@ -75,11 +73,12 @@
methods: [Touch]
effects:
- !type:HealthChange
scaled: true
scaleByQuantity: true
damage:
types:
Heat: 10
- type: AtmosExposed
- type: Kudzu
growthTickChance: 0.3
spreadChance: 0.4
- type: SpeedModifierContacts
@@ -235,7 +234,6 @@
damage:
types:
Heat: 3
growthTickChance: 0.3
- type: AtmosExposed
- type: SpeedModifierContacts
walkSpeedModifier: 0.3

View File

@@ -59,11 +59,9 @@
types:
Heat: 5
coldDamage: {}
ColdDamageThreshold: 0
coldDamageThreshold: 0
- type: Flammable
fireSpread: true
cold:
types: {}
damage:
types:
Heat: 5
@@ -146,11 +144,9 @@
types:
Heat: 5
coldDamage: {}
ColdDamageThreshold: 0
coldDamageThreshold: 0
- type: Flammable
fireSpread: true
cold:
types: {}
damage:
types:
Heat: 5

View File

@@ -189,7 +189,6 @@
implantAction: ActionActivateScramImplant
- type: TriggerImplantAction
- type: ScramImplant
teleportAttempts: 10 # small amount of risk of being teleported into space and lets you teleport off shuttles
- type: entity
parent: BaseSubdermalImplant

View File

@@ -68,7 +68,6 @@
failChance: 0
locPrefix: "necro"
healSound: "/Audio/Effects/lightburn.ogg"
cooldownTime: 1.3
- type: Summonable
specialItem: SpawnPointGhostCerberus
respawnTime: 300

View File

@@ -475,7 +475,6 @@
behaviors:
- !type:SpillBehavior
solution: food
transferForensics: true
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Tag

View File

@@ -154,7 +154,6 @@
sprite: Objects/Tools/Toolboxes/toolbox_thief.rsi
state: icon
- type: ThiefUndeterminedBackpack
transformAfterSelect: AlwaysPoweredWallLight
possibleSets:
# - TO DO Thief pinpointer needed
- ChemistrySet

View File

@@ -23,8 +23,8 @@
!type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: AmbientSound
volume: -5
range: 5

View File

@@ -282,6 +282,7 @@
MaterialWoodPlank:
min: 1
max: 1
- type: Construction
graph: RitualSeat
node: chairCursed

View File

@@ -7,7 +7,6 @@
components:
- type: ApcPowerReceiver
powerLoad: 350
priority: Low
- type: ExtensionCableReceiver
- type: PointLight
radius: 1.8
@@ -70,7 +69,8 @@
- type: PointLight
color: "#e3a136"
- type: SpaceVillainArcade
rewardAmount: 0
rewardMinAmount: 0
rewardMaxAmount: 0
possibleRewards:
- ToyMouse
- ToyAi
@@ -146,8 +146,8 @@
board: SpaceVillainArcadeComputerCircuitboard
- type: Advertise
pack: SpaceVillainAds
minWait: 60 # Arcades are noisy
maxWait: 240
minimumWait: 60 # Arcades are noisy
maximumWait: 240
- type: SpeakOnUIClosed
pack: SpaceVillainGoodbyes
@@ -190,7 +190,7 @@
board: BlockGameArcadeComputerCircuitboard
- type: Advertise
pack: BlockGameAds
minWait: 60 # Arcades are noisy
maxWait: 240
minimumWait: 60 # Arcades are noisy
maximumWait: 240
- type: SpeakOnUIClosed
pack: BlockGameGoodbyes

View File

@@ -422,7 +422,6 @@
type: ResearchClientBoundUserInterface
- type: ApcPowerReceiver
powerLoad: 1000
priority: Low
- type: Computer
board: ResearchComputerCircuitboard
- type: AccessReader
@@ -471,7 +470,6 @@
type: ResearchClientBoundUserInterface
- type: ApcPowerReceiver
powerLoad: 1000
priority: Low
- type: Computer
board: AnalysisComputerCircuitboard
- type: PointLight
@@ -955,7 +953,6 @@
speechVerb: Robotic
- type: SurveillanceCameraSpeaker
- type: SurveillanceCameraMonitor
speechEnabled: true
- type: ActivatableUI
key: enum.SurveillanceCameraMonitorUiKey.Key
- type: ActivatableUIRequiresVision

View File

@@ -23,7 +23,6 @@
machine_parts: !type:Container
- type: CrewMonitoringServer
- type: SingletonDeviceNetServer
ServerType: CrewMonitoringServer
- type: DeviceNetwork
deviceNetId: Wireless
transmitFrequencyId: CrewMonitor
@@ -34,7 +33,6 @@
- type: StationLimitedNetwork
- type: ApcPowerReceiver
powerLoad: 200
priority: Low
- type: ExtensionCableReceiver
- type: Destructible
thresholds:

View File

@@ -55,7 +55,7 @@
activePower: 2500
lightRadiusMin: 0.75
lightRadiusMax: 2.5
spritemap:
spriteMap:
broken: "broken"
unpowered: "off"
off: "off"

View File

@@ -20,7 +20,6 @@
- CivilianServices
- type: ApcPowerReceiver
powerLoad: 200
priority: Low
- type: ExtensionCableReceiver
- type: WiresPanel
- type: WiresVisuals

View File

@@ -52,7 +52,6 @@
description: Locates salvage.
components:
- type: SalvageMagnet
offsetRadiusMax: 32
- type: ApcPowerReceiver
powerLoad: 1000

View File

@@ -5,7 +5,6 @@
description: A bed that massively slows down the patient's metabolism and prevents bodily decay, allowing more time to administer a proper treatment for stabilization.
components:
- type: StasisBed
baseMultiplier: 10
- type: AntiRotOnBuckle
- type: HealOnBuckle
damage:

View File

@@ -93,7 +93,6 @@
- type: LitOnPowered
- type: ApcPowerReceiver
powerLoad: 200
priority: Low
- type: Actions
- type: SentienceTarget
flavorKind: station-event-random-sentience-flavor-mechanical

View File

@@ -64,9 +64,6 @@
- type: Construction
graph: GasTrinary
node: filter
conditions:
- !type:TileNotBlocked
- !type:NoUnstackableInTile
- type: AmbientSound
enabled: false
volume: -9

View File

@@ -304,7 +304,6 @@
suffix: Enabled
components:
- type: GasThermoMachine
enabled: true
- type: ApcPowerReceiver
powerDisabled: false
@@ -349,7 +348,6 @@
suffix: Enabled
components:
- type: GasThermoMachine
enabled: true
- type: ApcPowerReceiver
powerDisabled: false

View File

@@ -59,7 +59,6 @@
maxCharge: 1000000
startingCharge: 0
- type: BatteryDischarger
activeSupplyRate: 15000
- type: TeslaCoil
chargeFromLightning: 500000
- type: LightningTarget

View File

@@ -85,7 +85,6 @@
- type: ChaoticJump
jumpMinInterval: 8
jumpMaxInterval: 15
offset: 1
- type: WarpPoint
follow: true
location: tesla ball

View File

@@ -90,7 +90,6 @@
tempChange: 420
- type: ProjectileAnomaly
projectilePrototype: ProjectileAnomalyFireball
targetNonSentientChance: 0.6
projectileSpeed: 0.5
minProjectiles: 3
maxProjectiles: 6
@@ -330,7 +329,6 @@
explosionMaxTileIntensity: 20
- type: ProjectileAnomaly
projectilePrototype: ProjectileIcicle
targetNonSentientChance: 0.1
- type: EntitySpawnAnomaly
entries:
- settings:

View File

@@ -59,7 +59,6 @@
board: !type:Container
- type: ApcPowerReceiver
powerLoad: 200
priority: Low
- type: WallMount
arc: 360
- type: ExtensionCableReceiver

View File

@@ -421,7 +421,6 @@
nutrientConsumption: 0.40
idealLight: 8
idealHeat: 298
juicy: true
splatPrototype: PuddleSplatter
chemicals:
Nutriment:
@@ -456,7 +455,6 @@
nutrientConsumption: 0.70
idealLight: 8
idealHeat: 298
juicy: true
splatPrototype: PuddleSplatter
chemicals:
Nutriment:
@@ -491,7 +489,6 @@
nutrientConsumption: 0.70
idealLight: 8
idealHeat: 298
juicy: true
splatPrototype: PuddleSplatter
chemicals:
Blood:

View File

@@ -70,12 +70,11 @@
# Tries to melee attack our target.
- type: htnCompound
id: MeleeAttackTargetCompound
preconditions:
- !type:KeyExistsPrecondition
key: Target
branches:
# Move to melee range and hit them
- tasks:
- preconditions:
- !type:KeyExistsPrecondition
key: Target
tasks:
- !type:HTNPrimitiveTask
operator: !type:MoveToOperator
shutdownState: PlanFinished
@@ -104,11 +103,11 @@
- type: htnCompound
id: MeleeAttackOrderedTargetCompound
preconditions:
- !type:KeyExistsPrecondition
key: Target
branches:
- tasks:
- preconditions:
- !type:KeyExistsPrecondition
key: Target
tasks:
- !type:HTNPrimitiveTask
operator: !type:MoveToOperator
shutdownState: PlanFinished

View File

@@ -72,7 +72,7 @@
Medicine:
effects:
- !type:ModifyBloodLevel
condition:
conditions:
- !type:OrganType
type: Arachnid
shouldHave: true
@@ -163,7 +163,7 @@
Medicine:
effects:
- !type:ModifyBloodLevel
condition:
conditions:
- !type:OrganType
type: Arachnid
shouldHave: false

View File

@@ -234,7 +234,7 @@
types:
Asphyxiation: 1
Cold: 2
groups:
groups:
Brute: 0.5
- !type:Jitter
conditions:
@@ -1044,7 +1044,7 @@
Medicine:
effects:
- !type:HealthChange
condition:
conditions:
- !type:TotalDamage
max: 50
damage:

View File

@@ -480,7 +480,6 @@
conditions:
- !type:OrganType
type: Human
reagent: Protein
type: Local
visualType: MediumCaution
messages: [ "generic-reagent-effect-sick" ]

View File

@@ -121,7 +121,6 @@
actions:
- !type:SetWiresPanelSecurity
wiresAccessible: true
weldingAllowed: true
edges:
- to: glassElectronics
conditions:
@@ -162,7 +161,6 @@
actions:
- !type:SetWiresPanelSecurity
wiresAccessible: true
weldingAllowed: true
edges:
- to: wired
conditions:
@@ -201,7 +199,6 @@
actions:
- !type:SetWiresPanelSecurity
wiresAccessible: true
weldingAllowed: true
edges:
- to: medSecurityUnfinished
conditions:
@@ -225,7 +222,6 @@
- !type:SetWiresPanelSecurity
examine: wires-panel-component-on-examine-security-level1
wiresAccessible: false
weldingAllowed: false
edges:
- to: glassAirlock
completed:
@@ -278,7 +274,6 @@
- !type:SetWiresPanelSecurity
examine: wires-panel-component-on-examine-security-level2
wiresAccessible: false
weldingAllowed: false
edges:
- to: medSecurityUnfinished
conditions:
@@ -293,7 +288,6 @@
- !type:SetWiresPanelSecurity
examine: wires-panel-component-on-examine-security-level3
wiresAccessible: false
weldingAllowed: false
edges:
- to: glassAirlock
completed:
@@ -346,7 +340,6 @@
- !type:SetWiresPanelSecurity
examine: wires-panel-component-on-examine-security-level4
wiresAccessible: false
weldingAllowed: false
edges:
- to: highSecurityUnfinished
conditions:
@@ -369,7 +362,6 @@
- !type:SetWiresPanelSecurity
examine: wires-panel-component-on-examine-security-level5
wiresAccessible: false
weldingAllowed: true
edges:
- to: highSecurity
completed:
@@ -397,7 +389,6 @@
- !type:SetWiresPanelSecurity
examine: wires-panel-component-on-examine-security-level6
wiresAccessible: false
weldingAllowed: false
edges:
- to: maxSecurity
completed:
@@ -422,7 +413,6 @@
- !type:SetWiresPanelSecurity
examine: wires-panel-component-on-examine-security-level7
wiresAccessible: false
weldingAllowed: false
edges:
- to: superMaxSecurityUnfinished
conditions:

View File

@@ -121,7 +121,6 @@
actions:
- !type:SetWiresPanelSecurity
wiresAccessible: true
weldingAllowed: true
edges:
- to: glassElectronics
conditions:
@@ -146,7 +145,6 @@
actions:
- !type:SetWiresPanelSecurity
wiresAccessible: true
weldingAllowed: true
edges:
- to: wired
conditions:

View File

@@ -23,7 +23,6 @@
- !type:SetAnchor
value: true
- !type:SnapToGrid
offset: Center
edges:
- to: item
steps:
@@ -31,4 +30,4 @@
doAfter: 3
completed:
- !type:SetAnchor
value: false
value: false

View File

@@ -28,18 +28,15 @@
- to: solarpanel
conditions:
- !type:EntityAnchored
value: true
steps:
- material: Glass
amount: 2
doAfter: 0.5
completed:
- !type:SnapToGrid
offset: Center
- to: solartracker
conditions:
- !type:EntityAnchored
value: true
steps:
- tag: SolarTrackerElectronics
name: Solar Tracker Electronics
@@ -52,7 +49,6 @@
doAfter: 2
completed:
- !type:SnapToGrid
offset: Center
- node: solarpanel
entity: SolarPanel

View File

@@ -106,7 +106,6 @@
- type: SolutionTransfer
canChangeTransferAmount: true
- type: Drink
isOpen: true
solution: beaker
- type: artifactEffect