Skip to content

[TWEAK] Автоинъекторы и наборы#2585

Open
kerfus-owo wants to merge 14 commits intoAdventureTimeSS14:masterfrom
kerfus-owo:make-medipens-great-again
Open

[TWEAK] Автоинъекторы и наборы#2585
kerfus-owo wants to merge 14 commits intoAdventureTimeSS14:masterfrom
kerfus-owo:make-medipens-great-again

Conversation

@kerfus-owo
Copy link
Contributor

@kerfus-owo kerfus-owo commented Mar 5, 2026

Описание PR

  • Добавляет новые автоинъекторы:
  1. Автоинъектор хим-повреждений - сигинат (15u)/дермалин (5u)
  2. Продвинутый автоинъектор мех-повреждений - олигомеры полипирилия (10u)/кров. Пудра (10u)
  • Изменяет содержимое следующих автоинъекторов:
  1. Автоинъектор бруизина, пунктураза и лацеринола - тран. Кислота (5u) > кров. Пудра (10u)
  2. Автоинъектор мех-повреждений - бикаридин (15u)/тран. Кислота (5u) > бикаридин (10u)/кров. Пудра (10u)
  3. Автоинъектор удушения - дексалин плюс (13u)/ физраствор (6u) >дексалин плюс (10u)/ физраствор (10u)
  4. Аварийный автоинъектор - инапровалин (10u)/дексалин плюс (10u) > эпинефрин (10u)/дексалин плюс (10u)
  5. Автоинъектор противоядия - ультраваскулин (10u)/эпинефрин (5u) > дифенгидрамин (10u)/диловен (10u)
  • Изменяет названия некоторых автоинъекторов на более интуитивно понятные.
  • Добавляет в набор для лечения механических травм автоинъектор мех-повреждений и пластырь, а так же заменяет баночки для таблеток с железом и медью на баночки с бикаридином и трикордразином.
  • Добавляет в набор для лечения физических травм автоинъектор физ-повреждений и пластырь от ожогов.
  • Исправляет баг, из-за которого рецепт автоинъектора удушения требовал в два раза больше реагентов, чем получалось на выходе.

Почему / Баланс

  • Транексамовая кислота - лёгкое лекарство, помогающее лишь от кровотечения. Заменив её на кроостанавливающую пудру, автоинъекторы механических медипенов станут более конкурентоспособными.
  • Аварийный автоинъектор - по своей сути бесполезный. Инапровалин - лёгкое лекарство, из-за чего выгоднее делать автоинъекторы удушения или же аварийные медипены. Сочитая дексалин плюс и эпинефрин, он станет неплохой альтернативой.
  • Теперь рецепт автоинъектора противоядия будет более щадящим по сравнению со своей старой версией, при этом не сильно уступая в своём лечении от ядов.
  • Исправит скудное наполнение наборов для лечения мех/физ травм по аналогии с остальными наборами (таблетки+автоинъекторы)

Чейнджлог

🆑 Kerfus

  • add: Добавлены автоинъектор хим-повреждений, продвинутый автоинъектор мех-повреждений а так же их рецепты.
  • tweak: Изменено наполнение автоинъекторов удушения, противоядия, мех-повреждений, бруизина, пунктураза и лацеринола а так же аварийного автоинъектора. (подробнее в PR-е)
  • tweak: Изменены названия некоторых автоинъекторов на более интуитивно понятные.
  • tweak: Изменено наполнение наборов для лечения мех/физ травм.
  • fix: Исправлен баг, из-за которого автоинъектор удушения требовал в своём рецепт в два раза больше реагентов, чем получалось на выходе.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 5, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 7a78912e-6d56-4d6a-a46d-ca0eab5b5d3a

📥 Commits

Reviewing files that changed from the base of the PR and between 543626d and 6473c41.

📒 Files selected for processing (1)
  • Resources/Prototypes/Catalog/Fills/Items/firstaidkits.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • Resources/Prototypes/Catalog/Fills/Items/firstaidkits.yml

Walkthrough

Обновлены локализации и прототипы мединжекторов (hypospray): изменены русскоязычные отображаемые названия и описания; в прототипах и рецептах заменены и перераспределены реагенты (например, TranexamicAcid → ADTStypticPowder, Inaprovaline → Epinephrine, Ultravasculine → Diphenhydramine); увеличены объёмы у ряда пенов (maxVol/transferAmount 15→20); добавлены два новых автоинжектора (ADTSigynateAutoInjector, ADTPolypyryliumOligomersAutoInjector); обновлены спрайты/состояния текстур и содержимое аптечек.

Possibly related PRs

Suggested labels

S: Untriaged

Suggested reviewers

  • Schrodinger71
  • Unlumy
  • M1and1B
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed Заголовок PR чётко отражает основные изменения: добавление новых автоинъекторов и обновление наборов первой помощи, что соответствует содержимому changeset.
Description check ✅ Passed Описание PR полностью связано с changeset: подробно объясняет добавленные автоинъекторы, изменения содержимого существующих, переименования и обновления наборов, а также причины изменений.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@Resources/Locale/ru-RU/ADT/prototypes/Entities/Objects/Specific/Medical/hypospray.ftl`:
- Line 14: В тексте свойства .desc замените неверную капитализацию сложного
слова: поменяйте "Экспресс-Доза" на "Экспресс-доза" (обратите внимание на дефис
и строчную букву д) в строке, где определено .desc.

In `@Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/hypospray.yml`:
- Around line 121-124: The YAML descriptions for the crisis, lacerinol, and
bruizine hypospray entries were not updated after the reagent changes; locate
the hypospray.yml entries for those items (the blocks containing ReagentId:
Epinephrine / DexalinPlus and their sibling reagent blocks) and update each
item’s description field to reference the new reagent names and effects instead
of the old substances. Ensure the description text for the entries named crisis,
lacerinol, and bruizine matches the current ReagentId values and reflects
correct quantities/effects for the new reagents.
- Around line 145-150: Наследуемое свойство transferAmount: 15 в ChemicalMedipen
заставляет ADTLacerAutoInjector и ADTBruizAutoInjector инъецировать по 15u, что
даёт остаток при увеличенном maxVol: 20; чтобы вернуть ожидаемое одноразовое
поведение, явно переопределите transferAmount в этих сущностях
(ADTLacerAutoInjector и ADTBruizAutoInjector) на 20 или установите
transferAmount равным maxVol, чтобы полная ёмкость инжектора вводилась за одну
операцию; также примените то же изменение к второй секции (аналогичным записям,
указанных в примечании).

In `@Resources/Prototypes/Entities/Objects/Specific/Medical/hypospray.yml`:
- Around line 233-236: Update the English "description" entries in hypospray.yml
to reflect the new reagent list: replace references to ultravasculine,
epinephrine, and tranexamic acid with the current reagents (Diphenhydramine and
Dylovene) and any changed quantities, ensuring the text accurately describes
effects/contents; check and update every description field for the hypospray
entries (including the other occurrence noted later) so the human-readable
descriptions match the ReagentId/Quantity blocks shown (e.g., the entries that
now list Diphenhydramine and Dylovene).
- Around line 423-424: В файле hypospray.yml у сущности PunctAutoInjector
суммарный объём реагентов в pen (Puncturase: 10 + ADTStypticPowder: 10 = 20)
превышает заданные лимиты maxVol и transferAmount (по 15), что приводит к потере
дозы; исправьте либо уменьшив количества реагентов в pen (например привести
сумму ≤ maxVol) либо увеличив поля maxVol и transferAmount до 20 в определении
PunctAutoInjector/pen, чтобы суммарный объём реагентов соответствовал
вместимости и переносу.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 89a72682-c805-428b-8327-b87c5610b813

📥 Commits

Reviewing files that changed from the base of the PR and between 7e3eb14 and 4fdd77f.

📒 Files selected for processing (6)
  • Resources/Locale/ru-RU/ADT/prototypes/Entities/Objects/Specific/Medical/hypospray.ftl
  • Resources/Locale/ru-RU/ss14-ru/prototypes/entities/objects/specific/medical/hypospray.ftl
  • Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/hypospray.yml
  • Resources/Prototypes/ADT/Recipes/Cooking/medical_recipes.yml
  • Resources/Prototypes/Catalog/Fills/Items/firstaidkits.yml
  • Resources/Prototypes/Entities/Objects/Specific/Medical/hypospray.yml

@github-actions github-actions bot added size/M Changes: Sprites Изменение спрайтов size/S and removed size/S size/M labels Mar 5, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

RSI Diff Bot; head commit 6473c41 merging into 24dcb9c
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/ADT/Objects/Specific/Medical/medipen.rsi

State Old New Status
diphenhydramine Added
diphenhydramine_empty Added
polypyrylium_oligomers Added
polypyrylium_oligomers_empty Added
sigynate Added
sigynate_empty Added

Edit: diff updated after 6473c41

@github-actions github-actions bot added size/M and removed size/S labels Mar 5, 2026
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

♻️ Duplicate comments (3)
Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/hypospray.yml (1)

121-123: ⚠️ Potential issue | 🟡 Minor

Синхронизируйте description с обновлёнными реагентами.

ADTCrisisAutoInjector, ADTLacerAutoInjector и ADTBruizAutoInjector уже используют новый состав, но тексты описаний всё ещё ссылаются на старые вещества.

Also applies to: 151-152, 179-180

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/hypospray.yml`
around lines 121 - 123, The description texts for ADTCrisisAutoInjector,
ADTLacerAutoInjector, and ADTBruizAutoInjector are out of date and still
reference the old reagents; update each entity's description field to match the
new reagent composition (e.g., include Epinephrine and DexalinPlus as shown in
the ReagentId list) so the human-readable text accurately reflects the current
reagents and quantities.
Resources/Prototypes/Entities/Objects/Specific/Medical/hypospray.yml (2)

231-236: ⚠️ Potential issue | 🟠 Major

Синхронизируйте transferAmount с новым объёмом 20u.

После увеличения состава до 20u эти инъекторы вводят не всю дозу за раз (AntiPoisonMedipen наследует 15u, PunctAutoInjector явно имеет 15u), из-за чего остаётся хвост в шприце.

💉 Предлагаемое исправление
 - type: entity
   name: poison auto-injector
   parent: ChemicalMedipen
   id: AntiPoisonMedipen
@@
+  - type: Hypospray
+    solutionName: pen
+    transferAmount: 20
+    onlyAffectsMobs: false
+    injectOnly: true
@@
 - type: Hypospray
   solutionName: pen
-  transferAmount: 15
+  transferAmount: 20
   onlyAffectsMobs: false
   injectOnly: true

Also applies to: 419-424

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@Resources/Prototypes/Entities/Objects/Specific/Medical/hypospray.yml` around
lines 231 - 236, The transferAmount for hypospray-type injectors is still set to
15u while maxVol was increased to 20u; update the transferAmount value to 20 for
the relevant prototypes so the full dose is injected (update the transferAmount
field in the hypospray.yml entries for AntiPoisonMedipen and PunctAutoInjector
and any other hypospray variants referenced around the other duplicate block at
lines ~419-424 to match maxVol: 20 and ensure no leftover volume remains).

233-236: ⚠️ Potential issue | 🟡 Minor

Обновите description под фактический состав реагентов.

В этих блоках состав уже заменён, но английские description у соответствующих сущностей всё ещё описывают старые реагенты, что вводит в заблуждение при осмотре предмета.

Also applies to: 282-283, 423-424

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@Resources/Prototypes/Entities/Objects/Specific/Medical/hypospray.yml` around
lines 233 - 236, Update the English description fields to match the actual
reagents listed (e.g., the blocks that now contain "ReagentId: Diphenhydramine"
and "ReagentId: Dylovene") so the item text reflects the current contents;
locate the description keys associated with those reagent blocks (the same
pattern around the ReagentId/Quantity entries at the shown locations and also at
the other affected blocks referenced: lines 282-283 and 423-424) and edit the
description strings to accurately describe Diphenhydramine and Dylovene instead
of the old reagent names.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@Resources/Locale/ru-RU/ADT/prototypes/Entities/Objects/Specific/Medical/hypospray.ftl`:
- Line 29: В поле .desc в файле hypospray.ftl исправьте форму слова: замените
«олигомер полипирилия» на «олигомеров полипирилия» так, чтобы строка .desc
теперь содержит «Экспресс-доза олигомеров полипирилия и кровоостанавливающей
пудры, предназначенная для применения в боевых условиях.»

In `@Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/hypospray.yml`:
- Around line 242-245: The name field for the entity with id
ADTPolypyryliumOligomersAutoInjector is incorrect — update the YAML so the name
matches the id/state/description (e.g., change the name from "sigynate
auto-injector" to a matching label like "polypyrylium oligomers auto-injector"
or another consistent human-readable name) ensuring the name, id, and
description all refer to the same item.

---

Duplicate comments:
In `@Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/hypospray.yml`:
- Around line 121-123: The description texts for ADTCrisisAutoInjector,
ADTLacerAutoInjector, and ADTBruizAutoInjector are out of date and still
reference the old reagents; update each entity's description field to match the
new reagent composition (e.g., include Epinephrine and DexalinPlus as shown in
the ReagentId list) so the human-readable text accurately reflects the current
reagents and quantities.

In `@Resources/Prototypes/Entities/Objects/Specific/Medical/hypospray.yml`:
- Around line 231-236: The transferAmount for hypospray-type injectors is still
set to 15u while maxVol was increased to 20u; update the transferAmount value to
20 for the relevant prototypes so the full dose is injected (update the
transferAmount field in the hypospray.yml entries for AntiPoisonMedipen and
PunctAutoInjector and any other hypospray variants referenced around the other
duplicate block at lines ~419-424 to match maxVol: 20 and ensure no leftover
volume remains).
- Around line 233-236: Update the English description fields to match the actual
reagents listed (e.g., the blocks that now contain "ReagentId: Diphenhydramine"
and "ReagentId: Dylovene") so the item text reflects the current contents;
locate the description keys associated with those reagent blocks (the same
pattern around the ReagentId/Quantity entries at the shown locations and also at
the other affected blocks referenced: lines 282-283 and 423-424) and edit the
description strings to accurately describe Diphenhydramine and Dylovene instead
of the old reagent names.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 56a09af3-9508-4b64-b121-5b85fee8f1fb

📥 Commits

Reviewing files that changed from the base of the PR and between 4fdd77f and 0459e82.

⛔ Files ignored due to path filters (6)
  • Resources/Textures/ADT/Objects/Specific/Medical/medipen.rsi/diphenhydramine.png is excluded by !**/*.png, !**/*.png
  • Resources/Textures/ADT/Objects/Specific/Medical/medipen.rsi/diphenhydramine_empty.png is excluded by !**/*.png, !**/*.png
  • Resources/Textures/ADT/Objects/Specific/Medical/medipen.rsi/polypyrylium_oligomers.png is excluded by !**/*.png, !**/*.png
  • Resources/Textures/ADT/Objects/Specific/Medical/medipen.rsi/polypyrylium_oligomers_empty.png is excluded by !**/*.png, !**/*.png
  • Resources/Textures/ADT/Objects/Specific/Medical/medipen.rsi/sigynate.png is excluded by !**/*.png, !**/*.png
  • Resources/Textures/ADT/Objects/Specific/Medical/medipen.rsi/sigynate_empty.png is excluded by !**/*.png, !**/*.png
📒 Files selected for processing (6)
  • Resources/Locale/ru-RU/ADT/prototypes/Entities/Objects/Specific/Medical/hypospray.ftl
  • Resources/Locale/ru-RU/ss14-ru/prototypes/entities/objects/specific/medical/hypospray.ftl
  • Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/hypospray.yml
  • Resources/Prototypes/ADT/Recipes/Cooking/medical_recipes.yml
  • Resources/Prototypes/Entities/Objects/Specific/Medical/hypospray.yml
  • Resources/Textures/ADT/Objects/Specific/Medical/medipen.rsi/meta.json

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/hypospray.yml`:
- Around line 217-236: Update the description for ADTSigynateAutoInjector to
accurately reflect its contents and effect: edit the description field in the
hypospray.yml (the ADTSigynateAutoInjector entity) to mention both Sigynate and
Dermaline (referencing the reagents under SolutionContainerManager -> solutions
-> pen) and their combined purpose/effect (e.g., rapid sigynate dose with
dermaline component), so item inspection is not misleading.

In `@Resources/Prototypes/Entities/Objects/Specific/Medical/hypospray.yml`:
- Around line 430-431: Описание у PunctAutoInjector больше не соответствует
содержимому: ReagentId изменён на ADTStypticPowder и Quantity на 10, но текст
описания всё ещё ссылается на TranexamicAcid/старое количество; обновите поле
description для сущности PunctAutoInjector, заменив упоминания TranexamicAcid на
ADTStypticPowder и скорректировав указание количества на 10 (и, при
необходимости, любую сопутствующую формулировку эффекта/назначения, чтобы оно
соответствовало новому реагенту).

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: a5c16111-03b7-4936-a3be-3984d4077c8c

📥 Commits

Reviewing files that changed from the base of the PR and between 0459e82 and 543626d.

📒 Files selected for processing (3)
  • Resources/Locale/ru-RU/ADT/prototypes/Entities/Objects/Specific/Medical/hypospray.ftl
  • Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/hypospray.yml
  • Resources/Prototypes/Entities/Objects/Specific/Medical/hypospray.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • Resources/Locale/ru-RU/ADT/prototypes/Entities/Objects/Specific/Medical/hypospray.ftl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changes: Localization Изменение локализации Changes: No C# Changes: Sprites Изменение спрайтов size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant