forked from new-frontiers-14/frontier-station-14
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New artifact effects (new-frontiers-14#2318)
* Arti+ * Update normal_effects.yml * Update utility_effects.yml * artifact hints, interactions, limited puddles * Update normal_effects.yml * Better(?) artifact pet failure, reclaimer fix * Revert adding water vapor to C# (overwritten) * missed a comment --------- Co-authored-by: Whatstone <[email protected]>
- Loading branch information
Showing
7 changed files
with
179 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Resources/Locale/en-US/_NF/interaction/interaction-popup-component.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
Resources/Locale/en-US/_NF/xenoarchaeology/artifact-hints.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
artifact-effect-hint-reclaimer = Matter repurposing | ||
artifact-effect-hint-petting = Reciprocal affection | ||
artifact-effect-hint-mop = Fluid absorbancy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
Resources/Prototypes/_NF/XenoArch/Effects/normal_effects.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
- type: artifactEffect | ||
id: EffectT4PartsSpawn | ||
targetDepth: 3 | ||
effectHint: artifact-effect-hint-creation | ||
components: | ||
- type: SpawnArtifact | ||
maxSpawns: 10 | ||
spawns: | ||
- id: QuadraticCapacitorStockPart | ||
prob: 0.5 | ||
maxAmount: 3 | ||
- id: FemtoManipulatorStockPart | ||
prob: 0.5 | ||
maxAmount: 3 | ||
- id: BluespaceMatterBinStockPart | ||
prob: 0.5 | ||
maxAmount: 3 | ||
|
||
- type: artifactEffect | ||
id: EffectBluespaceCrystalSpawn | ||
targetDepth: 3 | ||
effectHint: artifact-effect-hint-creation | ||
components: | ||
- type: SpawnArtifact | ||
maxSpawns: 5 | ||
spawns: | ||
- id: MaterialBluespace1 | ||
maxAmount: 3 |
96 changes: 96 additions & 0 deletions
96
Resources/Prototypes/_NF/XenoArch/Effects/utility_effects.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# # 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: EffectReclaimer | ||
targetDepth: 3 | ||
effectHint: artifact-effect-hint-reclaimer | ||
blacklist: | ||
components: | ||
- Item | ||
permanentComponents: | ||
- type: MaterialReclaimer | ||
whitelist: | ||
components: | ||
- PhysicalComposition | ||
- SpaceGarbage | ||
- Log # Frontier | ||
tags: | ||
- Trash | ||
- Recyclable | ||
blacklist: | ||
components: | ||
- Material | ||
- Pda | ||
- IdCard | ||
- Brain | ||
tags: | ||
- HighRiskItem | ||
soundCooldown: 0 | ||
sound: | ||
path: /Audio/Ambience/Objects/crushing.ogg | ||
params: | ||
volume: 5 | ||
maxDistance: 5 | ||
loop: true | ||
useOldSolutionLogic: true | ||
solutionContainerId: output | ||
powered: true | ||
- type: MaterialStorage | ||
insertOnInteract: false | ||
- type: SolutionContainerManager | ||
solutions: | ||
output: | ||
maxVol: 1000 # Frontier 100<1000 | ||
- type: DrainableSolution | ||
solution: output | ||
- type: ExaminableSolution | ||
solution: output | ||
- type: MaterialReclaimerMagnetPickup # Frontier | ||
range: 0.30 | ||
magnetEnabled: true | ||
|
||
- type: artifactEffect | ||
id: EffectInteractionPopup | ||
targetDepth: 2 | ||
effectHint: artifact-trigger-hint-petting | ||
blacklist: | ||
components: | ||
- Item | ||
permanentComponents: | ||
- type: InteractionPopup | ||
successChance: 0.5 | ||
interactSuccessString: petting-success-artifact | ||
interactFailureString: petting-failure-artifact | ||
interactSuccessSpawn: EffectHearts | ||
interactSuccessSound: | ||
collection: RadiationPulse | ||
|
||
- type: artifactEffect | ||
id: EffectAdvMop | ||
targetDepth: 3 | ||
effectHint: artifact-trigger-hint-mop | ||
whitelist: | ||
components: | ||
- Item | ||
permanentComponents: | ||
- type: Spillable | ||
solution: absorbed | ||
- type: Absorbent | ||
pickupAmount: 100 | ||
- type: UseDelay | ||
delay: 1.0 | ||
- type: SolutionRegeneration | ||
solution: absorbed | ||
generated: | ||
reagents: | ||
- ReagentId: Water | ||
Quantity: 5 | ||
- type: SolutionPurge | ||
solution: absorbed | ||
preserve: | ||
- Water | ||
quantity: 10 | ||
- type: SolutionContainerManager | ||
solutions: | ||
absorbed: | ||
maxVol: 100 |