From 8ef8cf609837ac4babdd890127edc199fd37c0d0 Mon Sep 17 00:00:00 2001 From: Ed Date: Wed, 24 Apr 2024 20:28:25 +0300 Subject: [PATCH] add wallmounts things --- .../Structures/Decoration/wallmount.yml | 98 ++++++++++++++++++ .../Decoration/wallmount_decor.rsi/boards.png | Bin 0 -> 625 bytes .../Decoration/wallmount_decor.rsi/meta.json | 27 +++++ .../Decoration/wallmount_decor.rsi/vines.png | Bin 0 -> 777 bytes .../Decoration/wallmount_decor.rsi/web.png | Bin 0 -> 392 bytes .../Decoration/wallmount_decor.rsi/web2.png | Bin 0 -> 434 bytes 6 files changed, 125 insertions(+) create mode 100644 Resources/Prototypes/_CP14/Entities/Structures/Decoration/wallmount.yml create mode 100644 Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/boards.png create mode 100644 Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/meta.json create mode 100644 Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/vines.png create mode 100644 Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/web.png create mode 100644 Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/web2.png diff --git a/Resources/Prototypes/_CP14/Entities/Structures/Decoration/wallmount.yml b/Resources/Prototypes/_CP14/Entities/Structures/Decoration/wallmount.yml new file mode 100644 index 0000000000..ddfec45ee4 --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Structures/Decoration/wallmount.yml @@ -0,0 +1,98 @@ +- type: entity + id: CP14WallmountWoodenBoards + parent: + - BaseStructure + - CP14BaseWooden #TODO: make BaseFlammable + name: wooden boards + description: Nailed to the wall with wooden boards. Why? It's not clear. + placement: + mode: SnapgridCenter + components: + - type: Sprite + sprite: _CP14/Structures/Decoration/wallmount_decor.rsi + layers: + - state: boards + - type: Damageable + damageContainer: Inorganic + damageModifierSet: Wood + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "0.49,0.49,-0.49,0.36" + density: 60 + mask: + - MachineMask + layer: + - MidImpassable + - LowImpassable + +- type: entity + id: CP14WallmountWeb + parent: + - BaseStructure + - CP14BaseWooden #TODO: make BaseFlammable + name: web + description: Cobwebs clinging to dark corners with tiny spiders in them. + placement: + mode: SnapgridCenter + components: + - type: Sprite + sprite: _CP14/Structures/Decoration/wallmount_decor.rsi + layers: + - state: web + map: ["random"] + - type: Damageable + damageContainer: Inorganic + damageModifierSet: Wood + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "0.49,0.49,-0.49,0.36" + density: 60 + mask: + - MachineMask + layer: + - MidImpassable + - LowImpassable + hard: false + - type: RandomSprite + available: + - random: + web: "" + web2: "" + +- type: entity + id: CP14WallmountVines + parent: + - BaseStructure + - CP14BaseWooden #TODO: make BaseFlammable + name: vines + description: The timid shoots of weeds trying to climb the wall upward toward the light + placement: + mode: SnapgridCenter + components: + - type: Sprite + sprite: _CP14/Structures/Decoration/wallmount_decor.rsi + layers: + - state: vines + - type: Damageable + damageContainer: Inorganic + damageModifierSet: Wood + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "0.49,0.49,-0.49,0.36" + density: 60 + mask: + - MachineMask + layer: + - MidImpassable + - LowImpassable + hard: false + \ No newline at end of file diff --git a/Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/boards.png b/Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/boards.png new file mode 100644 index 0000000000000000000000000000000000000000..f4e484085c636cc784235fd484c7f1321f793585 GIT binary patch literal 625 zcmeAS@N?(olHy`uVBq!ia0vp^4nTZ>gAGV-xtR*07>k44ofy`glX=O&z@+Wz;uumf z=k49ydBTn&Y!8yPH8@!{cqevDX=92iZ|Un3dU3*f$rDYD%JzU=PdN|Fy{{<5Dj2jx zWX6eB%`;ZB_ukm~;LNSxwY^ifPPKi0f96Eh{xW5tB@9u^itnrc`Sb9qiqfMeIYRUI z)$RZOSv*(gwS0Q7*x#yuW_A3(K0bavKXvXew|6oQv5VEyFCTt<@ypkP-}ZOgzBu1! zdT=Xq#FdP|eJ3M73-<2(H1m?ooa-4cv&5dvwzJ*8;?J3n1v6^yJug*KvfF1l^^(5`RZp?g;6QN%U`@Wy?v^L9z+u?N$#z+#@RelF{r5}E)T8yk`U literal 0 HcmV?d00001 diff --git a/Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/meta.json b/Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/meta.json new file mode 100644 index 0000000000..cbf9212d69 --- /dev/null +++ b/Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/meta.json @@ -0,0 +1,27 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "By jaraten(discord)", + "size": { + "x": 32, + "y": 96 + }, + "states": [ + { + "name": "boards", + "directions": 4 + }, + { + "name": "web", + "directions": 4 + }, + { + "name": "web2", + "directions": 4 + }, + { + "name": "vines", + "directions": 4 + } + ] +} diff --git a/Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/vines.png b/Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/vines.png new file mode 100644 index 0000000000000000000000000000000000000000..374fbc3e13100429e4b1a3383c39d09d99f04289 GIT binary patch literal 777 zcmeAS@N?(olHy`uVBq!ia0vp^4nTZ>gAGV-xtR*07>k44ofy`glX=O&z;xKt#WAE} z&fB|t%Vryh9QepR+4$HK!4oHs97#-0OG|mab65GBJ2#{Im;2d$Q)aPg^OY@HH!-zi zu9;@m*Z;Z)6-4xYHO)C8#0WH(fq}!vqBsJ!JAK6@H}R8^X>g{?x$HC1Ci7RFJG1tA&8}s-dV0rr zKSX^fa|r(FJNNao%^Z6x?#}aCyfs0O-}e4G&0T-z)rb|Y6}hvjURU3GZS}nJgW9>1 zi;w4>On&9I)AYb?X@#Q7!m`T+-~DB0Th*_U{P8SDVpIEap!whP?e+V<-&MH#xm$(5 zTuJHCvcSrjv)(=v2rW%}v+#>?(+}b0+^b%l$w+u7vEDJ`!|k(*ml)RnWjY(~qEfkI z_TI$q;&#imkG`E>Y4+z@McvxqFOF-Z%QCY%J9|QF=B_!STc{gb>s4ZWeU-kES!e&= zKmH4rJ}FBmmc148@_a8>S(Uuii5qXvZk@7iw)2+zvi{;L=jT?=l=6Mdw)wv7(~mFz zec8Fn7|1+&F8IFoG?AyNS$E`WSFO!@u3^+Cq?BBI(Pqo!D>YjlZ=T)oZu?~>aJVB8 z9}4&U4gdPxZ`-a^yG_qBmw)`kcH`ia)GWFA@0PxA+sqm68!b^CbgZs?&YTZdx3pf= zv@Om=(hg;Qi2s?FyHSw(u?=M}o0&DFZBx^Ci)I4*S)#p8Bd`-EeDDLrTw znB90x=4Nq$^GyHj<1*cQ)~SeJVh+5|`&cPIPN#0qgjMH!_V|T4-edWz*BJ4nrt@sT zoTP7sidXil>IWa*-QaQKJR?V3hw}m}TlSW$xocFmi97Li?&CkAs9&?^uFRqxncTvc sx+lEao%pAF!e7zQg&c-yDDGwa#d?YL?C;mfw(~&Zp00i_>zopr0Eio5rT_o{ literal 0 HcmV?d00001 diff --git a/Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/web.png b/Resources/Textures/_CP14/Structures/Decoration/wallmount_decor.rsi/web.png new file mode 100644 index 0000000000000000000000000000000000000000..fae4a9be428e2daadd02a45a28819c2e7750deaa GIT binary patch literal 392 zcmeAS@N?(olHy`uVBq!ia0vp^4nTZ>gAGV-xtR*07>k44ofy`glX(ebJ9)Y|hE&XX zd-q^plYs!kg;SmX|C=1{{NnuVnr%+jksY&L3lhuk?UrD^G;^U>4yP_F&;SO8hVR`S zWhFd^wH@DxR;>Lj*M9Ta38p!V*n1vVL`r+C{jAw^|FD2yu5b9A&u{u4SKNFYG27MU zcV<%U{>)w5Oy^f$yJiyG|K8QMCGJj*|xBprm{bPa3z^H`g|C_>2Xe%w^b!RW!vT(|r{>eL@?l~?T`ESwD&u*JU z6-z(eUBnT|9dL?U+xM^d_NRx8;uv=UT`=YD{?l`;85kzSKC5?WJL;|JeC*gAGV-xtR*07>k44ofy`glX(eb=Xkm}hE&XX zd)GU!*+76HK>gJrcE_FnBbCAg*+2H_-Rfjmn&ov#!RUSN33h?x^9pr`mI93cn&=#r z{rKALg7uHDNpIL%pWU!G<=|!M1zXMd4nMuQx_0kYTZz+O|60bg?FoIq{^h}lW$({F zj{C-F?y6AFsU(#f#k4!8B~@Vm+51t_(&Md$01_pDpb3{AbjCuVI2p!l}rVy6tY+xh6MmMfdP*y<`xxukF^U z2sXjZLK;uCMK^WM=#MSeTKYt*xnt{VzkCy?J9DS$$NcWF-}NpeYi;{mv$v)|D$-rQ z{p9Hcsn3Sa>;EsgR^<`=+xvR$!CMbazvo^17-_sfgxzVv#(&M+N>6_`c^uQ(!6!WL zpM^s5hr}|K87q0x)SW*jFPpq5a?MR|g}ryOiQvymC<#3vs)O*Y*wV0QK71BrOL L`njxgN@xNA`DwT= literal 0 HcmV?d00001