forked from TauCetiStation/TauCetiClassic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'TauCetiStation:master' into master
- Loading branch information
Showing
1,153 changed files
with
311,565 additions
and
343,298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
## | ||
# Подробнее: https://docs.github.com/ru/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners | ||
# | ||
# Вы должны быть частью команды гитхаб-организации, иначе гитхаб не сможет назначить вас на ревью. | ||
# Так что запросите у мейнтейнеров инвайт в группу Collaborators, если необходимо. | ||
# UPD: Гитхаб всё еще просит write права для Codeowners, так что сейчас будет работать только для мейнтейнеров | ||
# https://github.com/orgs/community/discussions/23042 | ||
# | ||
# | ||
# Держите файлы и папки в алфавитном порядке (так, как они отсортированны в DreamMaker и taucetistation.dme). | ||
# | ||
# CODEOWNERS используются у нас ТОЛЬКО ДЛЯ УВЕДОМЛЕНИЙ, если вы хотите закрепить за собой обязательность | ||
# ревью PR-а перед мержем - напишите об этом дополнительно в PR, желательно в первые сутки его открытия! | ||
# | ||
## | ||
|
||
## Код ## | ||
# /code/ | ||
/code/modules/client/preferences_savefile.dm @volas | ||
|
||
## Конфиги ## | ||
/config/ @volas | ||
|
||
## Иконки ## | ||
/icons/ sprites-department | ||
|
||
## Карты ## | ||
# Если вы хотите проверять все карты, раскоментируйте и добавьте себя: | ||
# /maps/ @вы | ||
/maps/testmap/testmap.dmm @volas | ||
|
||
## TGUI ## | ||
# /tgui/ @вы | ||
|
||
## Общее ## | ||
*.py @volas | ||
*.sh @volas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
## | ||
# Почти CODEOWNERS, только работает лучше. Формат: https://github.com/dyladan/component-owners | ||
# Реквестит ревью указанных людей/команд при изменениях в указанных файлах/папках. Названия команд начинаются с "/", пути от корневой папки. | ||
# | ||
# Вы должны быть частью команды гитхаб-организации, иначе гитхаб не сможет назначить вас на ревью. | ||
# Так что запросите у мейнтейнеров инвайт в группу Collaborators, если необходимо. Или в другие подходящие группы. | ||
# | ||
# Держите файлы и папки в алфавитном порядке (так, как они отсортированны в DreamMaker и taucetistation.dme). | ||
# | ||
# CODEOWNERS используются у нас ТОЛЬКО ДЛЯ УВЕДОМЛЕНИЙ, если вы хотите закрепить за собой обязательность | ||
# ревью PR-а перед мержем - напишите об этом дополнительно в PR, желательно в первые сутки его открытия! | ||
# | ||
## | ||
|
||
components: | ||
## Код ## | ||
|
||
# /code/ | ||
code/modules/client/preferences_savefile.dm: volas | ||
|
||
## Конфиги ## | ||
config/: volas | ||
|
||
## Иконки ## | ||
icons/: | ||
/sprites-department | ||
|
||
## Карты ## | ||
maps/boxstation/: /maps-department | ||
#maps/delta/: Deahaka | ||
#maps/falcon/: Tap0r | ||
#maps/gamma/: AgRevol | ||
#maps/prometheus/: Tap0r | ||
#maps/stroechka/: Tap0r | ||
maps/testmap/: volas | ||
|
||
## TGUI ## | ||
# tgui/: вы | ||
|
||
## Общее ## | ||
"*.py": volas | ||
"*.sh": volas | ||
|
||
.github/: /maintainers | ||
|
||
ignored-authors: | ||
- dependabot | ||
- renovate-bot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: "Сообщить о проблеме" | ||
description: "Если что-то работает не так, как ожидалось." | ||
labels: ["Bug"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: "## Пожалуйста, не стирайте строчки, которые были автоматически созданы." | ||
|
||
- type: textarea | ||
id: description | ||
validations: | ||
required: true | ||
attributes: | ||
label: "Описание" | ||
description: "Опишите одну проблему как можно подробнее" | ||
value: | | ||
#### Что должно было произойти | ||
#### Что произошло на самом деле | ||
- type: textarea | ||
id: reproduction | ||
attributes: | ||
label: "Шаги воспроизведения" | ||
description: "Если приемлемо, опишите шаги для воспроизведения проблемы" | ||
placeholder: | | ||
1. Найти автолат | ||
2. Открыть его меню, кликнул ЛКМ | ||
3. Получить лаги | ||
- type: textarea | ||
id: additional | ||
attributes: | ||
label: "Дополнительная информация:" | ||
description: | | ||
Вы можете добавьте скриншоты, чтобы помочь описать вашу проблему | ||
**Подсказка**: Вы можете прикрепить изображения, щелкнув по области ниже для её выделения, | ||
а затем перетащите в неё файлы |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: "Оставить предложение" | ||
title: "[Proposal] " | ||
description: "Любые идеи." | ||
labels: ["Proposal"] | ||
body: | ||
- type: textarea | ||
id: description | ||
validations: | ||
required: true | ||
attributes: | ||
label: "Описание" | ||
description: "Опишите идею" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: 'Component Owners' | ||
on: | ||
# pull_request_target is suggested for projects where pull requests will be | ||
# made from forked repositories. If pull_request is used in these cases, | ||
# the github token will not have sufficient permission to update the PR. | ||
pull_request_target: | ||
|
||
permissions: | ||
contents: read # to read changed files | ||
issues: write # to read/write issue assignees | ||
pull-requests: write # to read/write PR reviewers | ||
|
||
jobs: | ||
run_self: | ||
runs-on: ubuntu-latest | ||
name: Auto Assign Owners | ||
steps: | ||
- uses: volas/component-owners@main | ||
with: | ||
# default: .github/component_owners.yml | ||
config-file: .github/COMPONENTOWNERS.yml | ||
# default: ${{ github.token }} | ||
repo-token: ${{ secrets.CODEOWNER_SECRET }} | ||
# default: true | ||
assign-owners: "false" | ||
# default: true | ||
request-owner-reviews: "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ | |
taucetistation.dmb | ||
Thumbs.db | ||
data/ | ||
cache/ | ||
cfg/ | ||
.vscode | ||
**/MapFXDrawer/*.png | ||
test_merge.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
//////////////////////////////////////////////// | ||
// Падежи // | ||
//////////////////////////////////////////////// | ||
|
||
#define NOMINATIVE_CASE 1 //delete when names get translated... or dont. | ||
#define GENITIVE_CASE 2 | ||
#define DATIVE_CASE 3 | ||
#define ACCUSATIVE_CASE 4 | ||
#define ABLATIVE_CASE 5 | ||
#define PREPOSITIONAL_CASE 6 | ||
|
||
// Пример определения CASEs у объекта: | ||
// /atom | ||
// cases = list("атом", "атома", "атому", "атом", "атомом", "атоме") | ||
// | ||
// Пример использования: | ||
// "... [CASE(atom, DATIVE_CASE)] ..." | ||
// Если у объекта не определены cases, будет взят дефолтный name, который скорее всего на английском. | ||
|
||
#define CASE(atom, case) (atom.cases && atom.cases[case] ? atom.cases[case] : atom.name) | ||
|
||
//////////////////////////////////////////////// | ||
// Местоимения(ENG) // | ||
//////////////////////////////////////////////// | ||
|
||
// В английском большинство ситуаций покрывается дефолтными бьендовскими макросами: | ||
// https://www.byond.com/docs/ref/info.html#/DM/text/macros | ||
// но дефолтные макросы контекстно зависимы от положения в строке и их не всегда достаточно | ||
|
||
#define P_THEY(atom) atom.gender == MALE && "he" \ | ||
|| atom.gender == FEMALE && "she" \ | ||
|| atom.gender == NEUTER && "it" \ | ||
|| "they" | ||
|
||
#define P_THEM(atom) atom.gender == MALE && "him" \ | ||
|| atom.gender == FEMALE && "her" \ | ||
|| "them" | ||
|
||
#define P_THEIR(atom) atom.gender == MALE && "his" \ | ||
|| atom.gender == FEMALE && "her" \ | ||
|| "their" | ||
|
||
//////////////////////////////////////////////// | ||
// Местоимения(RU) // | ||
//////////////////////////////////////////////// | ||
|
||
// По большей части аналоги дефолтных бьендовских макросов, но для русского языка | ||
|
||
// И Кто/что | ||
// "Неудачно пошутив, [THEY_RU(src)] падает без признаков жизни" | ||
#define THEY_RU(atom) atom.gender == MALE && "он" \ | ||
|| atom.gender == FEMALE && "она" \ | ||
|| atom.gender == NEUTER && "оно" \ | ||
|| "они" | ||
// Р Кого/чего | ||
// "У вас больше нет [THEIR_RU(src)]" | ||
#define THEIR_RU(atom) atom.gender == MALE && "его" \ | ||
|| atom.gender == FEMALE && "её" \ | ||
|| atom.gender == NEUTER && "этого" \ | ||
|| "их" | ||
// Д Кому/чему | ||
// "Вы передали [TO_RU(src)] предмет" | ||
#define TO_RU(atom) atom.gender == MALE && "ему" \ | ||
|| atom.gender == FEMALE && "ей" \ | ||
|| atom.gender == NEUTER && "этому" \ | ||
|| "им" | ||
// Д К кому/к чему | ||
// "По [TO2_RU(src)] сразу видно" | ||
#define TO2_RU(atom) atom.gender == MALE && "нему" \ | ||
|| atom.gender == FEMALE && "ней" \ | ||
|| atom.gender == NEUTER && "этому" \ | ||
|| "ним" | ||
// В Кого/что | ||
// "Вы больше не видите [THEM_RU(src)]" | ||
#define THEM_RU(atom) atom.gender == MALE && "его" \ | ||
|| atom.gender == FEMALE && "её" \ | ||
|| atom.gender == NEUTER && "это" \ | ||
|| "их" | ||
// Т Кем/чем | ||
// "Вы пытаетесь ударить [BY_RU(src)]" | ||
#define BY_RU(atom) atom.gender == MALE && "им" \ | ||
|| atom.gender == FEMALE && "ею" \ | ||
|| atom.gender == NEUTER && "этим" \ | ||
|| "ими" | ||
// П (В) ком/чём | ||
// "Вы полностью уверены в [IN_RU(src)]" | ||
#define IN_RU(atom) atom.gender == MALE && "нём" \ | ||
|| atom.gender == FEMALE && "ней" \ | ||
|| atom.gender == NEUTER && "этом" \ | ||
|| "них" | ||
// П О ком/о чём | ||
// "Вы всё время думаете [ABOUT_RU(src)]" | ||
#define ABOUT_RU(atom) atom.gender == MALE && "о нём" \ | ||
|| atom.gender == FEMALE && "о ней" \ | ||
|| atom.gender == NEUTER && "об этом" \ | ||
|| "о них" | ||
// Чьё | ||
// "По неизвестной причине [MY_RU(src)] зрение ухудшается" // todo: имеется в виду [MY_RU(зрение)], тут и ниже - так себе примеры | ||
#define MY_RU(atom) atom.gender == MALE && "мой" \ | ||
|| atom.gender == FEMALE && "моя" \ | ||
|| atom.gender == NEUTER && "моё" \ | ||
|| "мои" | ||
// Чьё | ||
// "Вы пытаетесь встать, но [YOURS_RU(src)] ноги не шевелятся" | ||
#define YOURS_RU(atom) atom.gender == MALE && "ваш" \ | ||
|| atom.gender == FEMALE && "ваша" \ | ||
|| atom.gender == NEUTER && "ваше" \ | ||
|| "ваши" | ||
// Который | ||
// "К сожалению, [WHICH_RU(src)] органическое лезвие нельзя положить в сумку" | ||
#define WHICH_RU(atom) atom.gender == MALE && "этот" \ | ||
|| atom.gender == FEMALE && "эта" \ | ||
|| atom.gender == NEUTER && "это" \ | ||
|| "эти" | ||
|
||
//////////////////////////////////////////////// | ||
// Глагол // | ||
//////////////////////////////////////////////// | ||
|
||
// Прошедшее время глагола | ||
// "делал[VERB_RU(src)]" | ||
#define VERB_RU(atom) atom.gender == MALE && "" \ | ||
|| atom.gender == FEMALE && "а" \ | ||
|| atom.gender == NEUTER && "о" \ | ||
|| "и" | ||
// Прошедшее время возвратного глагола | ||
// "отказал[VERB2_RU(src)] взять предмет" | ||
#define VERB2_RU(atom) atom.gender == MALE && "ся" \ | ||
|| atom.gender == FEMALE && "ась" \ | ||
|| atom.gender == NEUTER && "ось" \ | ||
|| "ись" | ||
|
||
//////////////////////////////////////////////// | ||
// Прочее // | ||
//////////////////////////////////////////////// | ||
|
||
// Произвольное слово в вариации по родам | ||
// "[vessel] [ANYMORPH(vessel, "полон", "полна", "полно", "полны")]" | ||
#define ANYMORPH(atom, w_male, w_female, w_neuter, w_plural) atom.gender == MALE && w_male \ | ||
|| atom.gender == FEMALE && w_female \ | ||
|| atom.gender == NEUTER && w_neuter \ | ||
|| w_plural |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.