From 6972bc26a703954921b32dd190db69192103ce10 Mon Sep 17 00:00:00 2001 From: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com> Date: Sat, 20 Jul 2024 05:18:34 +0200 Subject: [PATCH] Directional Fans (#27772) * Initial commit * Description update * Updated texture --- .../Piping/Atmospherics/special.yml | 29 ++++++++++++++++++ .../Atmospherics/directionalfan.rsi/icon.png | Bin 0 -> 16522 bytes .../Atmospherics/directionalfan.rsi/meta.json | 29 ++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 Resources/Textures/Structures/Piping/Atmospherics/directionalfan.rsi/icon.png create mode 100644 Resources/Textures/Structures/Piping/Atmospherics/directionalfan.rsi/meta.json diff --git a/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/special.yml b/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/special.yml index 4eec014f11..eff831fa9e 100644 --- a/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/special.yml +++ b/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/special.yml @@ -25,3 +25,32 @@ - type: Tag tags: - SpreaderIgnore + +- type: entity + id: AtmosDeviceFanDirectional + name: directional fan + description: A thin fan, stopping the movement of gases across it. + placement: + mode: SnapgridCenter + components: + - type: Transform + anchored: true + - type: Physics + bodyType: Static + - type: Sprite + sprite: Structures/Piping/Atmospherics/directionalfan.rsi + state: icon + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.48,-0.48,0.48,-0.40" + - type: Airtight + noAirWhenFullyAirBlocked: false + airBlockedDirection: + - South + - type: Clickable + - type: Tag + tags: + - SpreaderIgnore diff --git a/Resources/Textures/Structures/Piping/Atmospherics/directionalfan.rsi/icon.png b/Resources/Textures/Structures/Piping/Atmospherics/directionalfan.rsi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..577175edcd281daf52757d9005f3b4be3bc4794c GIT binary patch literal 16522 zcmeI4e{j>*9l#Y}nVSJ)Sv%-p;5sl^!ItFT7Pdng2a+qM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(Ajho5QRRye=F9?*-q=^KJs~6f2qB#ZC;XngQNTejLN@^nv|9Ff2%5SVswlQQI+W zBEPlxt@#)>dRLw!%N0I<<>&i-yNP>qF6N#oymr@CuzT0`)ST1R?W^uRoqzbbb=P-g zYtDH#DNb*_e2$s_rp4Jh9X~m<^^N_1tempoM;`^+)0NoBx1)Qp_s_3*K6O#k^}daPv*q;_Z7o+P9IrpDU=&#$-Pxc~^^$Kg1sQ4Y3K7)`soAN ziap(rVLCgW5<-nRUe+5w4}#ed;hiCJ>54x zEx3-Y?#cZ18Pph^-RSkM7Eo0&#Zp1@YbY% zb&;F9GfVb4t9H!N-gjl~TwjCY#{K5E7w$Y*-TX?4x3AdqU|}{m8fSTVoq@RT9T!pX z#=@^;-f?}BQFiLUv==tJUVLueJZz-f7;Mn?`%`!8pS7)No!ZcQxBkV;o39HSoByaUVF*5Z~FQvZ(rU` zWUeZ!T>gjGTd>_z>$Xx@pRl4Sr;&a*>X5Eb%$1JjXMh%&5IrXW%Ji_iWo&Q#8K!hj?EAuiV%?trD-fQggSfa%1?P*?1D>VvO8@bquK*7$JWM@7BqosAb#4vz08#-78EH}4PE rckfNJn-#U-p9N|$|H9s}*t_3+K)CStye-nd1?1%{a=iLb$-4gl(nVV- literal 0 HcmV?d00001 diff --git a/Resources/Textures/Structures/Piping/Atmospherics/directionalfan.rsi/meta.json b/Resources/Textures/Structures/Piping/Atmospherics/directionalfan.rsi/meta.json new file mode 100644 index 0000000000..217a9f3d78 --- /dev/null +++ b/Resources/Textures/Structures/Piping/Atmospherics/directionalfan.rsi/meta.json @@ -0,0 +1,29 @@ +{ + "version": 1, + "license": "CC-BY-NC-SA-3.0", + "copyright": "Made by SlamBamActionman", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon", + "directions": 4, + "delays":[ + [ + 0.01,0.01,0.01,0.01 + ], + [ + 0.01,0.01,0.01,0.01 + ], + [ + 0.01,0.01,0.01,0.01 + ], + [ + 0.01,0.01,0.01,0.01 + ] + ] + } + ] +} -- 2.51.2