From fb47c4c83bbf8da588520df1886b73010f394a0b Mon Sep 17 00:00:00 2001 From: Guilherme Ornel <86210200+joshepvodka@users.noreply.github.com> Date: Fri, 22 Dec 2023 01:21:01 -0300 Subject: [PATCH] Added ashtrays (#22837) added --- .../Smokeables/Cigarettes/cigarette.yml | 5 ++ .../Consumable/Smokeables/Cigars/cigar.yml | 5 ++ .../Entities/Objects/Decoration/ashtray.yml | 30 ++++++++++++ Resources/Prototypes/tags.yml | 3 ++ .../Objects/Decoration/ashtray.rsi/icon-0.png | Bin 0 -> 308 bytes .../Objects/Decoration/ashtray.rsi/icon-1.png | Bin 0 -> 331 bytes .../Decoration/ashtray.rsi/icon-10.png | Bin 0 -> 457 bytes .../Objects/Decoration/ashtray.rsi/icon-2.png | Bin 0 -> 338 bytes .../Objects/Decoration/ashtray.rsi/icon-3.png | Bin 0 -> 361 bytes .../Objects/Decoration/ashtray.rsi/icon-4.png | Bin 0 -> 376 bytes .../Objects/Decoration/ashtray.rsi/icon-5.png | Bin 0 -> 379 bytes .../Objects/Decoration/ashtray.rsi/icon-6.png | Bin 0 -> 374 bytes .../Objects/Decoration/ashtray.rsi/icon-7.png | Bin 0 -> 372 bytes .../Objects/Decoration/ashtray.rsi/icon-8.png | Bin 0 -> 395 bytes .../Objects/Decoration/ashtray.rsi/icon-9.png | Bin 0 -> 436 bytes .../Objects/Decoration/ashtray.rsi/meta.json | 44 ++++++++++++++++++ 16 files changed, 87 insertions(+) create mode 100644 Resources/Prototypes/Entities/Objects/Decoration/ashtray.yml create mode 100644 Resources/Textures/Objects/Decoration/ashtray.rsi/icon-0.png create mode 100644 Resources/Textures/Objects/Decoration/ashtray.rsi/icon-1.png create mode 100644 Resources/Textures/Objects/Decoration/ashtray.rsi/icon-10.png create mode 100644 Resources/Textures/Objects/Decoration/ashtray.rsi/icon-2.png create mode 100644 Resources/Textures/Objects/Decoration/ashtray.rsi/icon-3.png create mode 100644 Resources/Textures/Objects/Decoration/ashtray.rsi/icon-4.png create mode 100644 Resources/Textures/Objects/Decoration/ashtray.rsi/icon-5.png create mode 100644 Resources/Textures/Objects/Decoration/ashtray.rsi/icon-6.png create mode 100644 Resources/Textures/Objects/Decoration/ashtray.rsi/icon-7.png create mode 100644 Resources/Textures/Objects/Decoration/ashtray.rsi/icon-8.png create mode 100644 Resources/Textures/Objects/Decoration/ashtray.rsi/icon-9.png create mode 100644 Resources/Textures/Objects/Decoration/ashtray.rsi/meta.json diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigarettes/cigarette.yml b/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigarettes/cigarette.yml index 3543db2ed1..ab435f3645 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigarettes/cigarette.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigarettes/cigarette.yml @@ -59,6 +59,11 @@ solutions: smokable: maxVol: 20 + - type: Tag + tags: + - Cigarette + - Trash + - Burnt - type: entity id: CigaretteSyndicate diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigars/cigar.yml b/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigars/cigar.yml index 3495ae26f9..dc8d4eaf3c 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigars/cigar.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigars/cigar.yml @@ -34,6 +34,11 @@ solutions: smokable: maxVol: 20 + - type: Tag + tags: + - Cigar + - Trash + - Burnt - type: entity id: CigarGold diff --git a/Resources/Prototypes/Entities/Objects/Decoration/ashtray.yml b/Resources/Prototypes/Entities/Objects/Decoration/ashtray.yml new file mode 100644 index 0000000000..613b6cc67c --- /dev/null +++ b/Resources/Prototypes/Entities/Objects/Decoration/ashtray.yml @@ -0,0 +1,30 @@ +- type: entity + id: Ashtray + parent: BaseItem + name: ashtray + description: Proven by scientists to improve the smoking experience by 37%! + components: + - type: Sprite + sprite: Objects/Decoration/ashtray.rsi + layers: + - state: icon-0 + map: ["enum.StorageFillLayers.Fill"] + - type: Item + size: Small + - type: StaticPrice + price: 1 + - type: Storage + whitelist: + tags: + - Burnt + maxItemSize: Tiny + grid: + - 0,0,9,0 + - type: ContainerContainer + containers: + storagebase: !type:Container + - type: StorageFillVisualizer + fillBaseName: icon + maxFillLevels: 10 + - type: Appearance + - type: Dumpable \ No newline at end of file diff --git a/Resources/Prototypes/tags.yml b/Resources/Prototypes/tags.yml index 8cb13ab8b6..5be37f243d 100644 --- a/Resources/Prototypes/tags.yml +++ b/Resources/Prototypes/tags.yml @@ -199,6 +199,9 @@ - type: Tag id: BoxHug +- type: Tag + id: Burnt + - type: Tag id: BrassInstrument diff --git a/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-0.png b/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-0.png new file mode 100644 index 0000000000000000000000000000000000000000..3bc1eafb97b363d9e539b40c2916c8d4ad026dce GIT binary patch literal 308 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz&H|6fVg?5OL=a|NVZS^RDEQ3N z#W5s;GkH((bH2k4Ov@U#$fSH{t z?$7^UZ?sJcxM-9x!=~8o@b~xe2l*OXSynD|DB^f=#6P8`%|(h5q8&qW6x7w# z{RdeJvm8c)#6f-or43X+;^&d<08nuINIqwnIB_C|BS^IzixLLV%y2|3AnPu()5pZ9mu>@7}&*U^R?lc)4c+11M@LDk{KgQ2mIX z$4ID22FlMMH6WigH8nAIbaecOB|H!fN(&!9enjyxa_LFPe4-tI><^eDKn_9{Cx=bY z0pu7;iXNiU04WBNs&>=?qaiRF0;3@?;2{72u8xyvE&J2R00000NkvXXu0mjfnqjkx literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-2.png b/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-2.png new file mode 100644 index 0000000000000000000000000000000000000000..1800a7eea03802f929339cce53f7ed1ada022763 GIT binary patch literal 338 zcmV-Y0j>UtP)M1BS^n=QE_lg@HYP`^F`*0)ga22nzm3 zcdq=O-c!e*AQlzJh}tW}||V3d6g%uV7q~Xp%z!WV*VZ zIpfVsCsE=YBu0|WP{m|90OkmCEJW8swgb=&Lgo`He2~>LlA;({BemEhXG3aP3^Qlc k0iz)>8UmvsFyJ8o0N>_Hm8J?ekpKVy07*qoM6N<$g2S7LtN;K2 literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-3.png b/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-3.png new file mode 100644 index 0000000000000000000000000000000000000000..a82fd0cf8f22aa6e2d7f75f759a9ae226937c040 GIT binary patch literal 361 zcmV-v0ha!WP)lWCwtBe*gBB z!PP4WZis@C3d6g%ui$)A7-Ts>UC*5H=B1M;i47!1ip4OsWH|t&nOqBD7Q<+=9RM=` z8%?P2LDs`aiehAq)MArW4p7T-kU66c7!85Z5Eu=C0S^HH$W2g2(zRNO00000NkvXX Hu0mjf>8z2a literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-4.png b/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-4.png new file mode 100644 index 0000000000000000000000000000000000000000..92169bb6c551033f6a277cdb1a6304edfae9fb2d GIT binary patch literal 376 zcmV-;0f+vHP)0@AqR9#YkY&ggg4jCo6B%(?f=`?*2Y@WQ^h=I`pP&E#ve~`= zt@9Ru?O0yv{U3z!S%@x2mIFYR3QDRltXR5;;l|^SU^Blw_5oWQ*}j#ekRaIspy1YH zd&CeC9mjC|)L8~gGh>GQ{CtMZ)BZD%YB|W|Ea*W(hz|<>M|ZCLpWai)pdri8Ai~cD zrmY=232DVDPqG6*rhNbQmBH032yUQ)k_yASx3A!QQW#`8KwZzA@#dwID2WXuMvBES zwPZN}q?ud`VHU$^vK;_302@t8JCl(V#n>#PRE*?oNU4SB`bQlw8UmvsFd6~_9s&Rs WwNXz7x8C&t00000fhdEP)0@AqR9#YkY&ggg4jCo6B%(?f=`?*2Y@WQ^h=I`pP&E#ve~`= zt@9Ru?O0yv{U3z!S%@x2mIFYR3QDRltXR5;;l|^SU^Blw_5oWQ*}j#ekRaIspy1YH zd&CeC9mjC|)L8~DE-r@r{CtMZ)BZD%YB|W|Bs%~U{Cw7_4AXn+7&K)08QR<1!L)U9 zCwk}-#b+T(6`G>&-@Y=qdIf<+k4{PevI`jAy?uqIia0LGApkN~UC*2mWFZK%8b*O> zkQi}RqN*Y*1YnLpHHthQ*$%*G9VzWhMp6{xvy@ypveE##mSNL3>VVM@7!85Z5E$?f Z006;VS1Nxb(bNC{002ovPDHLkV1iQtn?e8p literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-6.png b/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-6.png new file mode 100644 index 0000000000000000000000000000000000000000..77181b432eb7705116ef567343c6bf0a86185a67 GIT binary patch literal 374 zcmV-+0g3*JP)0@AqR9#YkY&ggg4jCo6B%(?f=`?*2Y@WQ^h=I`pP&E#ve~`= zt@9Ru?O0yv{U3z!S%@x2mIFYR-gx|xp|Y})0Yrnqm&ZO}izC~&k`xjoI{*~idTfsv zCQh8l@a@|-1}-ixhWz||hRxIdGmvUI$l)YA02KUu)~O8Bd+Hc8WceA|+uOmkb#f=j zJdyzm$vS`zOlxECgXz!zeHf5+lb2 zWQ73C5#(5iu7_*~pc{nDC#9XqNQz=)OQ^*rITujNVwgFj4j2uA(GVC7fdLNz0Jgna UDxHyz2LJ#707*qoM6N<$f;!NcHvj+t literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-7.png b/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-7.png new file mode 100644 index 0000000000000000000000000000000000000000..c42784db40c4b06709eef6080e4dbbcdb6aa083e GIT binary patch literal 372 zcmV-)0gL{LP)0@AqR9#YkY&ggg4jCo6B%(?f=`?UpCm3hkY&qe_x@j1SNETb zi;JPXeF4MAj~^M9S9-%jfoR8&6#^j3Z#@3U0J8ksw{HxUm6Z%%9{YeTk8IycwB;ZV zlI#FbaO<%>VwgB_BG_`6BQ{U_&p@i>WH|s7{Cw7_4AXn+7&K)0fx+Jnrmd4Zam5&3 zakA3D_itYrT)l$81|OZ20Av?1ynFi!uSK{dNsa=LLF#(uj35g^nAI=}OoPO5S%OcT ztPp@X0-wRe%8~5=d=`+>&SWG-F+NMll_M(+kZTz>eWMN-4S~@R7!82|4*>vUI$V(| SyqyyO00000@AqR9#YkY&ggg4jCo6B%(?f=`?UpCm3hkY&qe_x@j1SNETb zi;JPXeF4MAj~^M9S9-%jfoR8&6#^j3Z#@3U0J8ksw{HxUm6Z%%9{YeTk8IycwB;ZV zlI#FbaO<%>VwgB_BG_`6BQ{U_&p@i>WH|s7{Cw7_4AXn+7&K)0fx+Jnrmd4Zam5&3 zagsv-WZL&{Ul~AA;OZ5`aCA}vn3hw~At~r#t|B=R)zDF)S(e=W74x`C(08BGAXo3!)h9&sSAS)5# pGmuodQ3s5Mz-S1JhQNS_0062ka`!I;CoBK}002ovPDHLkV1mrKoyPzG literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-9.png b/Resources/Textures/Objects/Decoration/ashtray.rsi/icon-9.png new file mode 100644 index 0000000000000000000000000000000000000000..250c2ef4884c95cbf4dab1933b9319222648acb0 GIT binary patch literal 436 zcmV;l0ZaagP)0@AqR9#YkY&ggg4jCo6B%(?f=`?UpCm3hkY&qe_x@j1SNETb zi;JPXeF4MAj~^M9S9-%jfoR8&6#^j3Z#@3U0J8ksw{HxUm6Z%%9{YeTk8IycwB;ZV zlI#FbaO<%>VwgB_BG_`6BQ{U_&p@i>L^}XEzE|DlXW+9=WtiSm$Dkq04-EcxFm0XO zi7UqNiW8LvKyeOo1jurbkH3HW$^eRj-1J0-qmvRCT)heyM5Pr;3VN8Uh>8M!etvK& zhXwcgZTrFc-@Sdsz-k!9@N&-t2INqJ8BPpMlmmb%oUsm=;wvgD7-5b8(M#8CWiYdK zV*rH^x!I7BP@51`prEVi=;-(lO8reuO=JZ-a>x*L0J36Qu!)KST38G-bJPK&Aut*O eqaiThApih6DTGStABi6T0000