From 2a6e6e8c5a4d44497428f9e2906200da833df2b3 Mon Sep 17 00:00:00 2001 From: Eugeny Date: Sat, 28 Dec 2024 09:14:49 +0400 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=A3=D0=B4=D0=B0=D0=BB=D1=8F=D0=B5?= =?UTF-8?q?=D0=BC=20=D0=B8=D0=B7=20=D0=A0=D0=A0=D0=A2=20=D0=B2=D0=B5=D0=BD?= =?UTF-8?q?=D1=82=D0=B8=D0=BB=D1=8F=D1=82=D0=BE=D1=80=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ADT/Entities/Objects/Tools/tools.yml | 2 +- .../Construction/Graph/utilities/tiny_fan.yml | 52 +++++++++++++++++++ .../ADT/Recipes/Construction/utilities.yml | 28 ++++++++++ .../Piping/Atmospherics/special.yml | 10 ++++ 4 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 Resources/Prototypes/ADT/Recipes/Construction/Graph/utilities/tiny_fan.yml create mode 100644 Resources/Prototypes/ADT/Recipes/Construction/utilities.yml diff --git a/Resources/Prototypes/ADT/Entities/Objects/Tools/tools.yml b/Resources/Prototypes/ADT/Entities/Objects/Tools/tools.yml index 1964c47c86d..8ea5b4895f8 100644 --- a/Resources/Prototypes/ADT/Entities/Objects/Tools/tools.yml +++ b/Resources/Prototypes/ADT/Entities/Objects/Tools/tools.yml @@ -24,7 +24,7 @@ - ADTGasVentPump - ADTGasValve - ADTGasVentScrubber - - ADTAtmosDeviceFanTiny + # - ADTAtmosDeviceFanTiny Удалено в целях баланса - ADTGasPassiveGate - ADTGasDualPortVentPump - ADTSignalControlledValve diff --git a/Resources/Prototypes/ADT/Recipes/Construction/Graph/utilities/tiny_fan.yml b/Resources/Prototypes/ADT/Recipes/Construction/Graph/utilities/tiny_fan.yml new file mode 100644 index 00000000000..1545f984d56 --- /dev/null +++ b/Resources/Prototypes/ADT/Recipes/Construction/Graph/utilities/tiny_fan.yml @@ -0,0 +1,52 @@ +- type: constructionGraph + id: ADTFan + start: start + graph: + - node: start + edges: + - to: litleFan + steps: + - material: Plasteel + amount: 10 + doAfter: 5 + - to: directionalFan + steps: + - material: Plasteel + amount: 10 + doAfter: 5 + + - node: litleFan + entity: AtmosDeviceFanTiny + edges: + - to: start + # conditions: + # - !type:EntityAnchored + # anchored: false + completed: + - !type:SpawnPrototype + prototype: SheetPlasteel1 + amount: 6 + - !type:DeleteEntity + steps: + - tool: Screwing + doAfter: 5 + - tool: Welding + doAfter: 5 + + - node: directionalFan + entity: AtmosDeviceFanDirectional + edges: + - to: start + # conditions: + # - !type:EntityAnchored + # anchored: false + completed: + - !type:SpawnPrototype + prototype: SheetPlasteel1 + amount: 6 + - !type:DeleteEntity + steps: + - tool: Screwing + doAfter: 5 + - tool: Welding + doAfter: 5 diff --git a/Resources/Prototypes/ADT/Recipes/Construction/utilities.yml b/Resources/Prototypes/ADT/Recipes/Construction/utilities.yml new file mode 100644 index 00000000000..72bb82139d8 --- /dev/null +++ b/Resources/Prototypes/ADT/Recipes/Construction/utilities.yml @@ -0,0 +1,28 @@ +# FAN +- type: construction + name: little fan + id: ADTLitleFan + description: Fan to hold the air in and space outside. + graph: ADTFan + startNode: start + targetNode: litleFan + category: construction-category-utilities + placementMode: SnapgridCenter + canBuildInImpassable: false + icon: + sprite: Structures/Piping/Atmospherics/tinyfan.rsi + state: icon + +- type: construction + name: little directional fan + id: ADTLitleDirectionalFan + description: Fan to hold the air in and space outside. + graph: ADTFan + startNode: start + targetNode: directionalFan + category: construction-category-utilities + placementMode: SnapgridCenter + canBuildInImpassable: false + icon: + sprite: Structures/Piping/Atmospherics/directionalfan.rsi + state: icon diff --git a/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/special.yml b/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/special.yml index 1b100af47e6..a737b6c860e 100644 --- a/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/special.yml +++ b/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/special.yml @@ -31,6 +31,11 @@ delay: 2 fx: EffectRCDDeconstruct2 # ADT-RPD-End + # ADT-Tweak-Start + - type: Construction + graph: ADTFan + node: litleFan + # ADT-Tweak-End - type: entity id: AtmosDeviceFanDirectional @@ -60,3 +65,8 @@ - type: Tag tags: - SpreaderIgnore + # ADT-Tweak-Start + - type: Construction + graph: ADTFan + node: directionalFan + # ADT-Tweak-End