Good artifact effects (#13223)

This commit is contained in:
Nemanja
2023-01-01 00:59:38 -05:00
committed by GitHub
parent 2287f9df11
commit 01ef7a2d1b
11 changed files with 253 additions and 103 deletions

View File

@@ -64,20 +64,37 @@
components:
- type: SpawnArtifact
maxSpawns: 10
consistentSpawns: false
possiblePrototypes:
- FoodPacketSyndiTrash
- FoodPacketSemkiTrash
- FoodPacketBoritosTrash
- FoodPacketCheesieTrash
- FoodPacketChipsTrash
- FoodPacketChocolateTrash
- FoodPacketChowMeinTrash
- FoodPacketEnergyTrash
- FoodPacketPopcornTrash
- FoodPacketRaisinsTrash
- RandomInstruments
- ToySpawner
spawns:
- id: FoodPacketSyndiTrash
prob: 0.1
orGroup: Trash
- id: FoodPacketSemkiTrash
prob: 0.1
orGroup: Trash
- id: FoodPacketBoritosTrash
prob: 0.1
orGroup: Trash
- id: FoodPacketCheesieTrash
prob: 0.1
orGroup: Trash
- id: FoodPacketChipsTrash
prob: 0.1
orGroup: Trash
- id: FoodPacketChocolateTrash
prob: 0.1
orGroup: Trash
- id: FoodPacketEnergyTrash
prob: 0.1
orGroup: Trash
- id: FoodPacketPopcornTrash
prob: 0.1
orGroup: Trash
- id: FoodPacketRaisinsTrash
prob: 0.1
orGroup: Trash
- id: ToySpawner
prob: 0.1
orGroup: Trash
- type: artifactEffect
id: EffectLightFlicker
@@ -102,8 +119,8 @@
components:
- type: SpawnArtifact
maxSpawns: 20
possiblePrototypes:
- FoodBanana
spawns:
- id: FoodBanana
- type: artifactEffect
id: EffectCold
@@ -145,8 +162,32 @@
components:
- type: SpawnArtifact
maxSpawns: 5
possiblePrototypes:
- RandomInstruments
spawns:
- id: RandomInstruments
- type: artifactEffect
id: EffectMonkeySpawn
targetDepth: 1
effectHint: artifact-effect-hint-creation
components:
- type: SpawnArtifact
spawns:
- id: MobMonkey
orGroup: monkey
prob: 0.95
- id: MobGorilla #harambe
orGroup: monkey
prob: 0.05
- type: artifactEffect
id: EffectChargeBatteries
targetDepth: 1
effectHint: artifact-effect-hint-release
components:
- type: ChargeBatteryArtifact
- type: TelepathicArtifact
messages:
- charge-artifact-popup
- type: artifactEffect
id: EffectAngryCarpSpawn
@@ -155,9 +196,30 @@
components:
- type: SpawnArtifact
maxSpawns: 5
possiblePrototypes:
- MobCarpHolo
- MobCarpMagic
spawns:
- id: MobCarpHolo
orGroup: carp
- id: MobCarpMagic
orGroup: carp
- type: artifactEffect
id: EffectCashSpawn
targetDepth: 2
effectHint: artifact-effect-hint-creation
components:
- type: SpawnArtifact
maxSpawns: 10
spawns:
- id: SpaceCash10
maxAmount: 5
prob: 0.75
- id: SpaceCash100
maxAmount: 2
prob: 0.5
- id: SpaceCash500
prob: 0.25
- id: SpaceCash1000
prob: 0.1
- type: artifactEffect
id: EffectRadiate
@@ -202,6 +264,39 @@
components:
- type: RandomTeleportArtifact
- type: artifactEffect
id: EffectFoamGood
targetDepth: 2
effectHint: artifact-effect-hint-biochemical
components:
- type: FoamArtifact
spreadDuration: 0.5
duration: 5
reagents:
- Dermaline
- Arithrazine
- Spaceacillin
- Inaprovaline
- Kelotane
- Dexalin
- Omnizine
- type: artifactEffect
id: EffectHealAll
targetDepth: 3
effectHint: artifact-effect-hint-environment
components:
- type: DamageNearbyArtifact
damageChance: 0.75
radius: 5
whitelist:
components:
- MobState
damage:
groups:
Brute: -300
Burn: -300
- type: artifactEffect
id: EffectMaterialSpawn
targetDepth: 3
@@ -209,11 +304,13 @@
components:
- type: SpawnArtifact
maxSpawns: 5
consistentSpawn: false
possiblePrototypes:
- SheetGlass
- SheetSteel
- SheetPlastic
spawns:
- id: SheetSteel
orGroup: materials
- id: SheetGlass
orGroup: materials
- id: SheetPlastic
orGroup: materials
- type: artifactEffect
id: EffectShuffle
@@ -233,13 +330,22 @@
components:
- type: SpawnArtifact
maxSpawns: 10
consistentSpawn: false
possiblePrototypes:
- SuperCapacitorStockPart
- PhasicScanningModuleStockPart
- PicoManipulatorStockPart
- UltraHighPowerMicroLaserStockPart
- SuperMatterBinStockPart
spawns:
- id: SuperCapacitorStockPart
prob: 0.3
maxAmount: 2
- id: PhasicScanningModuleStockPart
prob: 0.3
maxAmount: 2
- id: PicoManipulatorStockPart
prob: 0.3
maxAmount: 2
- id: UltraHighPowerMicroLaserStockPart
prob: 0.3
maxAmount: 2
- id: SuperMatterBinStockPart
prob: 0.3
maxAmount: 2
- type: artifactEffect
id: EffectDisease
@@ -262,13 +368,19 @@
effectHint: artifact-effect-hint-creation
components:
- type: SpawnArtifact
maxSpawns: 15
consistentSpawn: false
possiblePrototypes:
- SilverOre1
- PlasmaOre1
- GoldOre1
- UraniumOre1
spawns:
- id: SilverOre1
prob: 0.3
maxAmount: 3
- id: PlasmaOre1
prob: 0.3
maxAmount: 3
- id: GoldOre1
prob: 0.3
maxAmount: 3
- id: UraniumOre1
prob: 0.3
maxAmount: 3
- type: artifactEffect
id: EffectHeat
@@ -306,6 +418,16 @@
components:
- type: IgniteArtifact
- type: artifactEffect
id: EffectMitosis
targetDepth: 4
effectHint: artifact-effect-hint-creation
components:
- type: SpawnArtifact
maxSpawns: 1
spawns:
- id: RandomArtifactSpawner
- type: artifactEffect
id: EffectSingulo
targetDepth: 100
@@ -313,5 +435,5 @@
components:
- type: SpawnArtifact
maxSpawns: 1
possiblePrototypes:
- Singularity
spawns:
- id: Singularity

View File

@@ -1,5 +1,25 @@
# Utility effects permanently modify the entity in some way when triggered, and they generally make it 'useful' for some purpose,
# like turning the artifact into a tool, or gun, or whatever.
- type: artifactEffect
id: EffectIntercom
targetDepth: 2
effectHint: artifact-effect-hint-communication
permanentComponents:
- type: RadioMicrophone
powerRequired: false
listenRange: 3
supportedChannels:
- Common
- CentCom
- Command
- Engineering
- Medical
- Science
- Security
- Service
- Supply
- Syndicate
- type: artifactEffect
id: EffectRandomInstrument
targetDepth: 2
@@ -7,14 +27,9 @@
permanentComponents:
- type: Instrument
- type: ActivatableUI
inHandsOnly: true
singleUser: true
verbText: verb-instrument-openui
key: enum.InstrumentUiKey.Key
- type: UserInterface
interfaces:
- key: enum.InstrumentUiKey.Key
type: InstrumentBoundUserInterface
- type: RandomInstrumentArtifact
- type: artifactEffect