From 41f33bf005ea46c0d703869ece16fcec54d8b8da Mon Sep 17 00:00:00 2001 From: Nim <128169402+Nimfar11@users.noreply.github.com> Date: Sat, 15 Mar 2025 16:30:40 +0200 Subject: [PATCH] Potions pouch (#1026) * pouch * loadout * fix * fix name * fix name duo * loadouts2 --- .../Locale/en-US/_CP14/loadouts/loadout.ftl | 1 + .../Locale/ru-RU/_CP14/loadouts/loadout.ftl | 1 + .../_CP14/Entities/Clothing/Belt/pouch.yml | 33 ++++++++++++++++++ .../_CP14/Loadouts/Jobs/alchemist.yml | 13 +++++++ .../_CP14/Loadouts/role_loadouts.yml | 1 + .../Belt/potions_pouch.rsi/equipped-BELT1.png | Bin 0 -> 715 bytes .../Belt/potions_pouch.rsi/equipped-BELT2.png | Bin 0 -> 642 bytes .../Belt/potions_pouch.rsi/fill-1.png | Bin 0 -> 281 bytes .../Belt/potions_pouch.rsi/fill-2.png | Bin 0 -> 339 bytes .../Clothing/Belt/potions_pouch.rsi/icon.png | Bin 0 -> 464 bytes .../Clothing/Belt/potions_pouch.rsi/meta.json | 28 +++++++++++++++ 11 files changed, 77 insertions(+) create mode 100644 Resources/Prototypes/_CP14/Entities/Clothing/Belt/pouch.yml create mode 100644 Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/equipped-BELT1.png create mode 100644 Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/equipped-BELT2.png create mode 100644 Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/fill-1.png create mode 100644 Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/fill-2.png create mode 100644 Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/icon.png create mode 100644 Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/meta.json diff --git a/Resources/Locale/en-US/_CP14/loadouts/loadout.ftl b/Resources/Locale/en-US/_CP14/loadouts/loadout.ftl index 5fb56fe888..2db4c83977 100644 --- a/Resources/Locale/en-US/_CP14/loadouts/loadout.ftl +++ b/Resources/Locale/en-US/_CP14/loadouts/loadout.ftl @@ -23,6 +23,7 @@ cp14-loadout-apprentice-bundle = Apprentice bundle cp14-loadout-alchemist-head = Alchemist's head cp14-loadout-alchemist-cloak = Alchemist's cloak cp14-loadout-alchemist-eyes = Alchemical goggles +cp14-loadout-alchemist-belt = Alchemist's belt # Blacksmith diff --git a/Resources/Locale/ru-RU/_CP14/loadouts/loadout.ftl b/Resources/Locale/ru-RU/_CP14/loadouts/loadout.ftl index 54f5041b1a..40d70111b8 100644 --- a/Resources/Locale/ru-RU/_CP14/loadouts/loadout.ftl +++ b/Resources/Locale/ru-RU/_CP14/loadouts/loadout.ftl @@ -23,6 +23,7 @@ cp14-loadout-apprentice-bundle = Набор подмастерья cp14-loadout-alchemist-head = Шляпа алхимика cp14-loadout-alchemist-cloak = Накидка алхимика cp14-loadout-alchemist-eyes = Алхимические очки +cp14-loadout-alchemist-belt = Пояс алхимика # Blacksmith diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/Belt/pouch.yml b/Resources/Prototypes/_CP14/Entities/Clothing/Belt/pouch.yml new file mode 100644 index 0000000000..f291738d6d --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Clothing/Belt/pouch.yml @@ -0,0 +1,33 @@ +- type: entity + parent: ClothingBeltStorageBase + id: CP14ClothingBeltPouchPotions + name: potions pouch + description: A pouch for storing and storing potions, they definitely won't break here. + categories: [ ForkFiltered ] + components: + - type: Sprite + sprite: _CP14/Clothing/Belt/potions_pouch.rsi + layers: + - state: icon + - map: [ "enum.StorageContainerVisualLayers.Fill" ] + visible: false + - type: Clothing + equipDelay: 0.25 + unequipDelay: 0.25 + quickEquip: false + breakOnMove: false + slots: + - belt + - type: Storage + grid: + - 0,0,5,1 + maxItemSize: Small + whitelist: + tags: + - CP14Vial + - type: ExplosionResistance + damageCoefficient: 0.8 + - type: Appearance + - type: StorageContainerVisuals + maxFillLevels: 2 + fillBaseName: fill- diff --git a/Resources/Prototypes/_CP14/Loadouts/Jobs/alchemist.yml b/Resources/Prototypes/_CP14/Loadouts/Jobs/alchemist.yml index 8cd0521057..8e9aaf2269 100644 --- a/Resources/Prototypes/_CP14/Loadouts/Jobs/alchemist.yml +++ b/Resources/Prototypes/_CP14/Loadouts/Jobs/alchemist.yml @@ -49,3 +49,16 @@ id: CP14ClothingEyesAlchemyMonocle equipment: eyes: CP14ClothingEyesAlchemyMonocle + +# Belt + +- type: loadoutGroup + id: CP14AlchemistBelt + name: cp14-loadout-alchemist-belt + loadouts: + - CP14ClothingBeltPouchPotions + +- type: loadout + id: CP14ClothingBeltPouchPotions + equipment: + belt2: CP14ClothingBeltPouchPotions diff --git a/Resources/Prototypes/_CP14/Loadouts/role_loadouts.yml b/Resources/Prototypes/_CP14/Loadouts/role_loadouts.yml index fa5076515f..aff9e7fc4d 100644 --- a/Resources/Prototypes/_CP14/Loadouts/role_loadouts.yml +++ b/Resources/Prototypes/_CP14/Loadouts/role_loadouts.yml @@ -40,6 +40,7 @@ - CP14AlchemistCloak # - CP14GeneralGloves - CP14GeneralShirt + - CP14AlchemistBelt # - CP14GeneralPants - CP14GeneralShoes - CP14GeneralBack diff --git a/Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/equipped-BELT1.png b/Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/equipped-BELT1.png new file mode 100644 index 0000000000000000000000000000000000000000..8c7a5eb0c73bc23f1628559090dcff7894601a86 GIT binary patch literal 715 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7T#lEV5;zRaSW+od^^k0BP39y&0kP? zlET&vX~8Ni%)LiFL|k@nXzg^lG>spWj)2pYy-w`9_w~cT8JNUp=aCmDO&Wvmy6?b<9x<=w1K%dcn`8%3mS8rr+!emjp^W z)W;te6g$be=lOZDC1;dMxHnqqcc1_LdUj@^qyGKgprc!>!xBH`9RGALCvKT|c;>&i z!4Hpm=HGd{aN!h(zyB^2 zXO*-3hC-1NAx?{q`SqucYIvKVogN8k3{CK`K0e(I+6!8zR*N;N_hw%c=SrCdH6 z{_XkB56-)LH!WvwM2`5U{twJwr9ZNmxkmc~Fe&n-MtG+A`Z8z%*&IL&0+)g(gD6i| KKbLh*2~7aVlsz{9 literal 0 HcmV?d00001 diff --git a/Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/equipped-BELT2.png b/Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/equipped-BELT2.png new file mode 100644 index 0000000000000000000000000000000000000000..37e785c0fa077f4bd43187e990d2b26bbe897e78 GIT binary patch literal 642 zcmV-|0)737P)Px%JV``BRCt{2+D~YbVH^kW@BX9=gi(iTmtG14!M6=fJV;k}cryutKrCu8M|f#4 zEYCYNb_!v|g6LqE22r*;Gz?l0EJ9K24|oXaU=BJM?~Jj=)4_O&rtrS{h%vsO>kGes z&-1>Q-wO~C5fKp)5mC41r$ShzPPoBR9h@QOuum_^pe)|yWxfzs-1t6a_8veIFD{-Zs z)MR8@92gpceRvR$AKZ}|J9y!$P{${l%>!6_bYDt*sUJa`<6wSgcNhBhj`6C}%<(>HmT0&Cr{VUw`(pkWR?>7s1p3lBsm#%hRQi${|lT zxupA6+XT?Oot?%owPOp#5;=8z!c};;F>?I-1^}SExdi}Nd;g)Yd%B>{Ej$+!sH`r- z6TD*i-vm=PVD;Xjw^S^A{`Kh<*2^`lmusljbz?mpiY0O#)NWcbm2R|qW^tkZ6qQh cBBK4`H$aEYJk^}VQvd(}07*qoM6N<$g1%cHdH?_b literal 0 HcmV?d00001 diff --git a/Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/fill-1.png b/Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/fill-1.png new file mode 100644 index 0000000000000000000000000000000000000000..6aa770b61b8b42dd6382fcde08e3157f6a69385a GIT binary patch literal 281 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=ffJW1cRKArYL(2@_?#Xv)D`su_BE9j~ibo9VpDg-sENmpPP5+MPn!N?3 zA%zUg25;ZnmU8C3Sn4gFf54JOBE++0|NfeUh|;$bH&*qY&zpPSX!YrihP?%ut6C1c z3;leclP|^c&Xd4n85})r2S5bFL`4RMC-#O4{(jS+0)51n8sVAd>&u`8WOD#92wV!D P45B<;{an^LB{Ts5VkvGV literal 0 HcmV?d00001 diff --git a/Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/fill-2.png b/Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/fill-2.png new file mode 100644 index 0000000000000000000000000000000000000000..195e6e037c1ad2bc4de3f12f5ced8ad95c47c604 GIT binary patch literal 339 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=hEVFfw?$IEF-UCMQU+E><*dM;57bF|{^S{E^B`+8)InqT!d?SC=f7_(BNLDxV1y5M?q`PMsu6UQ+ zI{1=dLgw=G`w}d+?4F&VQK2gScmB)?2RGC{^jjp$6Wno`ak^gYAHHH1A45N>7f1Fk z*E_hhu`2(7C5wcG?1t1Z@$3Jp&m_1D7&JfpKAoRu^*UK*>!inVyyJo&hU z!RKIK@%u!dIbYs|ewJ{Yq;R@WOKPeFZ{tM)FmXVTiNP-;;Fz`fiC$ok@TEq0ruq6Z YXaU(AKnwzxf+vG0Pgg&ebxsLQ045QJUjP6A literal 0 HcmV?d00001 diff --git a/Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/icon.png b/Resources/Textures/_CP14/Clothing/Belt/potions_pouch.rsi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..27753fe303157d9c9c0dcdefb7974e6dde9baa78 GIT binary patch literal 464 zcmV;>0WbcEP)U`;pvW%oGQ+ifnn_g;O9qmb=a*F9}K3A8R3 zdGqcqKW}ORkEe3$W zH(s=z#FRfEsdJr-#!}UqwGu#&Tf%dYfkbztyP)j*15UeOIy>8mtn^GCtd^~Q6^5}H z1`Gp+ft4`u4fyzqyCV7G8vpTF0000