Navigation Menu

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

Рефактор кода режимов #6985

Merged
merged 313 commits into from Jun 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
313 commits
Select commit Hold shift + click to select a range
d953620
фиксит станперчатки (#6913)
AndroBetel Mar 12, 2021
7d0d95e
Destroy fixes (#6776)
T6751 Mar 12, 2021
c20d9ea
Фикс с фичей гидропоники (#6766)
Rolt146 Mar 12, 2021
9c9cd02
Фикс названий автоинжекторов (#6932)
notkripton Mar 12, 2021
23c7709
добавляет нюкерам военные преступления (#6618)
AndroBetel Mar 14, 2021
69e1109
Переключение режима хардсьюита нюкеров по альт-клику (#6812)
Sakuya-Izayoi Mar 14, 2021
f0ddd57
Plant-B-Gone fix+update (#6700)
kalazus Mar 14, 2021
7571fbf
Дионы больше не болеют от теленауки (#6933)
Zickusable Mar 14, 2021
0f9561d
config cleanup (#6939)
volas Mar 14, 2021
e2498ad
дает чутка урону поясу охранки, нюки и чемпионскому поясу (#6935)
AndroBetel Mar 14, 2021
cfb4e1c
Update walls.dm (#6945)
KIBORG04 Mar 16, 2021
9114ded
Питон на винде (#6921)
hitsedesen Mar 16, 2021
31e9ac3
опять респрайт медбея (#6947)
AndroBetel Mar 18, 2021
5cc5b8a
Фикс рантайма с отсутсвием холдера у клиента (#6952)
KIBORG04 Mar 21, 2021
865f3d4
Сохранение всех настроек у всех персонажей (#6954)
KIBORG04 Mar 21, 2021
c00f830
Биогенератор может делать больше поясов (#6969)
Rolt146 Mar 26, 2021
e06d2fe
добавляет трейторам возможность делиться телекристаллами (#6964)
AndroBetel Mar 26, 2021
fb1babb
Увеличение объема мерного стаканчика (Beaker) с 50 до 60 (#6970)
Rolt146 Mar 26, 2021
9862165
Фикс 2 одинаковых таблеток (#6976)
Rolt146 Mar 28, 2021
44ecf71
Фикс краша сервера, наверное (#6981)
KIBORG04 Mar 28, 2021
6eb3231
Morpeh resrpited (#6972)
AndroBetel Mar 28, 2021
3d57753
В описаниях бикеров всегда будет актуальная инфа о вместимости (#6975)
KIBORG04 Mar 29, 2021
7851bdc
Биогенератор может печатать кармашки и чехлы (#6974)
Rolt146 Mar 29, 2021
e6af8e2
yumbaton (#6984)
Rolt146 Mar 29, 2021
cbeb9e4
Добавлены Борги и ИИ в манифест экипажа (#6968)
TechCatOther Mar 30, 2021
281c646
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Mar 30, 2021
de39a5f
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Mar 30, 2021
a02ec3f
ошибка уйди
KIBORG04 Mar 30, 2021
b47783f
Убрал лишнии приколы
KIBORG04 Mar 30, 2021
86bbfc9
Начало стандартизации префоф на рольки [Триторы]
KIBORG04 Mar 30, 2021
694e094
[Нюка]
KIBORG04 Mar 30, 2021
c075590
[Чейнджлинги]
KIBORG04 Mar 30, 2021
38bdf58
[Визард]
KIBORG04 Mar 30, 2021
5a5fbba
[мафл]
KIBORG04 Mar 30, 2021
447e63d
[Рева]
KIBORG04 Mar 30, 2021
9099097
[Алиены]
KIBORG04 Mar 30, 2021
4a53fcb
[культ
KIBORG04 Mar 30, 2021
0c3bc19
[блоб]
KIBORG04 Mar 30, 2021
4db5f0a
[нинжа]
KIBORG04 Mar 30, 2021
fa0f262
[воксы]
KIBORG04 Mar 30, 2021
515c3a8
[шедоулинг]
KIBORG04 Mar 30, 2021
22ec474
[абдуктор]
KIBORG04 Mar 30, 2021
6c64ced
[ерп]
KIBORG04 Mar 30, 2021
e870b3f
Сортировка
KIBORG04 Mar 30, 2021
fa98e72
чистка
KIBORG04 Mar 30, 2021
e036b03
улучшения много чего всего
KIBORG04 Mar 30, 2021
05792ed
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Apr 1, 2021
d81c3e0
Update heist.dm
KIBORG04 Apr 1, 2021
6846de5
Где-то я облажался с черрипиком и обновой ветки
KIBORG04 Apr 1, 2021
f535b92
еще какой-то сомнительный файл удалил
KIBORG04 Apr 1, 2021
33c011c
фикс чекера и актуальные алиены
KIBORG04 Apr 1, 2021
7118b52
Выставил мин/макс количество ролей на фракцию, как было раньше
KIBORG04 Apr 1, 2021
2825276
Лого теперь не будет багать, если кто-то забыл его написать
KIBORG04 Apr 1, 2021
0d5ba60
Миллиард мелких исправлений
KIBORG04 Apr 1, 2021
593064b
Теперь аплинк нормально удаляется
KIBORG04 Apr 2, 2021
dc333c5
фиксы и можно выбирать пресет режимов админкой
KIBORG04 Apr 2, 2021
ca3f758
Исправил опечатку у нинж. Сменил дефолтное пробабилити на 1
KIBORG04 Apr 2, 2021
0c39a4c
Почистил проки и перенес куда нужно
KIBORG04 Apr 2, 2021
fb0c181
Туду выполнен, да
KIBORG04 Apr 2, 2021
d3fb3a2
Подготовка к рефактору скорестатов(
KIBORG04 Apr 2, 2021
b6e8da0
Отрефакторил эту скоребоард под что-то более фракционное
KIBORG04 Apr 2, 2021
3624504
Oink
KIBORG04 Apr 2, 2021
6042338
Изменил название прока на более очевидное
KIBORG04 Apr 2, 2021
169fcfd
Update scoreboard.dm
KIBORG04 Apr 2, 2021
2eb84a3
Алиено-обжект
KIBORG04 Apr 2, 2021
6396fe6
забыл
KIBORG04 Apr 2, 2021
82db4e7
фиксы верстки
KIBORG04 Apr 3, 2021
3f92896
Починка автотаторов
KIBORG04 Apr 3, 2021
f7b556f
Убрал неработающую фичу
KIBORG04 Apr 3, 2021
6f6a489
Починил малфа
KIBORG04 Apr 3, 2021
ac991cf
Update revolution.dm
KIBORG04 Apr 3, 2021
b0fc998
Фикс всех режимов с тонной дебаг сообщений
KIBORG04 Apr 4, 2021
37c5a97
Заменить FAILURE и другие итоги обжекта на старые слова и добавить жи…
KIBORG04 Apr 5, 2021
b2146c5
Теперь логи не в рантаймах будут и в несуществующих файлах
KIBORG04 Apr 5, 2021
571de62
Убрал юзелесс конструкции везде
KIBORG04 Apr 5, 2021
f4d72f9
Дать фракциям, где проебано, required_pref
KIBORG04 Apr 5, 2021
e1a7923
Убрать из ролей special_role, вместо этого пусть будет ИД роли
KIBORG04 Apr 5, 2021
4bef26c
Ревертнул через кровь и пот все замены префов, которые я делал разным…
KIBORG04 Apr 5, 2021
fef7b37
Update autotraitors.dm
KIBORG04 Apr 5, 2021
ae0290a
В проке GetMemory, traitor panel сделать, чтобы шла сначала фракция, …
KIBORG04 Apr 5, 2021
bfa0943
Еще классная вертска для анноунс обжектаов
KIBORG04 Apr 5, 2021
df44a7a
Почистил мек антагов
KIBORG04 Apr 6, 2021
8879add
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Apr 6, 2021
4750c9b
Вернул в рабочее состояние конфиг objectives_disabled
KIBORG04 Apr 6, 2021
5ef5b5f
Красота + лого бореру
KIBORG04 Apr 6, 2021
b419945
Бореро-фракция + навел красоту
KIBORG04 Apr 6, 2021
c9b99cd
Выпил довольно странную фичу
KIBORG04 Apr 7, 2021
dc7f8d1
Впринципе фича с гритсом норм, пусть будет
KIBORG04 Apr 8, 2021
5ffdc61
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Apr 8, 2021
256afb1
Update game_mode.dm
KIBORG04 Apr 9, 2021
a1873b6
хто освободился
KIBORG04 Apr 9, 2021
cf19c9c
Проверил ивентого блоба, а там было что проверять
KIBORG04 Apr 9, 2021
f4e2a58
Континью_раунд в блобе
KIBORG04 Apr 9, 2021
0cafa28
Update mind.dm
KIBORG04 Apr 9, 2021
ccf14f0
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Apr 10, 2021
25bf0a3
Update atom_hud.dm
KIBORG04 Apr 10, 2021
b5450d3
Часть культа
KIBORG04 Apr 10, 2021
3f5e0fb
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Apr 11, 2021
45f6dce
еще одна часть культа
KIBORG04 Apr 11, 2021
71ceab8
ВРОДЕ БЫ доделал культ
KIBORG04 Apr 11, 2021
a5b7f29
Фикс нинж
KIBORG04 Apr 11, 2021
595a80f
фиксы
KIBORG04 Apr 11, 2021
708c0d6
убрал дебуг сообщения и код
KIBORG04 Apr 11, 2021
72e3e72
Починка автозавершения раунда при победе блоба
KIBORG04 Apr 12, 2021
cc45049
Вернул фичу с невыпадением прошлого режима рандомо
KIBORG04 Apr 12, 2021
2d9e96a
Раунд будет эксткой, если в бандле нету подходящих режимов всегда
KIBORG04 Apr 12, 2021
3601418
Убрал неиспользуемый прок
KIBORG04 Apr 13, 2021
6ded114
Добавил микс режимы в Сикрет Плюс
KIBORG04 Apr 13, 2021
14e6965
Убрал юзелесс код у ревы
KIBORG04 Apr 13, 2021
06cd1fa
Больше логов про режим в логи
KIBORG04 Apr 13, 2021
0e7a888
забыл вернуть числа
KIBORG04 Apr 13, 2021
d54504e
Теперь один игрок не может получить больше одной роли раундстартом
KIBORG04 Apr 14, 2021
5e38226
Переместил спавн абдукторов из ролек во фракцию
KIBORG04 Apr 14, 2021
13494c5
Бореры теперь работают раундстартом
KIBORG04 Apr 14, 2021
617765c
Выпилил тау классик и бс12
KIBORG04 Apr 14, 2021
9befd6e
Мелкие фиксы
KIBORG04 Apr 14, 2021
8d0baf7
В догонку к тем фиксам
KIBORG04 Apr 14, 2021
d9b7cbe
Не вижу смысла не создавать новую фаркцию
KIBORG04 Apr 14, 2021
a389bf3
Зомбяки-фракция.
KIBORG04 Apr 18, 2021
bb86fd7
Убрал дебуг код
KIBORG04 Apr 19, 2021
e261e59
Тэкс. Вернул конфиг таг, чтобы НОРМАЛЬНО настраивалось все через конфиг
KIBORG04 Apr 19, 2021
6d8fc5e
Убрал некоторые ненужные истайпы(тикер.моде)
KIBORG04 Apr 19, 2021
359fbda
Лучше использовать обертку при добавление во фракцию
KIBORG04 Apr 20, 2021
57dbefe
Убрал не нужный спрайт лога
KIBORG04 Apr 20, 2021
4ac3e69
Изменил преф на бореров на ROLE_ALIENT
KIBORG04 Apr 20, 2021
fa947b3
Теперь можно легко настраивать кастомные фракции и рольки во время ра…
KIBORG04 Apr 20, 2021
4595672
Корректировка слова
KIBORG04 Apr 20, 2021
2c5c766
Теперь в режиме мага спавнится сразу два друга-мага
KIBORG04 Apr 20, 2021
a30e6df
Немножно отрефакторил добавление конструктов в культ
KIBORG04 Apr 20, 2021
2d853bb
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Apr 20, 2021
5380214
Два мага будет только при большом онлайне
KIBORG04 Apr 21, 2021
6d40659
Убрал у нинжи сломанную цельку на закачку
KIBORG04 Apr 22, 2021
a363074
Теперь статистика не будет отправляться всем, если зафорсить через дебаг
KIBORG04 Apr 22, 2021
0b6191e
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Apr 23, 2021
a4c40c9
а зачем я удалил изменение этого конфига..
KIBORG04 Apr 23, 2021
855ea0f
Убраз забытый дебаг
KIBORG04 Apr 23, 2021
c040896
Убрал ненужный прок
KIBORG04 Apr 23, 2021
6f403a4
Update taucetistation.dme
KIBORG04 Apr 24, 2021
840c956
Конструкты, призванные магом, будут добавляться во фракцию мага
KIBORG04 Apr 25, 2021
8a405d7
Делаю mind чище
KIBORG04 Apr 26, 2021
eb85218
Конструк, призванный мультиантагом, получит мультироли
KIBORG04 Apr 26, 2021
f74cee1
Убрал режим нинзи из ротации
KIBORG04 Apr 27, 2021
b5aa3e9
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Apr 27, 2021
6b5566f
Добавлена пара новых миксов
KIBORG04 Apr 27, 2021
ef1cfb7
Я случайно увидел ПР на вг на эту тему и решил сделать также
KIBORG04 Apr 30, 2021
a627760
ой
KIBORG04 Apr 30, 2021
d43472b
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Apr 30, 2021
e2d35f7
Добавил новый банлд с тим-бейзед режимами
KIBORG04 May 2, 2021
4d79992
😄
KIBORG04 May 2, 2021
9db18e3
Микрорефактор
KIBORG04 May 2, 2021
e41b4a9
Update taucetistation.dme
KIBORG04 May 3, 2021
2637149
Переименовал файл c_vote в modesbundle.
KIBORG04 May 8, 2021
9be0c06
Документация фреймворков фракций и ролей
KIBORG04 May 8, 2021
09f8a62
Ой, ну вообщем еще убрал неюзабельную переменную desc
KIBORG04 May 8, 2021
01a38fa
Дефайны фракций с названием расы получили префикс FACTION
KIBORG04 May 8, 2021
c03e41d
isspace
KIBORG04 May 11, 2021
0476c13
изменение дефайнов
KIBORG04 May 11, 2021
e4f738c
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 May 11, 2021
655d2bf
Добавил в конфики актуальные пробабилитес с актуальными конфиг_неймам…
KIBORG04 May 15, 2021
18138a9
Update taucetistation.dme
KIBORG04 May 15, 2021
b80304a
Добавил проверку на выполнение задач членам фракции для проверки побе…
KIBORG04 May 16, 2021
ffbf1a2
кринж...
KIBORG04 May 16, 2021
191ecc8
Merge branch 'master' into some_gamemode_update
KIBORG04 May 22, 2021
7e32304
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 May 24, 2021
94d6c72
Update syndicate.dm
KIBORG04 May 24, 2021
fc3075d
Небольшие изменения кода бляба
KIBORG04 May 26, 2021
869135e
Забыл.
KIBORG04 May 26, 2021
e997896
Фиксы по людуку
KIBORG04 May 26, 2021
6393882
Ренейминг проков
KIBORG04 May 26, 2021
22b2d16
Update misc_faction_procs.dm
KIBORG04 May 26, 2021
dbd1391
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 May 27, 2021
33bbd37
Починил гипотетические рантаймы с неподходящей фракцией для роли
KIBORG04 May 27, 2021
0751374
фикс ошибки
KIBORG04 May 27, 2021
d9faa50
Фиксы
KIBORG04 May 27, 2021
5773db5
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 May 27, 2021
e6278ce
TM_PROBABILITY
KIBORG04 May 28, 2021
0710270
Merge branch 'master' into some_gamemode_update
KIBORG04 May 28, 2021
c4825c9
фиксы и доп логи
KIBORG04 May 28, 2021
1099b6b
Merge branch 'some_gamemode_update' of https://github.com/KIBORG04/Ta…
KIBORG04 May 28, 2021
d644390
Фикс невозможности взаимодействия с предметами
KIBORG04 May 28, 2021
1d66d93
Фикс появление окошка настройки кастом фракции при её удалении
KIBORG04 May 28, 2021
c8614ba
Хотфикс кривого отображения обжектов
KIBORG04 May 28, 2021
07de5e6
Теперь название кастомных ролей и фракций вводит юзер
KIBORG04 May 28, 2021
b17834b
Фикс не заканчивающегося раунда
KIBORG04 May 28, 2021
de99c20
Важный фикс, позволяющий запускаться геймодам
KIBORG04 May 28, 2021
525f729
Фикс невыдаваемых ченжлингов в триторчане и фикс двойных задач в авто…
KIBORG04 May 29, 2021
6d66764
Аплинк. кодовые фразы теперь являются компонентой
KIBORG04 May 29, 2021
dc66e7e
Фиксы генокрадов
KIBORG04 May 29, 2021
ccb7d92
Добавил способ вывода в статистике кастомных участников фракций
KIBORG04 May 29, 2021
e17683a
Починка antagonists_completion
KIBORG04 May 30, 2021
33de962
Уменьшил тайминги на спавн блоба.
KIBORG04 May 30, 2021
84468c3
Теперь в титрах членов фракции сортирует по названию роли
KIBORG04 May 30, 2021
8a9e692
Фикс префоф ченджлингов
KIBORG04 May 30, 2021
31f2f1a
У боргов теперь корректно удаляется нулевой закон когда нужно
KIBORG04 May 30, 2021
6dd2b45
Триторчан теперь выпадает реже, имеет максимум двух генотриторов
KIBORG04 May 30, 2021
db8cd85
У фракции трейторчанов теперь корректный родитель
KIBORG04 May 30, 2021
cf1695e
Фикс двух рунтимов
KIBORG04 May 30, 2021
6419be2
Еще фиксы
KIBORG04 May 30, 2021
6f098fc
не кодьте сонными
KIBORG04 May 31, 2021
2cef299
Фикс логики
KIBORG04 May 31, 2021
83e18c8
Починка выдачи аплинка автотатарам
KIBORG04 May 31, 2021
1c5dd4c
В функцию передается маенд жертвы во избежание рантаймлв
KIBORG04 Jun 1, 2021
63fade5
Убрал спам блоба, добавил ему форс конец раунда, починил воксов
KIBORG04 Jun 1, 2021
f67861d
Понизил количество нужных игроков в сикрет плюсах
KIBORG04 Jun 1, 2021
1b283a6
Фикс конца раунда воксов
KIBORG04 Jun 1, 2021
ab4309d
Фикс рандомного рантайма
KIBORG04 Jun 1, 2021
4be445e
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Jun 1, 2021
155a78e
фикс прикроа
KIBORG04 Jun 1, 2021
93f8e8e
Фикс гринтекста вокосв
KIBORG04 Jun 2, 2021
beb2e3b
Revert "Фикс гринтекста вокосв"
KIBORG04 Jun 2, 2021
30414cf
фикс спеллчека
KIBORG04 Jun 2, 2021
ae5d637
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Jun 2, 2021
7bfd162
тгуи алерты
KIBORG04 Jun 2, 2021
3e12174
фикс прикола
KIBORG04 Jun 2, 2021
7530d97
Ивентовый блоб теперь получает обжекты и фикс рантайма с неверным пол…
KIBORG04 Jun 3, 2021
d37035d
Еще один фикс таймингов блоба
KIBORG04 Jun 4, 2021
7e41ebf
Недофикс команд абдукторов
KIBORG04 Jun 4, 2021
269719f
Теперь не будет автолуза рольки, если ты был гибнут. Все зависит от о…
KIBORG04 Jun 4, 2021
42bf92b
фикс варнинга
KIBORG04 Jun 4, 2021
3025edb
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Jun 4, 2021
e714526
Фикс конца раунда от мидраундового блоба
KIBORG04 Jun 6, 2021
1d3ac16
Merge branch 'master' into some_gamemode_update
KIBORG04 Jun 7, 2021
08fb1ae
Рефактор изменения цельки, если та уходит в крио
KIBORG04 Jun 8, 2021
6f73451
Майнд борера больше не будет копироваться и дублировать обжекты прошл…
KIBORG04 Jun 8, 2021
cd3f540
Рефактор makeAntag пркоа
KIBORG04 Jun 10, 2021
25ceb22
Фикс неправильного количество команд абдукторов
KIBORG04 Jun 11, 2021
13dc1fe
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Jun 11, 2021
71e617f
правильный пулл
KIBORG04 Jun 11, 2021
a749c1d
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Jun 11, 2021
1622b2f
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Jun 11, 2021
abfeb98
фикс невыдаваемого номера команды задаче бдукторов
KIBORG04 Jun 11, 2021
c167f57
фикс форс энда абдукторов
KIBORG04 Jun 11, 2021
95890f5
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Jun 13, 2021
e2750e9
Убрал спам ролей аленей в чек антагах
KIBORG04 Jun 13, 2021
9e6e3b6
Update abductors.dm
KIBORG04 Jun 13, 2021
662a8c4
Кривой фикс задач воксов и нормальный фикс задачи на харм
KIBORG04 Jun 14, 2021
1c4d846
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Jun 14, 2021
69469d1
В реву можно звать маломинутников и глав
KIBORG04 Jun 15, 2021
79694f0
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Jun 16, 2021
15a9782
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Jun 16, 2021
a9ecdf6
Вернул алиенам худ
KIBORG04 Jun 17, 2021
879b539
Сикрет плюс введен в ротацию
KIBORG04 Jun 17, 2021
5fbba02
Теперь во фракции будут передаваться все люди на сервере, а не только…
KIBORG04 Jun 17, 2021
6148d2e
Фикс кривого отображение имен лейтспавнедных глав
KIBORG04 Jun 18, 2021
e171974
Убрал бандл сикрет+, добавил бандл микс-режиов, где миксы и экста. Си…
KIBORG04 Jun 20, 2021
00ac96c
Merge branch 'master' into some_gamemode_update
T6751 Jun 22, 2021
c079af9
Merge branch 'master' of https://github.com/TauCetiStation/TauCetiCla…
KIBORG04 Jun 22, 2021
ec82e9b
фикс конфликтов
KIBORG04 Jun 22, 2021
5ae2918
anti_tm_commit
KIBORG04 Jun 22, 2021
1830134
Merge branch 'master' into some_gamemode_update
KIBORG04 Jun 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 36 additions & 0 deletions code/__DEFINES/DNA.dm
Expand Up @@ -10,3 +10,39 @@
#define TR_DEFAULTMSG (1<<5)
#define TR_KEEPSTUNS (1<<6)
#define TR_KEEPREAGENTS (1<<7)

// What each index means:
#define DNA_OFF_LOWERBOUND 0
#define DNA_OFF_UPPERBOUND 1
#define DNA_ON_LOWERBOUND 2
#define DNA_ON_UPPERBOUND 3

// Define block bounds (off-low,off-high,on-low,on-high)
// Used in setupgame.dm
#define DNA_DEFAULT_BOUNDS list(1,2049,2050,4095) //2050 = 8 0 2 #Z2(Added some comments)
#define DNA_HARDER_BOUNDS list(1,3049,3050,4095) //3050 = B E A
#define DNA_HARD_BOUNDS list(1,3490,3500,4095) //3500 = D A C ##Z2

// UI Indices (can change to mutblock style, if desired)
#define DNA_UI_HAIR_R 1
#define DNA_UI_HAIR_G 2
#define DNA_UI_HAIR_B 3
#define DNA_UI_BEARD_R 4
#define DNA_UI_BEARD_G 5
#define DNA_UI_BEARD_B 6
#define DNA_UI_SKIN_TONE 7
#define DNA_UI_SKIN_R 8
#define DNA_UI_SKIN_G 9
#define DNA_UI_SKIN_B 10
#define DNA_UI_EYES_R 11
#define DNA_UI_EYES_G 12
#define DNA_UI_EYES_B 13
#define DNA_UI_GENDER 14
#define DNA_UI_BEARD_STYLE 15
#define DNA_UI_HAIR_STYLE 16
#define DNA_UI_LENGTH 16 // Update this when you add something, or you WILL break shit.

#define DNA_SE_LENGTH 27
#define DNA_UNIQUE_ENZYMES_LEN 32
// For later:
//#define DNA_SE_LENGTH 50 // Was STRUCDNASIZE, size 27. 15 new blocks added = 42, plus room to grow.
10 changes: 10 additions & 0 deletions code/__DEFINES/dcs/signals.dm
Expand Up @@ -42,6 +42,16 @@
/// from base of religion/add_membern(): (/mob, holy_role)
#define COMSIG_REL_ADD_MEMBER "rite_on_chosen"

// /datum/role signals
/// from base of role/GetScoreboard(): ()
#define COMSIG_ROLE_GETSCOREBOARD "role_getscoreboard"
/// from base of role/extraPanelButtons(): ()
#define COMSIG_ROLE_PANELBUTTONS "role_panelbuttons"
/// from base of role/RoleTopic(): (href, href_list, datum/mind/M, admin_auth)
#define COMSIG_ROLE_ROLETOPIC "role_roletopic"
/// from base of role/OnPostSetup(): (laterole)
#define COMSIG_ROLE_POSTSETUP "role_postsetup"

// light related signals
/// from base of /atom/movable/lighting_object/update(): (turf/my_turf)
#define COMSIG_LIGHT_UPDATE_OBJECT "light_update_object"
Expand Down
80 changes: 80 additions & 0 deletions code/__DEFINES/gamemodes.dm
@@ -0,0 +1,80 @@
////////////////////// ID /////////////////////////

// Faction IDs
#define F_ABDUCTORS "Abductor Team"
#define F_BLOODCULT "Cult Of Blood"
#define F_BLOBCONGLOMERATE "Blob Conglomerate"
#define F_BORER_HIVEMIND "Borer Hivemind"
#define F_CUSTOMSQUAD "Custom Squad"
#define F_DEATHSQUAD "Nanotrasen Deathsquad"
#define F_EMERSQUAD "Emergency Response Team"
#define F_HEIST "Vox Shoal"
#define F_HIVEMIND "Changeling Hivemind"
#define F_REVOLUTION "Revolution"
#define F_SYNDIOPS "Syndicate Operatives"
#define F_SYNDIESQUAD "Syndicate Elite Strike Team"
#define F_SHADOWLINGS "Shadowlings"
#define F_SPIDERCLAN "Spider Clan"
#define F_WIZFEDERATION "Wizard Federation"
#define F_XENOMORPH_HIVE "Alien Hivemind"
#define F_ZOMBIES "Zobmies"

// Role IDs
#define ABDUCTOR_AGENT "Abductor Agent"
#define ABDUCTOR_SCI "Abductor Scientist"
#define ABDUCTED "Abducted"
Copy link
Contributor

Choose a reason for hiding this comment

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

Abductee это существительное, Abducted это прилагательное. У тебя везде используются имена существительные, а тут прилагательное, inconsistent.

Copy link
Contributor

Choose a reason for hiding this comment

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

существительные могут играть роль прилагательных в предложениях
(терминология здесь не корректна, но и в английском эти вещи по-другому называются)

"We have to save the abducted" (спасти кого? похищенных, не каких? похищенных)

#define BORER "Cortical Borer"
#define BLOBOVERMIND "Blob Overmind"
#define BLOBCEREBRATE "Blob Cerebrate"
#define CHANGELING "Changeling"
#define CULTIST "Cultist"
#define CULT_LEADER "Cult Leader"
#define DEATHSQUADIE "Death Commando"
#define HEADREV "Head Revolutionary"
#define MALF "Malf AI"
#define MALFBOT "Malf-Slaved Cyborg"
#define NUKE_OP "Nuclear Operative"
#define NUKE_OP_LEADER "Nuclear Operative Leader"
#define NINJA "Space Ninja"
#define REV "Revolutionary"
#define RESPONDER "Emergency Responder"
#define SHADOW "Shadowling"
#define SHADOW_THRALL "Thrall"
#define SYNDIESQUADIE "Syndicate Commando"
#define TRAITOR "Traitor"
#define TRAITORCHAN "TraitorChan"
#define VOXRAIDER "Vox Raider"
#define WIZARD "Wizard"
#define WIZ_APPRENTICE "Wizard Apprentice"
#define XENOMORPH "Xenomorph"

////////////////////// GREETS /////////////////////////
#define GREET_DEFAULT "default"
#define GREET_ROUNDSTART "roundstart"
#define GREET_LATEJOIN "latejoin"
#define GREET_CUSTOM "custom"

#define GREET_AUTOTATOR "autotator"
#define GREET_SYNDBEACON "syndbeacon"

///////////////// FACTION STAGES //////////////////////
#define FS_DEFEATED -1
#define FS_DORMANT 0
#define FS_ACTIVE 1
#define FS_ENDGAME 2
#define FS_VICTORY 3

/////////////////////// OTHERS ////////////////////////

// -- Objectives flags

#define FROM_GHOSTS 1
#define FROM_PLAYERS 2

// -- The paper

#define INTERCEPT_TIME_LOW 1 MINUTE
#define INTERCEPT_TIME_HIGH 3 MINUTE

#define ABDUCTOR_SCALING_COEFF 15 //how many players per abductor team
#define MAX_ABDUCTOR_TEAMS 4
24 changes: 0 additions & 24 deletions code/__DEFINES/genetics.dm
Expand Up @@ -13,30 +13,6 @@
#define NOCLONE 7
#define LASEREYES 8 // harm intent - click anywhere to shoot lasers from eyes

// Extra powers:
//#define SHADOW 11 // shadow teleportation (create in/out portals anywhere) (25%)
//#define SCREAM 12 // supersonic screaming (25%)
//#define EXPLOSIVE 13 // exploding on-demand (15%)
//#define REGENERATION 14 // superhuman regeneration (30%)
//#define REPROCESSOR 15 // eat anything (50%)
//#define SHAPESHIFTING 16 // take on the appearance of anything (40%)
//#define PHASING 17 // ability to phase through walls (40%)
//#define SHIELD 18 // shielding from all projectile attacks (30%)
//#define SHOCKWAVE 19 // attack a nearby tile and cause a massive shockwave, knocking most people on their asses (25%)
//#define ELECTRICITY 20 // ability to shoot electric attacks (15%)
//bitflags for mutations
// Extra powers:
#define SHADOW (1<<10) // shadow teleportation (create in/out portals anywhere) (25%)
#define SCREAM (1<<11) // supersonic screaming (25%)
#define EXPLOSIVE (1<<12) // exploding on-demand (15%)
#define REGENERATION (1<<13) // superhuman regeneration (30%)
#define REPROCESSOR (1<<14) // eat anything (50%)
#define SHAPESHIFTING (1<<15) // take on the appearance of anything (40%)
#define PHASING (1<<16) // ability to phase through walls (40%)
#define SHIELD (1<<17) // shielding from all projectile attacks (30%)
#define SHOCKWAVE (1<<18) // attack a nearby tile and cause a massive shockwave, knocking most people on their asses (25%)
#define ELECTRICITY (1<<19) // ability to shoot electric attacks (15%)

// Other Mutations:
#define NO_BREATH 100 // no need to breathe
#define REMOTE_VIEW 101 // remote viewing
Expand Down
48 changes: 48 additions & 0 deletions code/__DEFINES/is_helpers.dm
Expand Up @@ -126,6 +126,54 @@

#define isitem(A) (istype(A, /obj/item))

// ROLES / ANTAG

#define isfaction(A) (istype(A, /datum/faction))

#define isrole(type, H) (H?.mind ? H.mind.GetRole(type) : FALSE)

#define isanyantag(H) (H?.mind && H.mind.antag_roles.len)

#define isabductorsci(H) (H?.mind ? H.mind.GetRole(ABDUCTOR_SCI) : FALSE)

#define isabductoragent(H) (H?.mind ? H.mind.GetRole(ABDUCTOR_AGENT) : FALSE)

#define isshadowling(H) (H?.mind ? H.mind.GetRole(SHADOW) : FALSE)

#define isshadowthrall(H) (H?.mind ? H.mind.GetRole(SHADOW_THRALL) : FALSE)

#define iscultist(mob) (mob && global.cult_religion?.is_member(mob))

#define isvoxraider(H) (H?.mind ? H.mind.GetRole(VOXRAIDER) : FALSE)

#define ischangeling(H) (H?.mind ? H.mind.GetRoleByType(/datum/role/changeling) : FALSE)

#define isanyrev(H) (isrevnothead(H) || isrevhead(H))

#define isrev(H) (H?.mind ? H.mind.GetRole(REV) : FALSE)

#define isrevhead(H) (H?.mind ? H.mind.GetRole(HEADREV) : FALSE)

#define istraitor(H) (H?.mind ? H.mind.GetRole(TRAITOR) : FALSE)

#define iselitesyndie(H) (H?.mind ? H.mind.GetRole(SYNDIESQUADIE) : FALSE)

#define ismalf(H) (H?.mind ? H.mind.GetRole(MALF) : FALSE)

#define isnukeop(H) (H?.mind ? H.mind.GetRole(NUKE_OP) : FALSE)

#define iswizard(H) (H?.mind ? H.mind.GetRole(WIZARD) : FALSE)

#define isdeathsquad(H) (H?.mind ? H.mind.GetRole(DEATHSQUADIE) : FALSE)

#define isninja(H) (H?.mind ? H.mind.GetRole(NINJA) : FALSE)

#define isERT(H) (H?.mind ? H.mind.GetRole(RESPONDER) : FALSE)

#define isrolezombie(H) (H?.mind ? H.mind.GetRole(ZOMBIE) : FALSE)

#define isalien(H) (H?.mind ? H.mind.GetRole(XENOMORPH) : FALSE)

// BLOB

#define isblob(A) istype(A, /obj/effect/blob)
Expand Down
15 changes: 15 additions & 0 deletions code/__DEFINES/role_preferences.dm
Expand Up @@ -23,6 +23,21 @@
#define ROLE_ERT "Emergency Response Team"
#define ROLE_DRONE "Maintenance Drone"

var/global/list/antag_roles = list(
ROLE_TRAITOR,
ROLE_OPERATIVE,
ROLE_CHANGELING,
ROLE_WIZARD,
ROLE_MALF,
ROLE_REV,
ROLE_ALIEN,
ROLE_CULTIST,
ROLE_BLOB,
ROLE_NINJA,
ROLE_RAIDER,
ROLE_SHADOWLING,
ROLE_ABDUCTOR,
)

var/global/list/special_roles = list(
ROLE_TRAITOR,
Expand Down
2 changes: 1 addition & 1 deletion code/__HELPERS/_lists.dm
Expand Up @@ -136,7 +136,7 @@

total = rand(1, total)
for (item in L)
total -=L [item]
total -= L[item]
if (total <= 0)
return item

Expand Down
2 changes: 1 addition & 1 deletion code/__HELPERS/game.dm
Expand Up @@ -652,7 +652,7 @@

// first answer "Yes" > transfer
/mob/proc/try_request_n_transfer(mob/M, Question = "Would you like to be a special role?", be_special_type, Ignore_Role, show_warnings = FALSE)
if(key || mind || stat != CONSCIOUS)
if(key || mind || stat != CONSCIOUS || !M.client)
return

if(Ignore_Role && M.client.prefs.ignore_question.Find(IGNORE_BORER))
Expand Down
28 changes: 17 additions & 11 deletions code/__HELPERS/logging.dm
Expand Up @@ -2,7 +2,7 @@
// will get logs that are one big line if the system is Linux and they are using notepad. This solves it by adding CR to every line ending
// in the logs. ascii character 13 = CR

/var/global/log_end= world.system_type == UNIX ? ascii2text(13) : ""
/var/global/log_end = world.system_type == UNIX ? ascii2text(13) : ""

//print an error message to world.log
#define ERROR(MSG) error("[MSG] in [__FILE__] at line [__LINE__] src: [src] usr: [usr].")
Expand All @@ -23,7 +23,7 @@

/proc/round_log(msg)
world.log << "\[[time_stamp()]][global.round_id ? "Round #[global.round_id]:" : ""] [msg][log_end]"
game_log << "\[[time_stamp()]][global.round_id ? "Round #[global.round_id]:" : ""] [msg][log_end]"
global.game_log << "\[[time_stamp()]][global.round_id ? "Round #[global.round_id]:" : ""] [msg][log_end]"

/proc/log_href(text, say_type)
if (config && config.log_hrefs)
Expand Down Expand Up @@ -69,6 +69,10 @@
if (config.log_game)
global.game_log << "\[[time_stamp()]]GAME: [text][log_end]"

/proc/log_mode(text)
if (config.log_game)
global.game_log << "\[[time_stamp()]]MODE: [text][log_end]"

/proc/log_vote(text)
if (config.log_vote)
global.game_log << "\[[time_stamp()]]VOTE: [text][log_end]"
Expand Down Expand Up @@ -224,12 +228,14 @@
temprole = Mind.special_role
objectives = ""
if(temprole) //if they are an antagonist of some sort.
if(Mind.objectives.len)
for(var/datum/objective/O in Mind.objectives)
if(length(objectives))
objectives += " | "
objectives += "[O.explanation_text]"
objectives = " \[[objectives]\]"
for(var/role in Mind.antag_roles)
var/datum/role/R = Mind.antag_roles[role]
if(R.objectives.objectives.len)
for(var/datum/objective/O in R.objectives.GetObjectives())
if(length(objectives))
objectives += " | "
objectives += "[O.explanation_text]"
objectives = " \[[objectives]\]"

if(temprole in total_antagonists) //If the role exists already, add the name to it
total_antagonists[temprole] += "\n, [Mind.name]([Mind.key])[objectives]"
Expand All @@ -254,11 +260,11 @@
stats["end_time"] = time2text(world.realtime, "hh:mm:ss")
stats["duration"] = roundduration2text()
stats["mode"] = SSticker.mode
stats["mode_result"] = SSticker.mode.mode_result
stats["mode_result"] = SSticker.mode.get_mode_result()
stats["map"] = SSmapping.config.map_name

stats["completion_html"] = SSticker.mode.completion_text
stats["completion_antagonists"] = antagonists_completion//todo: icon2base64 icons?
stats["completion_html"] = SSticker.mode.completition_text
stats["completion_antagonists"] = antagonists_completion

stats["score"] = score
stats["achievements"] = achievements
Expand Down
34 changes: 14 additions & 20 deletions code/__HELPERS/names.dm
Expand Up @@ -153,24 +153,6 @@ var/syndicate_name = null
syndicate_name = name
return name

var/gang_name_pool = list("Clandestine", "Prima", "Zero-G", "Max", "Blasto", "Waffle", "North", "Omni", "Newton", "Cyber", "Donk", "Gene", "Gib", "Tunnel", "Diablo", "Psyke", "Osiron")
var/gang_A_name = null
var/gang_B_name = null
/proc/gang_name(gang)
if(!gang_A_name || !gang_B_name)
gang_A_name = pick(gang_name_pool)
gang_name_pool -= gang_A_name
gang_B_name = pick(gang_name_pool)
gang_name_pool -= gang_B_name

if(gang == "A")
if(gang_A_name)
return gang_A_name
if(gang == "B")
if(gang_B_name)
return gang_B_name


//Traitors and traitor silicons will get these. Revs will not.
var/global/list/syndicate_code_phrase = list() //Code phrase for traitors.
var/global/list/syndicate_code_response = list() //Code response for traitors.
Expand Down Expand Up @@ -247,10 +229,22 @@ var/global/regex/code_response_highlight_rule
return

/proc/highlight_traitor_codewords(message, datum/mind/traitor_mind)
if(!traitor_mind || !traitor_mind.syndicate_awareness)
if(!traitor_mind)
return message

var/awareness = 0
for(var/role in traitor_mind.antag_roles)
var/datum/role/R = traitor_mind.antag_roles[role]
var/datum/component/gamemode/syndicate/S = R.GetComponent(/datum/component/gamemode/syndicate)
if(!S)
continue
if(S.syndicate_awareness > awareness)
awareness = S.syndicate_awareness

if(!awareness)
return message

switch(traitor_mind.syndicate_awareness)
switch(awareness)
if(SYNDICATE_AWARE)
message = highlight_codewords(message, global.code_phrase_highlight_rule) // Same can be done with code_response or any other list of words, using regex created by generate_code_regex(). You can also add the name of CSS class as argument to change highlight style.
message = highlight_codewords(message, global.code_response_highlight_rule, "deptradio")
Expand Down
5 changes: 2 additions & 3 deletions code/_globalvars/game_modes.dm
@@ -1,6 +1,5 @@
var/master_mode = "extended"//"extended"
var/secret_force_mode = "secret" // if this is anything but "secret", the secret rotation will forceably choose this mode
var/master_mode = "extended" //"extended"
var/secret_force_mode = "Secret" // if this is anything but "Secret", the secret rotation will forceably choose this mode

var/wavesecret = 0
var/datum/station_state/start_state = null
var/master_last_mode = null // this variable contain the last played mode from previous round