-
-
Notifications
You must be signed in to change notification settings - Fork 427
Welcometotheminefields #7116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Welcometotheminefields #7116
Conversation
Co-authored-by: KIBORG04 <bossmira4@gmail.com>
…l/TauCetiClassic into welcometotheminefields
…ssic into welcometotheminefields
…ssic into welcometotheminefields
Changelog status: ✔️ |
|
ясно переоткрытие |
Co-authored-by: KIBORG04 <bossmira4@gmail.com>
Co-authored-by: KIBORG04 <bossmira4@gmail.com>
Co-authored-by: KIBORG04 <bossmira4@gmail.com>
|
Объясните, как это должно работать? Куда их плентить? Под тайлы шлюза? Или просто на пол, а сверху закидывать хламом чтобы не было видно? Или мина должна быть заметной чтобы человек понимал что туда лучше не соваться? Но ведь тогда её можно будет спокойно обойти или даже деактивировать. |
|
|
|
он альфу уменьшает ей жоско. А так да, кладешь под аптечку или еще че |
code/game/objects/items/mines.dm
Outdated
|
|
||
| /obj/item/mine/emp/trigger_act(obj) | ||
| empulse(src, 2, 3) | ||
| qdel(src) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Если все мины удаляют себя возможно здесь имеет смысл вызывать ..(), а у родителя сделать кудел?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а можно обертку сделать для этой функции
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а в чем конкретно разница будет между куделем и вызовом родителя?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это более осмысленно. Удаляться после активации это свойство вообще всех мин, а не каких-то конкретных.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я либо кудель пишу, либо ссылку на кудель, так что разницы не особо наблюдаю
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uses--
if(!uses) qdel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я не говорю что такое делать нужно, просто что дизайн такое ограничит. я ещё посмотрел историю сообщений, Бетель этот вопрос тоже поднимал
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
так если тебе не нужно, чтобы мина удалялась, ты просто не пишешь ..() или qdel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А с оберткой можно было бы многоразовые делать
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try_trigger() уже является оберткой для trigger_act(). Тебе достаточно убрать все кудели из trigger_act() и перенести их в самый низ try_trigger()
|
все сделал по ревью |
|
А есть ли реакция мин на мехи? Ибо я помню что некоторые вещи в механике не реагируют на мехов (например пена огнетушителя). Учтено ли это в пр? |
Co-authored-by: KIBORG04 <bossmira4@gmail.com>
|
Напиши в ПРе сколько каждая мина стоит (и в какой ветке РнД последняя мина) и сколько они дамажат в цифрах |
KIBORG04
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Вроде норм. Если что, я могу позже переделать это в компоненту и еще чего-то написать/переписать
Описание изменений
https://github.com/TauCetiStation/TauCetiClassic/pull/6012/files переоткрытие

добавляет 4 вида мин
обычная - просто достаточно сильно бахает, есть в аплинке
шок - аля наэлектризованная дверь, пробивает человека разрядом электричества, заказывается в карго и есть у вардена
зажигательная - nuff said, есть в аплинке
эми - делает неплохой эми-импульс, производится в РнД.
после установки мины становятся полупрозрачными, что делает их незаметнее
разминируются мультитулом или выстрелом
Почему и что этот ПР улучшит
больше контента это круто
Авторство
я, спрайт сеуви
Чеинжлог
🆑