[FEAT] Light your cigarette#2504
Conversation
Automatic TGS DMAPI Update
There was a problem hiding this comment.
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.
|
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. |
Что этот PR делает
Предметы можно теперь зажигать от плиты
Добавлен компонент item_ingiter который позволяет добавить атомам возможность поджигать предметы при взаимодействии с ними через attack_by. Не забудьте добавить обработку сигнала! Ведь базово в компоненте FALSE.
Добавлена возможность зажигать предметы от включенной кухонной плиты. Данное изменение запрошено по баунти
Почему это хорошо для игры
До этого Нанотрейзен не понимала концепцию природного газа и газовых плит. Они работали как электрические. Теперь вы можете поджечь свою куртку и кинуть в ассистента!
Компонент же делает данную механику расширяемой на все похожие атомы в игре.
Изображения изменений
Тестирование
Но локальном сервере протестирована возможность прикуривания сигар и сигарет. Рантаймов при тестировании не обнаружено. Одежда так же поджигается и горит.
Changelog
🆑
add: Добавлен компонент item_igniter.
add: Кухонной плите добавлена возможность зажигать предметы при взаимодействии.
/:cl: