Xenoarchaeology artifacts (#6069)

Co-authored-by: Alexander Evgrashin <evgrashin.adl@gmail.com>
This commit is contained in:
Alex Evgrashin
2022-01-22 15:55:11 +03:00
committed by GitHub
parent 90a5c6ea54
commit 8d6565ea42
50 changed files with 1016 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
- type: entity
id: RandomArtifactSpawner
name: random artifact spawner
parent: MarkerBase
components:
- type: Sprite
layers:
- state: red
- texture: Objects/Specific/Xenoarchaeology/xeno_artifacts.rsi/ano01.png
- type: RandomSpawner
prototypes:
- BadfeelingArtifact
- GoodfeelingArtifact
- AngryMobsSpawnArtifact
- JunkSpawnArtifact
- BananaSpawnArtifact
chance: 1
- type: entity
id: RandomArtifactSpawner20
name: random artifact spawner [20]
parent: RandomArtifactSpawner
components:
- type: RandomSpawner
chance: 0.2

View File

@@ -0,0 +1,124 @@
- type: entity
parent: BaseStructureDynamic
id: BaseXenoArtifact
name: alien artifact
description: A strange alien device.
abstract: true
components:
- type: Sprite
sprite: Objects/Specific/Xenoarchaeology/xeno_artifacts.rsi
netsync: false
state: ano01
- type: Physics
bodyType: Dynamic
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeCircle
radius: 0.45
mass: 150
layer:
- SmallImpassable
mask:
- VaultImpassable
- type: InteractionOutline
- type: Artifact
- type: RandomArtifactSprite
- type: Appearance
visuals:
- type: RandomArtifactVisualizer
# 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
- type: entity
parent: BaseXenoArtifact
id: GoodfeelingArtifact
suffix: Goodfeeling
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: entity
parent: BaseXenoArtifact
id: JunkSpawnArtifact
suffix: Junk Spawn
components:
- type: SpawnArtifact
maxSpawns: 10
possiblePrototypes:
- FoodPacketSyndiTrash
- FoodPacketSemkiTrash
- RandomInstruments
- ToySpawner
- type: entity
parent: BaseXenoArtifact
id: BananaSpawnArtifact
suffix: Banana Spawn
components:
- type: SpawnArtifact
maxSpawns: 20
possiblePrototypes:
- FoodBanana