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

Респрайт большинства ID-карт. #993

Merged
merged 8 commits into from
Jan 1, 2025

Conversation

CatBackGround
Copy link
Contributor

@CatBackGround CatBackGround commented Dec 31, 2024

Описание PR

Текущие огрызки, называемые ID-картами, требовали косметического респрайта. Получите, и распишитесь.

Медиа

Soon...

Тип PR

  • Feature
  • Fix
  • Tweak
  • Balance
  • Refactor
  • Port
  • Translate
  • Resprite

Изменения

🆑 CatBackGround

  • tweak: Изменены спрайты ID-карт.

Summary by CodeRabbit

  • Визуальные изменения

    • Обновлен внешний вид ID-карт с изменением графики на новые состояния
    • Добавлены новые состояния и цветовые варианты ID-карт
    • Изменена атрибуция графических ресурсов на CatBackGround и fizzoghoster
  • Обновления

    • Переименованы состояния ID-карт для более точного обозначения
    • Добавлены новые графические состояния с поддержкой направлений

@CatBackGround CatBackGround requested a review from Rxup as a code owner December 31, 2024 10:31
Copy link
Contributor

coderabbitai bot commented Dec 31, 2024

Walkthrough

Изменения затрагивают файлы, связанные с идентификационными картами в игре. Были обновлены метаданные и прототипы карт, включая переименование состояний, изменение атрибуции авторства и добавление новых визуальных состояний. Модификации коснулись как файлов текстур, так и описаний сущностей, что указывает на комплексное обновление системы идентификационных карт.

Changes

Файл Изменения
Resources/Prototypes/_Backmen/Entities/Objects/Misc/identification_cards.yml Обновлен BlueShieldIDCard: изменено состояние спрайта на silver, добавлено новое состояние idblueshield
Resources/Textures/Backmen/Objects/Misc/id_cards.rsi/meta.json Обновлена атрибуция авторства, добавлено новое состояние silver
Resources/Textures/Objects/Misc/id_cards.rsi/meta.json Полное переименование состояний карт, обновление атрибуции на "Resprited ALL by CatBackGround(GitHub)"

Poem

🐰 В мире карт, где каждый штрих важен,
Серебряный блеск, новый образ награжден.
Кролик-дизайнер творит без прикрас,
Идентити меняется в этот раз!
Да здравствует стиль, да здравствует код! 🎨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added size/XS S: Untriaged Changes: Sprites Should be reviewed or fixed by people who are knowledgeable with spriting or visual design. No C# Нету кода. and removed S: Untriaged labels Dec 31, 2024
Copy link
Contributor

github-actions bot commented Dec 31, 2024

RSI Diff Bot; head commit a8d9c72 merging into f9aa07e
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/Backmen/Objects/Misc/id_cards.rsi

State Old New Status
default Modified
idblueshield Modified
idbrigmedic Modified
idexplorer Modified
idfreelancer Modified
idstudent Modified
unaffiliated Modified
silver Added

Resources/Textures/Objects/Misc/id_cards.rsi

State Old New Status
admin Modified
centcom Modified
default Modified
ert_commander Modified
ert_engineer Modified
ert_janitor Modified
ert_medic Modified
ert_security Modified
gold Modified
idadmin Modified
idatmospherictechnician Modified
idbartender Modified
idbotanist Modified
idboxer Modified
idbrigmedic Modified
idcaptain Modified
idcargotechnician Modified
idcentcom Modified
idchaplain Modified
idchemist Modified
idchiefengineer Modified
idchiefmedicalofficer Modified
idclown Modified
idcook Modified
idcurator Modified
iddetective Modified
idheadofpersonnel Modified
idheadofsecurity Modified
idiaa Modified
idintern-cadet Modified
idintern-med Modified
idintern-sci Modified
idintern-service Modified
idintern-tech Modified
idjanitor Modified
idmedicaldoctor Modified
idmime Modified
idmusician Modified
idparamedic Modified
idpassenger Modified
idpilot Modified
idprisoner Modified
idpsychologist Modified
idquartermaster Modified
idreporter Modified
idresearchdirector Modified
idroboticist Modified
idscientist Modified
idsecurityofficer Modified
idseniorengineer Modified
idseniorofficer Modified
idseniorphysician Modified
idseniorresearcher Modified
idshaftminer Modified
idstationengineer Modified
idvisitor Modified
idwarden Modified
idzookeeper Modified
orange Modified
silver Modified
syndie Modified

