Item artifacts (#12652)
This commit is contained in:
@@ -1,32 +1,32 @@
|
||||
- type: artifactEffect
|
||||
- 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
|
||||
- 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
|
||||
- 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
|
||||
@@ -35,27 +35,27 @@
|
||||
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
|
||||
- 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
|
||||
- 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
|
||||
@@ -241,7 +241,6 @@
|
||||
- UltraHighPowerMicroLaserStockPart
|
||||
- SuperMatterBinStockPart
|
||||
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectDisease
|
||||
targetDepth: 3
|
||||
@@ -271,14 +270,6 @@
|
||||
- GoldOre1
|
||||
- UraniumOre1
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectPowerGen20K
|
||||
targetDepth: 3
|
||||
effectHint: artifact-effect-hint-release
|
||||
components:
|
||||
- type: PowerSupplier
|
||||
supplyRate: 20000
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectHeat
|
||||
targetDepth: 3
|
||||
@@ -316,4 +307,4 @@
|
||||
- type: SpawnArtifact
|
||||
maxSpawns: 1
|
||||
possiblePrototypes:
|
||||
- Singularity
|
||||
- Singularity
|
||||
163
Resources/Prototypes/XenoArch/Effects/utility_effects.yml
Normal file
163
Resources/Prototypes/XenoArch/Effects/utility_effects.yml
Normal file
@@ -0,0 +1,163 @@
|
||||
# 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: EffectStorage
|
||||
targetDepth: 2
|
||||
effectHint: artifact-effect-hint-storage
|
||||
whitelist:
|
||||
components:
|
||||
- Item # it doesnt necessarily have to be restricted from structures, but i think it'll be better that way
|
||||
permanentComponents:
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.StorageUiKey.Key
|
||||
type: StorageBoundUserInterface
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
storagebase: !type:Container
|
||||
ents: [ ]
|
||||
- type: Storage
|
||||
capacity: 50
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectSolutionStorage
|
||||
targetDepth: 2
|
||||
effectHint: artifact-effect-hint-storage
|
||||
whitelist:
|
||||
components:
|
||||
- Item
|
||||
permanentComponents:
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.TransferAmountUiKey.Key
|
||||
type: TransferAmountBoundUserInterface
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
beaker:
|
||||
maxVol: 150
|
||||
- type: FitsInDispenser
|
||||
solution: beaker
|
||||
- type: RefillableSolution
|
||||
solution: beaker
|
||||
- type: DrainableSolution
|
||||
solution: beaker
|
||||
- type: ExaminableSolution
|
||||
solution: beaker
|
||||
- type: DrawableSolution
|
||||
solution: beaker
|
||||
- type: InjectableSolution
|
||||
solution: beaker
|
||||
- type: SolutionTransfer
|
||||
canChangeTransferAmount: true
|
||||
- type: Drink
|
||||
isOpen: true
|
||||
solution: beaker
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectDrill
|
||||
targetDepth: 3
|
||||
effectHint: artifact-effect-hint-drill
|
||||
permanentComponents:
|
||||
- type: GatheringTool
|
||||
damage:
|
||||
types:
|
||||
Structural: 125
|
||||
gatheringTime: 0.50
|
||||
MaxGatheringEntities: 3
|
||||
- type: ItemCooldown
|
||||
- type: MeleeWeapon
|
||||
damage:
|
||||
types:
|
||||
Piercing: 18
|
||||
Blunt: 4
|
||||
soundHit:
|
||||
path: /Audio/Weapons/bladeslice.ogg
|
||||
- type: Sharp
|
||||
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectPowerGen20K
|
||||
targetDepth: 3
|
||||
effectHint: artifact-effect-hint-release
|
||||
blacklist:
|
||||
components:
|
||||
- Item
|
||||
permanentComponents:
|
||||
- type: PowerSupplier
|
||||
supplyRate: 20000
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectBigIron
|
||||
targetDepth: 3
|
||||
effectHint: artifact-effect-hint-gun
|
||||
whitelist:
|
||||
components:
|
||||
- Item
|
||||
permanentComponents:
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
revolver-ammo: !type:Container
|
||||
- type: RevolverAmmoProvider
|
||||
whitelist:
|
||||
tags:
|
||||
- CartridgeMagnumHC
|
||||
- SpeedLoaderMagnumHC
|
||||
proto: CartridgeMagnumHC
|
||||
capacity: 7
|
||||
chambers: [ True, True, True, True, True, True, True ]
|
||||
ammoSlots: [ null, null, null, null, null, null, null ]
|
||||
soundEject:
|
||||
path: /Audio/Weapons/Guns/MagOut/revolver_magout.ogg
|
||||
soundInsert:
|
||||
path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg
|
||||
- type: Gun
|
||||
selectedMode: SemiAuto
|
||||
fireRate: 2
|
||||
availableModes:
|
||||
- SemiAuto
|
||||
- FullAuto # no alien revolver in buildings
|
||||
soundGunshot:
|
||||
path: /Audio/Weapons/Guns/Gunshots/revolver.ogg
|
||||
|
||||
- type: artifactEffect
|
||||
id: EffectMultitool
|
||||
targetDepth: 3
|
||||
effectHint: artifact-effect-hint-multitool
|
||||
whitelist:
|
||||
components:
|
||||
- Item
|
||||
permanentComponents:
|
||||
- type: TilePrying
|
||||
- type: SignalLinker
|
||||
- type: Tool
|
||||
qualities:
|
||||
- Screwing
|
||||
speed: 2 # Very powerful multitool to balance out the desire to sell or scrap for points
|
||||
useSound: /Audio/Items/drill_use.ogg
|
||||
- type: MultipleTool
|
||||
statusShowBehavior: true
|
||||
entries:
|
||||
- behavior: Screwing
|
||||
useSound:
|
||||
path: /Audio/Items/drill_use.ogg
|
||||
changeSound:
|
||||
path: /Audio/Items/change_drill.ogg
|
||||
- behavior: Prying
|
||||
useSound:
|
||||
path: /Audio/Items/jaws_pry.ogg
|
||||
changeSound:
|
||||
path: /Audio/Items/change_drill.ogg
|
||||
- behavior: Anchoring
|
||||
useSound:
|
||||
path: /Audio/Items/ratchet.ogg
|
||||
changeSound:
|
||||
path: /Audio/Items/change_drill.ogg
|
||||
- behavior: Cutting
|
||||
useSound:
|
||||
path: /Audio/Items/jaws_cut.ogg
|
||||
changeSound:
|
||||
path: /Audio/Items/change_drill.ogg
|
||||
- behavior: Pulsing
|
||||
changeSound:
|
||||
path: /Audio/Items/change_drill.ogg
|
||||
@@ -21,6 +21,9 @@
|
||||
id: TriggerAnchor
|
||||
targetDepth: 0
|
||||
triggerHint: artifact-trigger-hint-tool
|
||||
blacklist:
|
||||
components:
|
||||
- Item
|
||||
components:
|
||||
- type: ArtifactAnchorTrigger
|
||||
|
||||
@@ -28,6 +31,9 @@
|
||||
id: TriggerElectricity
|
||||
targetDepth: 0
|
||||
triggerHint: artifact-trigger-hint-electricity
|
||||
blacklist:
|
||||
components:
|
||||
- Item
|
||||
components:
|
||||
- type: ArtifactElectricityTrigger
|
||||
- type: PowerConsumer
|
||||
@@ -61,10 +67,20 @@
|
||||
- type: ArtifactDamageTrigger
|
||||
damageTypes:
|
||||
- Blunt
|
||||
- Slash
|
||||
- Slash
|
||||
- Piercing
|
||||
damageThreshold: 50
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerItemLanded
|
||||
targetDepth: 1
|
||||
triggerHint: artifact-trigger-hint-land
|
||||
whitelist:
|
||||
components:
|
||||
- Item
|
||||
components:
|
||||
- type: ArtifactLandTrigger
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerHeat
|
||||
targetDepth: 1
|
||||
@@ -98,6 +114,16 @@
|
||||
components:
|
||||
- type: ArtifactMagnetTrigger
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerMicrowave
|
||||
targetDepth: 2
|
||||
triggerHint: artifact-trigger-hint-radiation
|
||||
whitelist:
|
||||
components:
|
||||
- Item
|
||||
components:
|
||||
- type: ArtifactMicrowaveTrigger
|
||||
|
||||
- type: artifactTrigger
|
||||
id: TriggerLowPressure
|
||||
targetDepth: 2
|
||||
@@ -141,4 +167,4 @@
|
||||
- type: ArtifactGasTrigger
|
||||
|
||||
#don't add in new targetdepth values until you have a few
|
||||
#or else it will skew heavily towards a few options.
|
||||
#or else it will skew heavily towards a few options.
|
||||
|
||||
Reference in New Issue
Block a user