Skip to content

tweak: Agreedable glasses многоразовые #6817

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

Open
wants to merge 1 commit into
base: master220
Choose a base branch
from

Conversation

L343-CJ
Copy link
Contributor

@L343-CJ L343-CJ commented Apr 28, 2025

Описание

Теперь КД на способность этих очков 5 минут, если что очки позволяют кричать YYYEEEEEEAAAAHHHH

Причина создания ПР / Почему это хорошо для игры

https://discord.com/channels/617003227182792704/755125334097133628/1362681188405219398

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

Ну что тут демонстрировать?

Тесты

Ну эээ, потыкать кнопочку

@L343-CJ
Copy link
Contributor Author

L343-CJ commented Apr 28, 2025

p.s. оказывается они были многоразовые, но только с голосигарой

@@ -501,8 +501,7 @@
punused = TRUE
playsound(loc, 'sound/misc/yeah.ogg', 100, FALSE)
user.visible_message("<span class='biggerdanger'>YEEEAAAAAHHHHHHHHHHHHH!!</span>")
if(HAS_TRAIT(user, TRAIT_BADASS)) //unless you're badass
addtimer(VARSET_CALLBACK(src, punused, FALSE), 5 MINUTES)
addtimer(VARSET_CALLBACK(src, punused, FALSE), 5 MINUTES)
Copy link
Contributor

Choose a reason for hiding this comment

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

кулдауны лучше делать через дефайны - COOLDOWN_DECLARE, COOLDOWN_FINISHED, COOLDOWN_START, они понятнее, приоритетнее и лучше, чем булевые вары с таймерами

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants