Skip to content
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

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Conversation

FinkRLD
Copy link

@FinkRLD FinkRLD commented Sep 3, 2024

Pre-Merge Checklist

  • Quirk
  • Functional summon&return runes
  • cloth-dropping
  • some restrictions
  • area limit
    image

image

image

image

@FinkRLD FinkRLD marked this pull request as draft September 3, 2024 06:22
Copy link

@Kush1Push1 Kush1Push1 left a comment

Choose a reason for hiding this comment

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

Руна призыва СБшников
Строишь киллбокс, а дальше... :trollface:

/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)

Choose a reason for hiding this comment

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

  1. Почему список карбонов?
  2. Сделай так, чтобы квирк самона добавлялся в отдельный 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"))

Choose a reason for hiding this comment

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

Алёрт это плохая идея. Лучше сделать оповещение в чат с кнопкой. Могу подсказать где достать код для имплементации лёгкой на примере.

@FinkRLD FinkRLD marked this pull request as ready for review September 3, 2024 08:38
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