XenoArch [Science Overhaul] (#12204)
* multi-node xeno artifacts * refactor existing artifact effects * more tweaks to generation * more shit plus fix tests * more generation stuff plus threat levels * doink * now make it build * defer the artifact activation to not cause errors also pricing * some changes * all of the yaml + ui stuff for artifact analyzer * machine linking and starting to make the ui functional * artifact analyzer display * a shit ton of artifact analyzer stuff * more changes; making destroy work properly; progress bar tweaks * getting shit going! ALL RIGHT * small tweaks that didn't help much * Komm susser todd: the end of analysis * recipes and hints and ui, oh my! * add some in-game sources gotta prepare for day 1 launch * node data + ditch random seed in place of id * bunch of triggers * finish off the last few triggers * implement machine examine verb * knock, flicker, blink, throw * shatter, foam, shuffle, heat * fix all the shit i broke * *some* of these have to be good, no? 25 effects * callin' it there for effects * comments + reword some trigger hints * don't mind this little commit here * byref event * fix brokey node entry * fix low pressure trigger * mirror review plus fixing 0x40's bug also the throw artifact threw incorrectly * randomize the event message a teeny bit
This commit is contained in:
@@ -7,3 +7,13 @@
|
||||
cost: 500
|
||||
category: Science
|
||||
group: market
|
||||
|
||||
- type: cargoProduct
|
||||
id: RandomArtifact
|
||||
icon:
|
||||
sprite: Objects/Specific/Xenoarchaeology/xeno_artifacts.rsi
|
||||
state: ano13
|
||||
product: RandomArtifactSpawner
|
||||
cost: 2000
|
||||
category: Science
|
||||
group: market
|
||||
|
||||
@@ -157,6 +157,8 @@
|
||||
- id: DoorRemoteResearch
|
||||
- id: RubberStampRd
|
||||
- id: ClothingHeadsetAltScience
|
||||
- id: AnalysisComputerCircuitboard
|
||||
- id: ArtifactAnalyzerMachineCircuitboard
|
||||
|
||||
- type: entity
|
||||
id: LockerHeadOfSecurityFilled
|
||||
|
||||
@@ -320,6 +320,8 @@
|
||||
- SolarControlComputerCircuitboard
|
||||
- PowerComputerCircuitboard
|
||||
- GeneratorPlasmaMachineCircuitboard
|
||||
- AnalysisComputerCircuitboard
|
||||
- ArtifactAnalyzerMachineCircuitboard
|
||||
- Signaller
|
||||
- SignalTrigger
|
||||
- VoiceTrigger
|
||||
|
||||
13
Resources/Prototypes/Entities/Effects/bluespace_flash.yml
Normal file
13
Resources/Prototypes/Entities/Effects/bluespace_flash.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
- type: entity
|
||||
id: EffectFlashBluespace
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: PointLight
|
||||
radius: 10.5
|
||||
energy: 15
|
||||
color: "#18abf5"
|
||||
- type: TimedDespawn
|
||||
lifetime: 1
|
||||
- type: EmitSoundOnSpawn
|
||||
sound:
|
||||
path: /Audio/Effects/Lightning/lightningbolt.ogg
|
||||
@@ -9,16 +9,12 @@
|
||||
- texture: Objects/Specific/Xenoarchaeology/xeno_artifacts.rsi/ano01.png
|
||||
- type: RandomSpawner
|
||||
prototypes:
|
||||
- BadfeelingArtifact
|
||||
- GoodfeelingArtifact
|
||||
- AngryMobsSpawnArtifact
|
||||
- JunkSpawnArtifact
|
||||
- BananaSpawnArtifact
|
||||
- HeatArtifact
|
||||
- ColdArtifact
|
||||
- RadiateArtifact
|
||||
- GasArtifact
|
||||
- DiseaseArtifact
|
||||
- SimpleXenoArtifact
|
||||
- MediumXenoArtifact
|
||||
- MediumXenoArtifact
|
||||
- MediumXenoArtifact
|
||||
- ComplexXenoArtifact
|
||||
- ComplexXenoArtifact
|
||||
chance: 1
|
||||
|
||||
- type: entity
|
||||
|
||||
@@ -131,6 +131,22 @@
|
||||
materialRequirements:
|
||||
Cable: 5
|
||||
|
||||
- type: entity
|
||||
id: ArtifactAnalyzerMachineCircuitboard
|
||||
parent: BaseMachineCircuitboard
|
||||
name: artifact analyzer machine board
|
||||
description: A machine printed circuit board for an artifact analyzer
|
||||
components:
|
||||
- type: Sprite
|
||||
state: science
|
||||
- type: MachineBoard
|
||||
prototype: MachineArtifactAnalyzer
|
||||
requirements:
|
||||
ScanningModule: 3
|
||||
Capacitor: 1
|
||||
materialRequirements:
|
||||
Glass: 5
|
||||
|
||||
- type: entity
|
||||
id: ThermomachineFreezerMachineCircuitBoard
|
||||
parent: BaseMachineCircuitboard
|
||||
|
||||
@@ -145,6 +145,17 @@
|
||||
- type: ComputerBoard
|
||||
prototype: ComputerResearchAndDevelopment
|
||||
|
||||
- type: entity
|
||||
parent: BaseComputerCircuitboard
|
||||
id: AnalysisComputerCircuitboard
|
||||
name: analysis computer board
|
||||
description: A computer printed circuit board for an analysis console.
|
||||
components:
|
||||
- type: Sprite
|
||||
state: cpu_science
|
||||
- type: ComputerBoard
|
||||
prototype: ComputerAnalysisConsole
|
||||
|
||||
- type: entity
|
||||
parent: BaseComputerCircuitboard
|
||||
id: CrewMonitoringComputerCircuitboard
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
- type: Weldable
|
||||
- type: SuppressArtifactContainer
|
||||
- type: PlaceableSurface
|
||||
isPlaceable: false
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
sprite: Objects/Specific/Xenoarchaeology/xeno_artifacts.rsi
|
||||
netsync: false
|
||||
state: ano01
|
||||
noRot: true
|
||||
- type: Damageable
|
||||
- type: Physics
|
||||
bodyType: Dynamic
|
||||
- type: Transform
|
||||
@@ -31,152 +33,34 @@
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: RandomArtifactVisualizer
|
||||
- type: PowerConsumer
|
||||
voltage: Medium
|
||||
drawRate: 500
|
||||
- type: NodeContainer
|
||||
nodes:
|
||||
medium:
|
||||
!type:CableDeviceNode
|
||||
nodeGroupID: MVPower
|
||||
# sadly, HVPower and Apc cables doesn't work right now
|
||||
|
||||
- type: StaticPrice
|
||||
price: 2000
|
||||
- type: Electrified
|
||||
requirePower: true
|
||||
noWindowInTile: true
|
||||
highVoltageNode: high
|
||||
mediumVoltageNode: medium
|
||||
lowVoltageNode: low
|
||||
|
||||
# Telepathic
|
||||
- type: entity
|
||||
parent: BaseXenoArtifact
|
||||
id: BadfeelingArtifact
|
||||
suffix: Badfeeling
|
||||
components:
|
||||
- type: TelepathicArtifact
|
||||
messages:
|
||||
- badfeeling-artifact-1
|
||||
- badfeeling-artifact-2
|
||||
- badfeeling-artifact-3
|
||||
- badfeeling-artifact-4
|
||||
- badfeeling-artifact-5
|
||||
- badfeeling-artifact-6
|
||||
- badfeeling-artifact-7
|
||||
- badfeeling-artifact-8
|
||||
- badfeeling-artifact-9
|
||||
- badfeeling-artifact-10
|
||||
- badfeeling-artifact-11
|
||||
- badfeeling-artifact-12
|
||||
- badfeeling-artifact-13
|
||||
- badfeeling-artifact-14
|
||||
- badfeeling-artifact-15
|
||||
drastic:
|
||||
- badfeeling-artifact-drastic-1
|
||||
- badfeeling-artifact-drastic-2
|
||||
- badfeeling-artifact-drastic-3
|
||||
- badfeeling-artifact-drastic-4
|
||||
- badfeeling-artifact-drastic-5
|
||||
- badfeeling-artifact-drastic-6
|
||||
price: 500
|
||||
|
||||
- type: entity
|
||||
parent: BaseXenoArtifact
|
||||
id: GoodfeelingArtifact
|
||||
suffix: Goodfeeling
|
||||
id: SimpleXenoArtifact
|
||||
suffix: Simple
|
||||
components:
|
||||
- type: TelepathicArtifact
|
||||
messages:
|
||||
- goodfeeling-artifact-1
|
||||
- goodfeeling-artifact-2
|
||||
- goodfeeling-artifact-3
|
||||
- goodfeeling-artifact-4
|
||||
- goodfeeling-artifact-5
|
||||
- goodfeeling-artifact-6
|
||||
- goodfeeling-artifact-7
|
||||
- goodfeeling-artifact-8
|
||||
- goodfeeling-artifact-9
|
||||
- goodfeeling-artifact-10
|
||||
- goodfeeling-artifact-11
|
||||
- goodfeeling-artifact-12
|
||||
- goodfeeling-artifact-13
|
||||
- goodfeeling-artifact-14
|
||||
drastic:
|
||||
- goodfeeling-artifact-drastic-1
|
||||
- goodfeeling-artifact-drastic-2
|
||||
- goodfeeling-artifact-drastic-3
|
||||
- goodfeeling-artifact-drastic-4
|
||||
- goodfeeling-artifact-drastic-5
|
||||
- goodfeeling-artifact-drastic-6
|
||||
|
||||
# Spawners
|
||||
- type: entity
|
||||
parent: BaseXenoArtifact
|
||||
id: AngryMobsSpawnArtifact
|
||||
suffix: Angry Mobs Spawn
|
||||
components:
|
||||
- type: SpawnArtifact
|
||||
maxSpawns: 5
|
||||
possiblePrototypes:
|
||||
- MobCarpHolo
|
||||
- MobCarpMagic
|
||||
- type: Artifact
|
||||
nodesMin: 2
|
||||
nodesMax: 5
|
||||
|
||||
- type: entity
|
||||
parent: BaseXenoArtifact
|
||||
id: JunkSpawnArtifact
|
||||
suffix: Junk Spawn
|
||||
id: MediumXenoArtifact
|
||||
suffix: Medium
|
||||
components:
|
||||
- type: SpawnArtifact
|
||||
maxSpawns: 10
|
||||
possiblePrototypes:
|
||||
- FoodPacketSyndiTrash
|
||||
- FoodPacketSemkiTrash
|
||||
- RandomInstruments
|
||||
- ToySpawner
|
||||
- type: Artifact
|
||||
nodesMin: 5
|
||||
nodesMax: 9
|
||||
|
||||
- type: entity
|
||||
parent: BaseXenoArtifact
|
||||
id: BananaSpawnArtifact
|
||||
suffix: Banana Spawn
|
||||
id: ComplexXenoArtifact
|
||||
suffix: Complex
|
||||
components:
|
||||
- type: SpawnArtifact
|
||||
maxSpawns: 20
|
||||
possiblePrototypes:
|
||||
- FoodBanana
|
||||
- type: Artifact
|
||||
nodesMin: 9
|
||||
nodesMax: 13
|
||||
|
||||
- type: entity
|
||||
parent: BaseXenoArtifact
|
||||
id: HeatArtifact
|
||||
suffix: Heat
|
||||
components:
|
||||
- type: TemperatureArtifact
|
||||
targetTemp: 400 # around 125 celsius
|
||||
|
||||
- type: entity
|
||||
parent: BaseXenoArtifact
|
||||
id: ColdArtifact
|
||||
suffix: Cold
|
||||
components:
|
||||
- type: TemperatureArtifact
|
||||
targetTemp: 150 # around -125 celsius
|
||||
|
||||
- type: entity
|
||||
parent: BaseXenoArtifact
|
||||
id: RadiateArtifact
|
||||
suffix: Radiation
|
||||
components:
|
||||
- type: RadiateArtifact
|
||||
|
||||
- type: entity
|
||||
parent: BaseXenoArtifact
|
||||
id: GasArtifact
|
||||
suffix: Gas
|
||||
components:
|
||||
- type: GasArtifact
|
||||
|
||||
- type: entity
|
||||
parent: BaseXenoArtifact
|
||||
id: DiseaseArtifact
|
||||
suffix: Disease
|
||||
components:
|
||||
- type: DiseaseArtifact
|
||||
|
||||
@@ -335,6 +335,46 @@
|
||||
energy: 1.6
|
||||
color: "#b53ca1"
|
||||
|
||||
- type: entity
|
||||
parent: BaseComputer
|
||||
id: ComputerAnalysisConsole
|
||||
name: analysis console
|
||||
description: A computer used to interface with the artifact analyzer.
|
||||
components:
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: ComputerVisualizer
|
||||
key: tech_key
|
||||
screen: artifact
|
||||
- type: ResearchClient
|
||||
- type: AnalysisConsole
|
||||
- type: DeviceList
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wired
|
||||
- type: SignalTransmitter
|
||||
transmissionRange: 5
|
||||
outputs:
|
||||
ArtifactAnalyzerSender: []
|
||||
- type: ActivatableUI
|
||||
key: enum.ArtifactAnalzyerUiKey.Key
|
||||
- type: ActivatableUIRequiresPower
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.ArtifactAnalzyerUiKey.Key
|
||||
type: AnalysisConsoleBoundUserInterface
|
||||
- key: enum.ResearchClientUiKey.Key
|
||||
type: ResearchClientBoundUserInterface
|
||||
- type: ApcPowerReceiver
|
||||
powerLoad: 1000
|
||||
priority: Low
|
||||
- type: ExtensionCableReceiver
|
||||
- type: Computer
|
||||
board: AnalysisComputerCircuitboard
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
energy: 1.6
|
||||
color: "#b53ca1"
|
||||
|
||||
- type: entity
|
||||
parent: BaseComputer
|
||||
id: ComputerId
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
- type: entity
|
||||
id: MachineArtifactAnalyzer
|
||||
parent: [ BaseMachinePowered, ConstructibleMachine ]
|
||||
name: artifact analyzer
|
||||
description: A platform capable of performing analysis on various types of artifacts.
|
||||
components:
|
||||
- type: Sprite
|
||||
noRot: true
|
||||
netsync: false
|
||||
sprite: Structures/Machines/artifact_analyzer.rsi
|
||||
drawdepth: FloorObjects
|
||||
layers:
|
||||
- state: icon
|
||||
- state: unshaded
|
||||
shader: unshaded
|
||||
map: ["enum.PowerDeviceVisualLayers.Powered"]
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
canCollide: true
|
||||
- type: AmbientSound
|
||||
enabled: false
|
||||
sound:
|
||||
path: /Audio/Machines/scan_loop.ogg
|
||||
range: 5
|
||||
volume: -8
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.35,-0.35,0.35,0.35"
|
||||
density: 190
|
||||
mask:
|
||||
- MachineMask
|
||||
layer:
|
||||
- Impassable
|
||||
- MidImpassable
|
||||
- LowImpassable
|
||||
hard: False
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: false
|
||||
- type: ApcPowerReceiver
|
||||
powerLoad: 15000 #really freaking high
|
||||
needsPower: false #only turns on when scanning
|
||||
- type: UpgradePowerDraw
|
||||
powerDrawMultiplier: 0.80
|
||||
scaling: Exponential
|
||||
- type: ArtifactAnalyzer
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wired
|
||||
- type: DeviceList
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
ArtifactAnalyzerReceiver: []
|
||||
- type: Machine
|
||||
board: ArtifactAnalyzerMachineCircuitboard
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
energy: 1.6
|
||||
color: "#b53ca1"
|
||||
- type: LitOnPowered
|
||||
- type: Appearance
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.PowerDeviceVisuals.Powered:
|
||||
enum.PowerDeviceVisualLayers.Powered:
|
||||
True: { visible: true }
|
||||
False: { visible: false }
|
||||
@@ -298,6 +298,8 @@
|
||||
- EmitterCircuitboard
|
||||
- GasRecyclerMachineCircuitboard
|
||||
- SeedExtractorMachineCircuitboard
|
||||
- AnalysisComputerCircuitboard
|
||||
- ArtifactAnalyzerMachineCircuitboard
|
||||
- type: MaterialStorage
|
||||
whitelist:
|
||||
tags:
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
map: ["enum.PowerDeviceVisualLayers.Powered"]
|
||||
- type: ResearchClient
|
||||
- type: ResearchPointSource
|
||||
pointspersecond: 100
|
||||
pointspersecond: 25
|
||||
active: true
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
|
||||
@@ -1,4 +1,14 @@
|
||||
- type: gameRule
|
||||
id: BluespaceArtifact
|
||||
config:
|
||||
!type:StationEventRuleConfiguration
|
||||
id: BluespaceArtifact
|
||||
weight: 5
|
||||
maxOccurrences: 5
|
||||
startAfter: 30
|
||||
endAfter: 35
|
||||
|
||||
- type: gameRule
|
||||
id: BreakerFlip
|
||||
config:
|
||||
!type:StationEventRuleConfiguration
|
||||
|
||||
@@ -62,3 +62,8 @@
|
||||
id: MedicalScannerReceiver
|
||||
name: signal-port-name-med-scanner-receiver
|
||||
description: signal-port-description-med-scanner-receiver
|
||||
|
||||
- type: receiverPort
|
||||
id: ArtifactAnalyzerReceiver
|
||||
name: signal-port-name-artifact-analyzer-receiver
|
||||
description: signal-port-description-artifact-analyzer-receiver
|
||||
|
||||
@@ -49,3 +49,9 @@
|
||||
id: MedicalScannerSender
|
||||
name: signal-port-name-med-scanner-sender
|
||||
description: signal-port-description-med-scanner-sender
|
||||
|
||||
- type: transmitterPort
|
||||
id: ArtifactAnalyzerSender
|
||||
name: signal-port-name-artifact-analyzer-sender
|
||||
description: signal-port-description-artifact-analyzer-sender
|
||||
defaultLinks: [ ArtifactAnalyzerReceiver ]
|
||||
@@ -176,6 +176,15 @@
|
||||
Glass: 900
|
||||
Gold: 100
|
||||
|
||||
- type: latheRecipe
|
||||
id: ArtifactAnalyzerMachineCircuitboard
|
||||
icon: Objects/Misc/module.rsi/science.png
|
||||
result: ArtifactAnalyzerMachineCircuitboard
|
||||
completetime: 4
|
||||
materials:
|
||||
Steel: 100
|
||||
Glass: 900
|
||||
Gold: 100
|
||||
|
||||
- type: latheRecipe
|
||||
id: ReagentGrinderMachineCircuitboard
|
||||
@@ -186,6 +195,16 @@
|
||||
Steel: 100
|
||||
Glass: 900
|
||||
|
||||
- type: latheRecipe
|
||||
id: AnalysisComputerCircuitboard
|
||||
icon: Objects/Misc/module.rsi/cpu_science.png
|
||||
result: AnalysisComputerCircuitboard
|
||||
completetime: 4
|
||||
materials:
|
||||
Steel: 100
|
||||
Glass: 900
|
||||
Gold: 100
|
||||
|
||||
- type: latheRecipe
|
||||
id: CrewMonitoringComputerCircuitboard
|
||||
icon: Objects/Misc/module.rsi/id_mod.png
|
||||
|
||||
318
Resources/Prototypes/XenoArch/artifact_effects.yml
Normal file
318
Resources/Prototypes/XenoArch/artifact_effects.yml
Normal file
@@ -0,0 +1,318 @@
|
||||
- type: artifactEffect
|
||||
id: EffectBadFeeling
|
||||
targetDepth: 0
|
||||
effectHint: artifact-effect-hint-mental
|
||||
components:
|
||||
- type: TelepathicArtifact
|
||||
messages:
|
||||
- badfeeling-artifact-1
|
||||
- badfeeling-artifact-2
|
||||
- badfeeling-artifact-3
|
||||
- badfeeling-artifact-4
|
||||
- badfeeling-artifact-5
|
||||
- badfeeling-artifact-6
|
||||
- badfeeling-artifact-7
|
||||
- badfeeling-artifact-8
|
||||
- badfeeling-artifact-9
|
||||
- badfeeling-artifact-10
|
||||
- badfeeling-artifact-11
|
||||
- badfeeling-artifact-12
|
||||
- badfeeling-artifact-13
|
||||
- badfeeling-artifact-14
|
||||
- badfeeling-artifact-15
|
||||
drastic:
|
||||
- badfeeling-artifact-drastic-1
|
||||
- badfeeling-artifact-drastic-2
|
||||
- badfeeling-artifact-drastic-3
|
||||
- badfeeling-artifact-drastic-4
|
||||
- badfeeling-artifact-drastic-5
|
||||
- badfeeling-artifact-drastic-6
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectGoodFeeling
|
||||
targetDepth: 0
|
||||
effectHint: artifact-effect-hint-mental
|
||||
components:
|
||||
- type: TelepathicArtifact
|
||||
messages:
|
||||
- goodfeeling-artifact-1
|
||||
- goodfeeling-artifact-2
|
||||
- goodfeeling-artifact-3
|
||||
- goodfeeling-artifact-4
|
||||
- goodfeeling-artifact-5
|
||||
- goodfeeling-artifact-6
|
||||
- goodfeeling-artifact-7
|
||||
- goodfeeling-artifact-8
|
||||
- goodfeeling-artifact-9
|
||||
- goodfeeling-artifact-10
|
||||
- goodfeeling-artifact-11
|
||||
- goodfeeling-artifact-12
|
||||
- goodfeeling-artifact-13
|
||||
- goodfeeling-artifact-14
|
||||
drastic:
|
||||
- goodfeeling-artifact-drastic-1
|
||||
- goodfeeling-artifact-drastic-2
|
||||
- goodfeeling-artifact-drastic-3
|
||||
- goodfeeling-artifact-drastic-4
|
||||
- goodfeeling-artifact-drastic-5
|
||||
- goodfeeling-artifact-drastic-6
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectJunkSpawn
|
||||
targetDepth: 0
|
||||
effectHint: artifact-effect-hint-creation
|
||||
components:
|
||||
- type: SpawnArtifact
|
||||
maxSpawns: 10
|
||||
consistentSpawns: false
|
||||
possiblePrototypes:
|
||||
- FoodPacketSyndiTrash
|
||||
- FoodPacketSemkiTrash
|
||||
- FoodPacketBoritosTrash
|
||||
- FoodPacketCheesieTrash
|
||||
- FoodPacketChipsTrash
|
||||
- FoodPacketChocolateTrash
|
||||
- FoodPacketChowMeinTrash
|
||||
- FoodPacketEnergyTrash
|
||||
- FoodPacketPopcornTrash
|
||||
- FoodPacketRaisinsTrash
|
||||
- RandomInstruments
|
||||
- ToySpawner
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectLightFlicker
|
||||
targetDepth: 0
|
||||
effectHint: artifact-effect-hint-electrical-interference
|
||||
components:
|
||||
- type: LightFlickerArtifact
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectPointLight
|
||||
targetDepth: 0
|
||||
components:
|
||||
- type: PointLight
|
||||
radius: 2
|
||||
energy: 5
|
||||
color: "#27153b"
|
||||
|
||||
- type: artifactEffect #bornana
|
||||
id: EffectBananaSpawn
|
||||
targetDepth: 1
|
||||
effectHint: artifact-effect-hint-creation
|
||||
components:
|
||||
- type: SpawnArtifact
|
||||
maxSpawns: 20
|
||||
possiblePrototypes:
|
||||
- FoodBanana
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectCold
|
||||
targetDepth: 1
|
||||
effectHint: artifact-effect-hint-consumption
|
||||
components:
|
||||
- type: TemperatureArtifact
|
||||
targetTemp: 150
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectThrow
|
||||
targetDepth: 1
|
||||
effectHint: artifact-effect-hint-environment
|
||||
components:
|
||||
- type: ThrowArtifact
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectFoamMild
|
||||
targetDepth: 1
|
||||
effectHint: artifact-effect-hint-biochemical
|
||||
components:
|
||||
- type: FoamArtifact
|
||||
reagents:
|
||||
- Oxygen
|
||||
- Plasma
|
||||
- Blood
|
||||
- SpaceCleaner
|
||||
- Nutriment
|
||||
- SpaceLube
|
||||
- Ethanol
|
||||
- Mercury
|
||||
- VentCrud
|
||||
- WeldingFuel
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectInstrumentSpawn
|
||||
targetDepth: 1
|
||||
effectHint: artifact-effect-hint-creation
|
||||
components:
|
||||
- type: SpawnArtifact
|
||||
maxSpawns: 5
|
||||
possiblePrototypes:
|
||||
- RandomInstruments
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectAngryCarpSpawn
|
||||
targetDepth: 2
|
||||
effectHint: artifact-effect-hint-environment
|
||||
components:
|
||||
- type: SpawnArtifact
|
||||
maxSpawns: 5
|
||||
possiblePrototypes:
|
||||
- MobCarpHolo
|
||||
- MobCarpMagic
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectRadiate
|
||||
targetDepth: 2
|
||||
effectHint: artifact-effect-hint-release
|
||||
components:
|
||||
- type: RadiationSource
|
||||
intensity: 2
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectKnock
|
||||
targetDepth: 2
|
||||
effectHint: artifact-effect-hint-electrical-interference
|
||||
components:
|
||||
- type: KnockArtifact
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectShatterWindows
|
||||
targetDepth: 2
|
||||
effectHint: artifact-effect-hint-environment
|
||||
components:
|
||||
- type: DamageNearbyArtifact
|
||||
damageChance: 0.75
|
||||
whitelist:
|
||||
tags:
|
||||
- Window
|
||||
damage:
|
||||
types:
|
||||
Structural: 100
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectMaterialSpawn
|
||||
targetDepth: 3
|
||||
effectHint: artifact-effect-hint-creation
|
||||
components:
|
||||
- type: SpawnArtifact
|
||||
maxSpawns: 5
|
||||
consistentSpawn: false
|
||||
possiblePrototypes:
|
||||
- SheetGlass
|
||||
- SheetSteel
|
||||
- SheetPlastic
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectShuffle
|
||||
targetDepth: 3
|
||||
effectHint: artifact-effect-hint-displacement
|
||||
components:
|
||||
- type: ShuffleArtifact
|
||||
- type: TelepathicArtifact
|
||||
range: 7.5
|
||||
messages:
|
||||
- shuffle-artifact-popup
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectT3PartsSpawn
|
||||
targetDepth: 3
|
||||
effectHint: artifact-effect-hint-creation
|
||||
components:
|
||||
- type: SpawnArtifact
|
||||
maxSpawns: 10
|
||||
consistentSpawn: false
|
||||
possiblePrototypes:
|
||||
- SuperCapacitorStockPart
|
||||
- PhasicScanningModuleStockPart
|
||||
- PicoManipulatorStockPart
|
||||
- UltraHighPowerMicroLaserStockPart
|
||||
- SuperMatterBinStockPart
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectGas
|
||||
targetDepth: 3
|
||||
effectHint: artifact-effect-hint-environment
|
||||
components:
|
||||
- type: GasArtifact
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectBlink
|
||||
targetDepth: 3
|
||||
effectHint: artifact-effect-hint-displacement
|
||||
components:
|
||||
- type: RandomTeleportArtifact
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectDisease
|
||||
targetDepth: 3
|
||||
effectHint: artifact-effect-hint-biochemical
|
||||
components:
|
||||
- type: DiseaseArtifact
|
||||
diseasePrototypes:
|
||||
- VanAusdallsRobovirus
|
||||
- OwOnavirus
|
||||
- BleedersBite
|
||||
- Ultragigacancer
|
||||
- MemeticAmirmir
|
||||
- TongueTwister
|
||||
- AMIV
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectRareMaterialSpawn
|
||||
targetDepth: 4
|
||||
effectHint: artifact-effect-hint-creation
|
||||
components:
|
||||
- type: SpawnArtifact
|
||||
maxSpawns: 5
|
||||
consistentSpawn: false
|
||||
possiblePrototypes:
|
||||
- SilverOre1
|
||||
- PlasmaOre1
|
||||
- GoldOre1
|
||||
- UraniumOre1
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectPowerGen20K
|
||||
targetDepth: 4
|
||||
effectHint: artifact-effect-hint-release
|
||||
components:
|
||||
- type: PowerSupplier
|
||||
supplyRate: 20000
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectHeat
|
||||
targetDepth: 4
|
||||
effectHint: artifact-effect-hint-release
|
||||
components:
|
||||
- type: TemperatureArtifact
|
||||
targetTemp: 450
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectFoamDangerous
|
||||
targetDepth: 4
|
||||
effectHint: artifact-effect-hint-biochemical
|
||||
components:
|
||||
- type: FoamArtifact
|
||||
spreadDuration: 0.5
|
||||
duration: 5
|
||||
reagents:
|
||||
- Tritium
|
||||
- Plasma
|
||||
- SulfuricAcid
|
||||
- SpaceDrugs
|
||||
- Nocturine
|
||||
- MuteToxin
|
||||
- Napalm
|
||||
- CarpoToxin
|
||||
- ChloralHydrate
|
||||
- Mold
|
||||
- Amatoxin
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectSingulo
|
||||
targetDepth: 100
|
||||
effectHint: artifact-effect-hint-destruction
|
||||
components:
|
||||
- type: SpawnArtifact
|
||||
maxSpawns: 1
|
||||
possiblePrototypes:
|
||||
- Singularity
|
||||
144
Resources/Prototypes/XenoArch/artifact_triggers.yml
Normal file
144
Resources/Prototypes/XenoArch/artifact_triggers.yml
Normal file
@@ -0,0 +1,144 @@
|
||||
- type: artifactTrigger
|
||||
id: TriggerInteraction
|
||||
targetDepth: 0
|
||||
triggerHint: artifact-trigger-hint-physical
|
||||
components:
|
||||
- type: ArtifactInteractionTrigger
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerTimer
|
||||
targetDepth: 0
|
||||
components:
|
||||
- type: ArtifactTimerTrigger
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerExamine
|
||||
targetDepth: 0
|
||||
components:
|
||||
- type: ArtifactExamineTrigger
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerAnchor
|
||||
targetDepth: 0
|
||||
triggerHint: artifact-trigger-hint-tool
|
||||
components:
|
||||
- type: ArtifactAnchorTrigger
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerElectricity
|
||||
targetDepth: 0
|
||||
triggerHint: artifact-trigger-hint-electricity
|
||||
components:
|
||||
- type: ArtifactElectricityTrigger
|
||||
- type: PowerConsumer
|
||||
voltage: Medium
|
||||
drawRate: 500
|
||||
- type: Electrified
|
||||
requirePower: true
|
||||
noWindowInTile: true
|
||||
highVoltageNode: high
|
||||
mediumVoltageNode: medium
|
||||
lowVoltageNode: low
|
||||
- type: NodeContainer
|
||||
nodes:
|
||||
medium:
|
||||
!type:CableDeviceNode
|
||||
nodeGroupID: MVPower
|
||||
# sadly, HVPower and Apc cables doesn't work right now
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerMusic
|
||||
targetDepth: 1
|
||||
triggerHint: artifact-trigger-hint-music
|
||||
components:
|
||||
- type: ArtifactMusicTrigger
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerBruteDamage
|
||||
targetDepth: 1
|
||||
triggerHint: artifact-trigger-hint-physical
|
||||
components:
|
||||
- type: ArtifactDamageTrigger
|
||||
damageTypes:
|
||||
- Blunt
|
||||
- Slash
|
||||
- Piercing
|
||||
damageThreshold: 50
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerHeat
|
||||
targetDepth: 1
|
||||
triggerHint: artifact-trigger-hint-heat
|
||||
components:
|
||||
- type: ArtifactHeatTrigger
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerWater
|
||||
targetDepth: 1
|
||||
triggerHint: artifact-trigger-hint-water
|
||||
components:
|
||||
- type: Reactive
|
||||
reactions:
|
||||
- reagents: [ Water ]
|
||||
methods: [ Touch ]
|
||||
effects:
|
||||
- !type:ActivateArtifact
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerDeath
|
||||
targetDepth: 2
|
||||
triggerHint: artifact-trigger-hint-death
|
||||
components:
|
||||
- type: ArtifactDeathTrigger
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerMagnet
|
||||
targetDepth: 2
|
||||
triggerHint: artifact-trigger-hint-magnet
|
||||
components:
|
||||
- type: ArtifactMagnetTrigger
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerLowPressure
|
||||
targetDepth: 2
|
||||
triggerHint: artifact-trigger-hint-pressure
|
||||
components:
|
||||
- type: ArtifactPressureTrigger
|
||||
minPressureThreshold: 50
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerHighDamage
|
||||
targetDepth: 3
|
||||
triggerHint: artifact-trigger-hint-physical
|
||||
components:
|
||||
- type: ArtifactDamageTrigger
|
||||
damageThreshold: 500 #make it go boom or w/e
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerRadiation
|
||||
targetDepth: 3
|
||||
triggerHint: artifact-trigger-hint-radiation
|
||||
components:
|
||||
- type: ArtifactDamageTrigger
|
||||
damageTypes:
|
||||
- Radiation
|
||||
damageThreshold: 100
|
||||
- type: RadiationReceiver
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerHighPressure
|
||||
targetDepth: 3
|
||||
triggerHint: artifact-trigger-hint-pressure
|
||||
components:
|
||||
- type: ArtifactPressureTrigger
|
||||
maxPressureThreshold: 385
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerGas
|
||||
targetDepth: 3
|
||||
triggerHint: artifact-trigger-hint-gas
|
||||
components:
|
||||
- type: ArtifactGasTrigger
|
||||
|
||||
#don't add in new targetdepth values until you have a few
|
||||
#or else it will skew heavily towards a few options.
|
||||
Reference in New Issue
Block a user