-
Notifications
You must be signed in to change notification settings - Fork 49
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
[FEAT] Centcom bat and reclinable revolvervs port #449
Conversation
Мб биту сделать двуручной? Тогда не придется плодить доп переменные |
|
||
/obj/item/melee/baseball_bat/homerun/central_command/pickup(mob/living/carbon/human/user) | ||
. = ..() | ||
if(!istype(user.get_item_by_slot(ITEM_SLOT_ID), /obj/item/card/id/advanced/centcom)) |
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.
Ну, в майнде как на паре нет offstation_role
и у самих ЦКшников нет как такового отличия от простых смертных кроме айдишки. Ну в общем посмотрю ещё может что найду.
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.
Как варик, тупо проверять на админку
Изначально кстати так и думал, но потом подумал про то что на ПОЦК могут и простых игроков сажать.
Немного покапался и можно оставить ему тот же механ, но сделать его через компонент |
@@ -46,7 +46,7 @@ | |||
|
|||
/obj/item/melee/baseball_bat/homerun/central_command/pickup(mob/living/carbon/human/user) | |||
. = ..() | |||
if(!istype(user.get_item_by_slot(ITEM_SLOT_ID), /obj/item/card/id/advanced/centcom)) | |||
if(!istype(user.get_item_by_slot(ITEM_SLOT_ID), /obj/item/card/id/advanced/centcom) || subtypesof(/obj/item/card/id/advanced/centcom)) |
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.
Ты же в курсе, что subtypesof(/obj/item/card/id/advanced/centcom
всегда будет TRUE?
…ndastation220 into admin_weapons_port
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 these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself |
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 these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself |
About The Pull Request
Портирует биту ЦК, РШ-12 и Анаконду с пары.
Why It's Good For The Game
Админабуз это весело
Изображения изменений
Changelog
🆑
add: Добавлен РШ-12 и Анаконда
add: Добавлена бита ЦК
/:cl: