-
Notifications
You must be signed in to change notification settings - Fork 121
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
lewd summon quirk #1251
base: master
Are you sure you want to change the base?
lewd summon quirk #1251
Conversation
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.
Руна призыва СБшников
Строишь киллбокс, а дальше...
/obj/effect/summon_rune/attack_hand(mob/living/carbon/M) | ||
var/list/applicants = list() | ||
var/static/list/applicants_result = list() | ||
for(var/mob/living/carbon/human/H in GLOB.carbon_list) |
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.
- Почему список карбонов?
- Сделай так, чтобы квирк самона добавлялся в отдельный global. Тебе не нужно просматривать список из 100+ сущностей с учётом трупов, у каждого устраивая if
return | ||
else | ||
|
||
var/applicant_choice = tgui_alert(target, "You have been summoned! Do you want to answer?", "Do you want to answer?", list("Yes", "No")) |
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.
Алёрт это плохая идея. Лучше сделать оповещение в чат с кнопкой. Могу подсказать где достать код для имплементации лёгкой на примере.
Pre-Merge Checklist