Skip to content

[FEAT] Light your cigarette#2504

Open
IWantSomeFish wants to merge 32 commits into
ss220club:masterfrom
IWantSomeFish:cigarette_lighter
Open

[FEAT] Light your cigarette#2504
IWantSomeFish wants to merge 32 commits into
ss220club:masterfrom
IWantSomeFish:cigarette_lighter

Conversation

@IWantSomeFish

@IWantSomeFish IWantSomeFish commented May 26, 2026

Copy link
Copy Markdown
Collaborator

Что этот PR делает

Предметы можно теперь зажигать от плиты

Добавлен компонент item_ingiter который позволяет добавить атомам возможность поджигать предметы при взаимодействии с ними через attack_by. Не забудьте добавить обработку сигнала! Ведь базово в компоненте FALSE.

Добавлена возможность зажигать предметы от включенной кухонной плиты. Данное изменение запрошено по баунти

Почему это хорошо для игры

До этого Нанотрейзен не понимала концепцию природного газа и газовых плит. Они работали как электрические. Теперь вы можете поджечь свою куртку и кинуть в ассистента!

Компонент же делает данную механику расширяемой на все похожие атомы в игре.

Изображения изменений

image

Тестирование

Но локальном сервере протестирована возможность прикуривания сигар и сигарет. Рантаймов при тестировании не обнаружено. Одежда так же поджигается и горит.

Changelog

🆑
add: Добавлен компонент item_igniter.
add: Кухонной плите добавлена возможность зажигать предметы при взаимодействии.
/:cl:

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request introduces the ability to light cigarettes and cigars directly from an active stove burner, and updates a TGS command caching mechanism to use lowertext instead of LOWER_TEXT. The review feedback highlights a style guide violation regarding the usage of the declent_ru() function, which should be called in its pure form with the object passed as the first argument. Additionally, it is recommended to explicitly handle the case when the stove is turned off by notifying the user and returning COMPONENT_NO_AFTERATTACK to prevent unintended default interactions.

Comment thread code/modules/food_and_drinks/machinery/stove_component.dm Outdated
@github-actions github-actions Bot added the :finnadie: НЕ МОДУЛЬНО Па-ху-ю. label May 27, 2026
Comment thread code/modules/food_and_drinks/machinery/stove_component.dm Outdated
Comment thread code/modules/food_and_drinks/machinery/stove_component.dm Outdated
Comment thread code/modules/food_and_drinks/machinery/stove_component.dm Outdated
@ss220app ss220app Bot added the 📜 CL валиден Этот чейнджлог будет успешно опубликован label May 27, 2026
Comment thread code/modules/food_and_drinks/machinery/stove_component.dm Outdated
@CallmeHouston CallmeHouston added the :trollface: Фича Новая, определённо уникальная и интересная фича. Она совершенно точно не сломает ничего! label May 28, 2026
@IWantSomeFish IWantSomeFish changed the title Cigarette lighter [FEAT] Light your cigarette May 28, 2026
@github-actions github-actions Bot removed the :trollface: Фича Новая, определённо уникальная и интересная фича. Она совершенно точно не сломает ничего! label May 29, 2026
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~7 days. Please address any outstanding review items and ensure your PR is finished - if both are true, and you have auto-staled anyway, you need to actively ask maintainers (by pinging them in the /tg/station Discord) to (re)review or merge your PR. If no maintainer responds to your request, you may wish to close this PR yourself while you seek maintainer comment, as you will later be able to reopen the PR yourself.

@github-actions github-actions Bot added the 💩 Stale Кажется всем похуй на этот ПР. Жизнь сурова... label Jun 7, 2026
@IWantSomeFish IWantSomeFish removed the 💩 Stale Кажется всем похуй на этот ПР. Жизнь сурова... label Jun 7, 2026
@github-actions github-actions Bot added :feelsgood: Частичная модульность Не всегда получается всё впихнуть в модуль, увы. and removed :finnadie: НЕ МОДУЛЬНО Па-ху-ю. labels Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:feelsgood: Частичная модульность Не всегда получается всё впихнуть в модуль, увы. 📜 CL валиден Этот чейнджлог будет успешно опубликован

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants