Reverse Engineering guidebook + fixes (#408)

* Reverse engineering guidebook

* Make it so upgrades actually increase scan bonus

* i love when uncommenting creates spaces

* the code checks for capacitor

* Revert capacitor changes and change code

* fix the guidebook still using scanning module

* woops
This commit is contained in:
Fluffiest Floofers 2023-11-07 20:31:01 +01:00 committed by GitHub
parent c5debff3fe
commit 85d8d4106b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 47 additions and 5 deletions

View File

@ -17,7 +17,7 @@ public sealed partial class ReverseEngineeringMachineComponent : Component
public string DiskPrototype = "TechnologyDisk";
[DataField("machinePartScanBonus", customTypeSerializer: typeof(PrototypeIdSerializer<MachinePartPrototype>))]
public string MachinePartScanBonus = "Capacitor";
public string MachinePartScanBonus = "MatterBin"; // DeltaV Code: Change part checked for bonus to MatterBin as it is what is used in the crafting recipe
/// <summary>
/// Added to the 3d6, scales off of scanner.

View File

@ -0,0 +1 @@
guide-entry-reverse-engineering = Reverse Engineering

View File

@ -8,6 +8,7 @@
- Xenoarchaeology
- Robotics
- MachineUpgrading
- ReverseEngineering # Nyanotrasen - Reverse Engineering guidebook
- type: guideEntry
id: Technologies

View File

@ -43,4 +43,4 @@
Cable: 4
- type: ReverseEngineering
recipes:
- DeepFryerMachineCircuitboard
- DeepFryerMachineCircuitboard

View File

@ -62,9 +62,9 @@
range: 5
sound:
path: /Audio/Ambience/Objects/revMachine_ambience.ogg
# - type: GuideHelp
# guides:
# - ReverseEngineering
- type: GuideHelp
guides:
- ReverseEngineering
- type: Appearance
- type: GenericVisualizer
visuals:

View File

@ -0,0 +1,4 @@
- type: guideEntry
id: ReverseEngineering
name: guide-entry-reverse-engineering
text: "/ServerInfo/Nyanotrasen/Guidebook/Epistemics/ReverseEngineering.xml"

View File

@ -0,0 +1,36 @@
<Document>
# Reverse Engineering
<GuideEntityEmbed Entity="ReverseEngineeringMachine"/>
The reverse engineering machine allows salvage to bootstrap their way into unlocking powerful lathe recipes that are otherwise unacquirable.
<GuideEntityEmbed Entity="AdvancedMatterBinStockPart"/>
<GuideEntityEmbed Entity="NanoManipulatorStockPart"/>
The machine's power is very limited without upgrades to its matter bin and manipulator.
The matter bin increases its analysis power and the manipulator decreases the chance of destruction with safety turned off.
## Operation
The machine will only accept items it can reverse engineer. Currently this is most circuit boards and machine parts, but it accepts quite a variety of objects.
It does not accept firearms and never will.
To use the machine, insert an item and use the buttons on the left.
- [color=#a4885c]Analyze:[/color]
This starts a new reverse engineering attempt.
- [color=#a4885c]Safety:[/color]
With safety off, you have more analysis power, but there is a chance to destroy the item.
- [color=#a4885c]AutoProbe:[/color]
This will automatically start a new attempt when the last one ends.
- [color=#a4885c]Stop:[/color]
Stops the current attempt.
- [color=#a4885c]Item:[/color]
Ejects the item.
</Document>