Edit: diff updated after a8d9c72

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 98ee3ce and 68e2f5d.

📒 Files selected for processing (1)
  • Resources/Textures/Objects/Misc/id_cards.rsi/meta.json (3 hunks)
🔇 Additional comments (3)
Resources/Textures/Objects/Misc/id_cards.rsi/meta.json (3)

Line range hint 137-281: Проверьте полноту обновления спрайтов

Большое количество добавленных состояний ID-карт требует проверки наличия соответствующих спрайтов и их качества. Убедитесь, что:

  1. Все новые состояния имеют соответствующие спрайты
  2. Спрайты соответствуют общему стилю игры
  3. Нет пропущенных или устаревших состояний

Рекомендуется добавить комментарии к группам состояний для улучшения читаемости файла meta.json. Например:

  "states": [
+    // Administrative cards
    {
      "name": "admin"
    },
+    // ERT cards
    {
      "name": "ert_chaplain"
    },
✅ Verification successful

Все спрайты ID-карт присутствуют и корректны

Проверка показала, что:

  • Все состояния ID-карт, указанные в meta.json, имеют соответствующие .png файлы
  • Не обнаружено подозрительно маленьких или пустых спрайтов (менее 100 байт)
  • Все спрайты находятся в ожидаемой директории Resources/Textures/Objects/Misc/id_cards.rsi/
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Проверка наличия спрайтов для всех состояний
jq -r '.states[].name' Resources/Textures/Objects/Misc/id_cards.rsi/meta.json | while read state; do
  if [[ ! $state =~ "inhand" ]]; then
    echo "Проверка спрайта для состояния: $state"
    test -f "Resources/Textures/Objects/Misc/id_cards.rsi/$state.png"
  fi
done

Length of output: 16769


Script:

#!/bin/bash
# Проверяем наличие файлов .png для всех состояний и выводим отсутствующие
echo "Отсутствующие спрайты:"
jq -r '.states[].name' Resources/Textures/Objects/Misc/id_cards.rsi/meta.json | while read state; do
  if [[ ! $state =~ "inhand" ]] && [ ! -f "Resources/Textures/Objects/Misc/id_cards.rsi/$state.png" ]; then
    echo "- $state"
  fi
done

# Проверяем размеры файлов, чтобы убедиться что они не пустые
echo -e "\nПодозрительно маленькие спрайты (менее 100 байт):"
find Resources/Textures/Objects/Misc/id_cards.rsi -name "*.png" -size -100c -exec ls -lh {} \;

Length of output: 10249


32-41: Проверьте согласованность переименований

Переименование состояний ID-карт может повлиять на другие части кодовой базы. Необходимо убедиться, что все ссылки на старые названия обновлены:

  • goldidcentcom
  • idpassengeridgeneticist
  • idatmospherictechnicianidlawyer

4-4: Проверьте корректность информации об авторских правах

Изменение атрибуции авторских прав с нескольких авторов на одного требует подтверждения. Убедитесь, что:

  1. Все спрайты действительно были переработаны
  2. Предыдущие авторы согласны с удалением их упоминаний
  3. Лицензия CC-BY-SA-3.0 соблюдается корректно

Comment on lines +89 to +134
"name": "gold-inhand-left",
"directions": 4
},
{
"name": "idbrigmedic"
"name": "gold-inhand-right",
"directions": 4
},
{
"name": "idjanitor"
"name": "default-inhand-left",
"directions": 4
},
{
"name": "idlawyer"
"name": "default-inhand-right",
"directions": 4
},
{
"name": "idiaa"
"name": "silver-inhand-left",
"directions": 4
},
{
"name": "idmedicaldoctor"
"name": "silver-inhand-right",
"directions": 4
},
{
"name": "idmime"
"name": "orange-inhand-left",
"directions": 4
},
{
"name": "idparamedic"
"name": "orange-inhand-right",
"directions": 4
},
{
"name": "idpsychologist"
"name": "blue-inhand-left",
"directions": 4
},
{
"name": "idreporter"
"name": "blue-inhand-right",
"directions": 4
},
{
"name": "idprisoner"
"name": "green-inhand-left",
"directions": 4
},
{
"name": "idquartermaster"
"name": "green-inhand-right",
"directions": 4
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Codebase verification

Обнаружено несоответствие между метаданными и файлами спрайтов

В meta.json указано "directions": 4 для спрайтов в руках, что подразумевает наличие 4 направлений (0-3) для каждого спрайта. Однако фактически присутствуют только базовые спрайты без нумерации направлений (например, blue-inhand-left.png вместо ожидаемых blue-inhand-left.0.png, blue-inhand-left.1.png и т.д.).

Необходимо:

  • Либо создать спрайты для всех 4 направлений
  • Либо изменить значение directions на 1 в meta.json, если анимация для разных направлений не требуется
🔗 Analysis chain

Проверьте корректность направлений спрайтов

Добавление атрибута directions: 4 для спрайтов в руках - правильное решение. Однако нужно убедиться, что все необходимые спрайты присутствуют в текстурах.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Проверка наличия всех необходимых спрайтов
for direction in {0..3}; do
  for hand in left right; do
    for type in gold default silver orange blue green; do
      echo "Проверка: $type-inhand-$hand.$direction.png"
      test -f "Resources/Textures/Objects/Misc/id_cards.rsi/$type-inhand-$hand.$direction.png"
    done
  done
done

Length of output: 10407


Script:

#!/bin/bash
# Проверяем наличие файлов спрайтов с помощью ls, чтобы увидеть, какие файлы существуют
ls -la Resources/Textures/Objects/Misc/id_cards.rsi/*-inhand-*.png

Length of output: 2224

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
Resources/Textures/Objects/Misc/id_cards.rsi/meta.json (1)

Line range hint 137-281: Рекомендации по улучшению структуры файла

Для улучшения читаемости и поддерживаемости файла предлагается:

  1. Сгруппировать состояния по категориям (базовые карты, карты отделов, специальные карты)
  2. Добавить комментарии или описания для каждой группы состояний

Пример структуры:

{
  "states": [
    // Базовые карты
    { "name": "default" },
    { "name": "silver" },
    { "name": "gold" },
    
    // Карты отделов
    { "name": "idchiefengineer" },
    { "name": "idcaptain" },
    
    // Специальные карты
    { "name": "syndie" },
    { "name": "prisoner_001" }
  ]
}
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 98ee3ce and 68e2f5d.

📒 Files selected for processing (1)
  • Resources/Textures/Objects/Misc/id_cards.rsi/meta.json (3 hunks)
🔇 Additional comments (2)
Resources/Textures/Objects/Misc/id_cards.rsi/meta.json (2)

89-134: Корректная структура направленных спрайтов

Добавленные состояния для спрайтов в руках имеют правильную структуру:

  • Каждый вариант имеет левую и правую версию
  • Все состояния корректно определяют 4 направления

32-41: Проверить соответствие переименований игровой логике

Замечены существенные изменения в названиях состояний ID-карт. Необходимо подтвердить, что:

  1. Новые названия соответствуют актуальным ролям в игре
  2. Переименования не нарушат работу существующего кода

Например:

  • idcentcom (строка 32)
  • idgeneticist (строка 35)
  • idlawyer (строка 38)
✅ Verification successful

Let me generate additional verification scripts to check the new state names and their usage.


Изменения в состояниях ID-карт соответствуют игровой логике

На основе проверки кодовой базы подтверждаю, что:

  • Новое состояние idcentcom активно используется в прототипах для карт Центрального Командования
  • Состояние idgeneticist правильно определено для карт генетиков
  • Состояние idlawyer используется в прототипах для карт юристов
  • Все новые состояния корректно определены в meta.json файле спрайтов

Изменения в именах состояний согласуются с существующими конвенциями именования в кодовой базе и отражают соответствующие роли персонала.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Проверка использования старых названий состояний в коде
rg "gold|idpassenger|idatmospherictechnician" --type yaml

Length of output: 26670


Script:

#!/bin/bash
# Check for references to the new ID card states
rg "idcentcom|idgeneticist|idlawyer|idunknown" --type yaml

# Check the full content of the meta.json file
cat Resources/Textures/Objects/Misc/id_cards.rsi/meta.json

Length of output: 5312

@@ -1,18 +1,12 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/d917f4c2a088419d5c3aec7656b7ff8cebd1822e idcluwne made by brainfood1183 (github) for ss14, idbrigmedic made by PuroSlavKing (Github), pirate made by brainfood1183 (github), idadmin made by Arimah (github), idvisitor by IProduceWidgets (Github), idintern-service by spanky-spanky (Github)",
"copyright": "Resprited ALL by CatBackGround(GitHub).",
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Codebase verification

⚠️ Potential issue

Необходимо сохранить информацию о лицензии и авторских правах

Текущее изменение некорректно с точки зрения лицензии CC-BY-SA-3.0, которая требует указания авторства оригинальных работ. Даже при полном респрайте необходимо сохранять информацию об оригинальных авторах, так как новые спрайты являются производной работой.

Предлагаемые исправления:

-  "copyright": "Resprited ALL by CatBackGround(GitHub).",
+  "copyright": "Оригинальные спрайты от Space Wizards и tgstation под CC-BY-SA-3.0. Полный респрайт выполнен CatBackGround(GitHub)."

• Файл уже содержит правильную лицензию ("license": "CC-BY-SA-3.0"), но требуется корректное указание авторства в соответствии с условиями этой лицензии.

🔗 Analysis chain

Необходимо сохранить историю авторства

Текущее изменение удаляет информацию об оригинальных авторах спрайтов. Даже при полном респрайте, рекомендуется сохранить ссылку на оригинальные работы, от которых произошли изменения.

Предлагаемое исправление:

-  "copyright": "Resprited ALL by CatBackGround(GitHub).",
+  "copyright": "Original sprites from tgstation and SS14 contributors, resprited by CatBackGround(GitHub).",

Let me verify the copyright attribution history by checking the git history and related files.


Let me check the content of these license files and README to understand the project's attribution requirements.


Let me fix the command to properly search for copyright information in RSI files.


Let me check the specific RSI file content to understand the previous copyright information.

🏁 Scripts executed

The following scripts were executed for the analysis:

Error: No shell scripts found


Script:

#!/bin/bash
# Check git history for the specific file
git log -p -- Resources/Textures/Objects/Misc/id_cards.rsi/meta.json | head -n 50

# Look for any README or license files in the texture directory
fd -t f "README|LICENSE" Resources/Textures/

# Check for any attribution or copyright files in the root
fd -t f -d 1 "^(COPYRIGHT|LICENSE|CREDITS|README)"

Length of output: 144


Script:

#!/bin/bash
# Check README.md for attribution guidelines
cat README.md | grep -A 5 -i "attribution\|credit\|copyright"

# Check content of both license files
head -n 10 LICENSE-AGPLv3.txt
head -n 10 LICENSE-MIT.TXT

# Let's also check if there are any other RSI files with copyright information
fd -e json -x grep -l "copyright" {} \; Resources/Textures/

Length of output: 1448


Script:

#!/bin/bash
# Search for copyright information in RSI metadata files
cd Resources/Textures && fd -e json -x grep -l "copyright" {}

# Also check if there are any specific guidelines for sprites
cd ../../
fd "SPRITING|ARTWORK|ART" -i

Length of output: 65641


Script:

#!/bin/bash
# Check the content of the ID cards meta.json file
cat Resources/Textures/Objects/Misc/id_cards.rsi/meta.json

# Check if there are any contribution guidelines
cat README.md | head -n 30

Length of output: 6034

@korguzenok
Copy link
Contributor

мне не нравится, удаляй

@CatBackGround
Copy link
Contributor Author

мне не нравится, удаляй

Терпи.

@PuroSlavKing
Copy link
Contributor

если ты собрался этой хуйнёй маяться, то почему бы не сделать нормально?
image
У тебя есть нормальное разделение на слои, зачем ты лепишь в один спрайт

@CatBackGround
Copy link
Contributor Author

ert_security
ert_medic
ert_commander
ert_janitor
ert_engineer
Потому что оно на одном слое. @PuroSlavKing

@CatBackGround
Copy link
Contributor Author

image
image

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

♻️ Duplicate comments (1)
Resources/Textures/Objects/Misc/id_cards.rsi/meta.json (1)

4-4: ⚠️ Potential issue

Необходимо сохранить информацию об оригинальных авторах

Текущее изменение нарушает условия лицензии CC-BY-SA-3.0, которая требует сохранения информации об оригинальных авторах даже при полном респрайте, так как новые спрайты являются производной работой.

Предлагаемое исправление:

-  "copyright": "Resprited ALL by CatBackGround(GitHub) & fizzoghoster(Discord).",
+  "copyright": "Оригинальные спрайты от Space Wizards и tgstation под CC-BY-SA-3.0. Респрайт выполнен CatBackGround(GitHub) и fizzoghoster(Discord)."
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 68e2f5d and a8d9c72.

📒 Files selected for processing (1)
  • Resources/Textures/Objects/Misc/id_cards.rsi/meta.json (3 hunks)
🔇 Additional comments (1)
Resources/Textures/Objects/Misc/id_cards.rsi/meta.json (1)

89-134: Проверьте наличие спрайтов для всех направлений

В мета-данных указано "directions": 4 для спрайтов в руках, что требует наличия спрайтов для всех 4 направлений. Убедитесь, что все необходимые спрайты присутствуют в текстурах.

#!/bin/bash
# Проверка наличия всех необходимых спрайтов для каждого направления
for type in gold default silver orange blue green; do
  for hand in left right; do
    for dir in {0..3}; do
      echo "Проверка: $type-inhand-$hand.$dir.png"
      test -f "Resources/Textures/Objects/Misc/id_cards.rsi/$type-inhand-$hand.$dir.png"
    done
  done
done

Comment on lines +173 to +179
"name": "iddetective"
},
{
"name": "idheadofpersonnel"
},
{
"name": "idiaa"
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Codebase verification

Обнаружены проблемы с реализацией новых ID-карт

  • Спрайты idheadofpersonnel.png и idiaa.png отсутствуют в RSI директории, хотя состояния определены в meta.json
  • Прототипы для карт существуют:
    • idheadofpersonnel в Resources/Prototypes/Entities/Objects/Misc/identification_cards.yml
    • idiaa в Resources/Prototypes/_Backmen/Roles/Jobs/CentCom/centcom_official.yml, centcom_admiral.yml и Resources/Prototypes/Corvax/Entities/Objects/Misc/identification_cards.yml
  • Локализация для "Head of Personnel" присутствует в обоих языках (en-US и ru-RU), но отсутствует полная локализация для "Internal Affairs Agent"

Необходимо:

  1. Добавить отсутствующие спрайты для состояний idheadofpersonnel и idiaa
  2. Добавить недостающие строки локализации для должности Internal Affairs Agent
🔗 Analysis chain

Проверьте новые состояния

Добавлены новые состояния:

  • idheadofpersonnel
  • idiaa

Убедитесь, что:

  1. Спрайты для этих состояний присутствуют в RSI
  2. Прототипы для новых ID-карт созданы
  3. Локализация для новых должностей добавлена
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Проверка наличия необходимых файлов и записей
echo "Проверка спрайтов..."
test -f "Resources/Textures/Objects/Misc/id_cards.rsi/idheadofpersonnel.png"
test -f "Resources/Textures/Objects/Misc/id_cards.rsi/idiaa.png"

echo "Проверка прототипов..."
rg "idheadofpersonnel|idiaa" Resources/Prototypes/

echo "Проверка локализации..."
rg "head-of-personnel|internal-affairs-agent" Resources/Locale/

Length of output: 1127

Comment on lines +32 to +41
"name": "idcentcom"
},
{
"name": "idpassenger"
"name": "idgeneticist"
},
{
"name": "idatmospherictechnician"
"name": "idlawyer"
},
{
"name": "idbartender"
"name": "idunknown"
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Codebase verification

Обнаружены несоответствия в переименованиях ID-карт

В файле Resources/Prototypes/Entities/Objects/Misc/identification_cards.yml найдены следующие несоответствия:

  • Состояние gold всё ещё используется в нескольких ID-картах (IDSFO, ERTLeaderIDCard)
  • Состояние idpassenger используется в AgentIDCard
  • Состояние idatmospherictechnician используется в AtmosIDCard

Необходимо обновить следующие прототипы для соответствия новым именам состояний:

  • IDSFO (заменить gold на новое состояние)
  • ERTLeaderIDCard (заменить gold на новое состояние)
  • AgentIDCard (обновить idpassenger на idgeneticist)
  • AtmosIDCard (обновить idatmospherictechnician на idlawyer)
🔗 Analysis chain

Проверьте согласованность переименований

Произведены значительные изменения в именах состояний:

  • goldidcentcom
  • idpassengeridgeneticist
  • idatmospherictechnicianidlawyer
  • Добавлено idunknown

Необходимо убедиться, что все сущности и прототипы, использующие эти состояния, также обновлены.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Поиск использования старых имен состояний
echo "Поиск использования старых имен..."
rg -l "gold|idpassenger|idatmospherictechnician" Resources/Prototypes/

echo "Поиск использования новых имен..."
rg -l "idcentcom|idgeneticist|idlawyer|idunknown" Resources/Prototypes/

Length of output: 5253


Script:

#!/bin/bash
# Проверим конкретные файлы с ID-картами на предмет несоответствий
echo "Содержимое файла _Backmen/Entities/Objects/Misc/identification_cards.yml:"
cat "Resources/Prototypes/_Backmen/Entities/Objects/Misc/identification_cards.yml"

echo -e "\nСодержимое файла Entities/Objects/Misc/identification_cards.yml:"
cat "Resources/Prototypes/Entities/Objects/Misc/identification_cards.yml"

Length of output: 28675

@PuroSlavKing
Copy link
Contributor

ert_security
ert_medic
ert_commander
ert_janitor
ert_engineer
Потому что оно на одном слое. @PuroSlavKing

А ты инвалид и не можешь нормально сделать?

@CatBackGround
Copy link
Contributor Author

ert_security
ert_medic
ert_commander
ert_janitor
ert_engineer
Потому что оно на одном слое. @PuroSlavKing

А ты инвалид и не можешь нормально сделать?

Моё дело - респрайт, я не буду трогать ебучие прототипы.

@Rxup Rxup merged commit 017bf48 into Rxup:master Jan 1, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: Sprites Should be reviewed or fixed by people who are knowledgeable with spriting or visual design. No C# Нету кода. size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants