Skip to content

Фикс крайта растяжек, использование дефайна времени детонации на растяжке где надо#9389

Merged
littleboobs merged 2 commits into
ss220-space:master220from
SCPfollower:rastyazhki_not_so_hot_fixes
Jun 18, 2026
Merged

Conversation

@SCPfollower

@SCPfollower SCPfollower commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Что этот ПР делает

Черрипикает фиксы с ПРа #8849. Уменьшает время до взрыва гранаты до 0.4с ибо иначе с растяжками работают только с осколочными или мощными гранатами. Так будет хоть как то вредить от детонации более слабых гранат

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

Бубс попросил (а вообще багфиксы круто)

Демонстрация изменений

Изображения и видео

Список изменений

🆑
bugfix: Исправлен рецепт растяжки.
refactor: Перенос дефайна TRIPWIRE_GRENADE_DETONATION_TIME к гранатам и его использование.
balance: Уменьшено время детонации гранат на растяжках (1с -> 0.4с).
/:cl:

@github-actions github-actions Bot added Refactor PR проводит рефакторинг кода. Fix PR содержит исправления ошибок. labels Jun 18, 2026

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

Copy link
Copy Markdown
Contributor

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 adjusts the tripwire grenade detonation time from 1 second to 0.4 seconds, moving the definition to the grenade file, and updates the crafting recipe requirements for tripwires. The review feedback recommends adding an English comment explaining the reasoning behind the 0.4-second detonation time according to the style guide, and suggests using PROC_REF instead of TYPE_PROC_REF for better readability and idiomatic code when referencing a proc within its own type context.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread code/game/objects/items/weapons/grenades/grenade.dm
Comment thread code/game/objects/items/weapons/grenades/grenade.dm Outdated
@littleboobs littleboobs merged commit 6f96377 into ss220-space:master220 Jun 18, 2026
15 checks passed
changelog-bot Bot added a commit that referenced this pull request Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix PR содержит исправления ошибок. Refactor PR проводит рефакторинг кода.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants