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^l
!h(zyB^2
zXO_?#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><*