-
-
Notifications
You must be signed in to change notification settings - Fork 89
Переработка исследований #1155
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
base: master
Are you sure you want to change the base?
The head ref may contain hidden characters: "\u041F\u0435\u0440\u0435\u0440\u0430\u0431\u043E\u0442\u043A\u0430-\u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0439"
Переработка исследований #1155
Changes from all commits
0cd9dca
e34f783
be23193
d264732
7a5261e
44fda4c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,7 +1,106 @@ | ||||||||||||
| - type: entity | ||||||||||||
| id: SCPResearchServer | ||||||||||||
| parent: ResearchAndDevelopmentServer | ||||||||||||
| parent: [ BaseMachinePowered, ConstructibleMachine ] | ||||||||||||
| name: R&D server | ||||||||||||
| description: Contains the collective knowledge of the station's scientists. Destroying it would send them back to the stone age. You don't want that do you? | ||||||||||||
| components: | ||||||||||||
| - type: Sprite | ||||||||||||
| sprite: _Scp/Structures/Machines/server.rsi # Fire edit | ||||||||||||
| snapCardinals: true | ||||||||||||
| layers: | ||||||||||||
| - state: server-off | ||||||||||||
| - state: server-on | ||||||||||||
| visible: false | ||||||||||||
| map: ["enum.PowerDeviceVisualLayers.Powered"] | ||||||||||||
| - state: variant-research | ||||||||||||
| - state: server_o | ||||||||||||
| map: ["enum.WiresVisualLayers.MaintenancePanel"] | ||||||||||||
| - type: PointLight | ||||||||||||
| enabled: false | ||||||||||||
| castShadows: false | ||||||||||||
| radius: 1.2 | ||||||||||||
| energy: 3.0 | ||||||||||||
| color: "#b211b2" | ||||||||||||
| - type: LitOnPowered | ||||||||||||
| - type: ResearchServer | ||||||||||||
| - type: TechnologyDatabase | ||||||||||||
| supportedDisciplines: | ||||||||||||
| - SCP | ||||||||||||
| - scp_industrial | ||||||||||||
| - scp_arsenal | ||||||||||||
| - scp_experimental | ||||||||||||
| - scp_civilianservices | ||||||||||||
| - scp_medical | ||||||||||||
| - SCP # Fire | ||||||||||||
| - type: ApcPowerReceiver | ||||||||||||
| powerLoad: 200 | ||||||||||||
| - type: ExtensionCableReceiver | ||||||||||||
| - type: WiresPanel | ||||||||||||
| - type: WiresVisuals | ||||||||||||
| - type: Machine | ||||||||||||
| board: ResearchAndDevelopmentServerMachineCircuitboard | ||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: #!/bin/bash
set -euo pipefail
# Найдите определение платы и её целевой прототип машины.
rg -n -C 10 \
'\bResearchAndDevelopmentServerMachineCircuitboard\b|\bSCPResearchServer\b' \
Resources/PrototypesRepository: makura-games/project-fire Length of output: 25353 🏁 Script executed: #!/bin/bash
set -euo pipefail
# Resolve how the Machine component uses its board prototype during construction.
rg -n -C 8 \
'class MachineBoard|MachineBoardComponent|class MachineComponent|BoardPrototype|board\s*=' \
Content Resources \
-g '*.cs' -g '*.yml' -g '*.yaml' \
| head -n 240Repository: makura-games/project-fire Length of output: 215 🏁 Script executed: #!/bin/bash
set -euo pipefail
# Search the checked-out tree without assuming a source-directory name.
rg -n -C 8 \
'class MachineBoard|MachineBoardComponent|class MachineComponent|BoardPrototype|board\s*=' \
. \
-g '*.cs' -g '*.yml' -g '*.yaml' \
| head -n 260Repository: makura-games/project-fire Length of output: 24741 Исправьте целевой прототип платы
Создайте локальную плату с 🤖 Prompt for AI Agents |
||||||||||||
| - type: Destructible | ||||||||||||
| thresholds: | ||||||||||||
| - trigger: | ||||||||||||
| !type:DamageTrigger | ||||||||||||
| damage: 600 | ||||||||||||
| behaviors: | ||||||||||||
| - !type:DoActsBehavior | ||||||||||||
| acts: [ "Destruction" ] | ||||||||||||
| - trigger: | ||||||||||||
| !type:DamageTrigger | ||||||||||||
| damage: 300 | ||||||||||||
| behaviors: | ||||||||||||
| - !type:DoActsBehavior | ||||||||||||
| acts: ["Destruction"] | ||||||||||||
| - !type:PlaySoundBehavior | ||||||||||||
| sound: | ||||||||||||
| collection: MetalBreak | ||||||||||||
| - !type:SpawnEntitiesBehavior | ||||||||||||
| spawn: | ||||||||||||
| SheetSteel1: | ||||||||||||
| min: 1 | ||||||||||||
| max: 2 | ||||||||||||
| - type: Appearance | ||||||||||||
| - type: GenericVisualizer | ||||||||||||
| visuals: | ||||||||||||
| enum.PowerDeviceVisuals.Powered: | ||||||||||||
| enum.PowerDeviceVisualLayers.Powered: | ||||||||||||
| True: {visible: true} | ||||||||||||
| False: {visible: false} | ||||||||||||
| - type: AmbientOnPowered | ||||||||||||
| - type: AmbientSound | ||||||||||||
| volume: -9 | ||||||||||||
| range: 5 | ||||||||||||
| enabled: false | ||||||||||||
| sound: | ||||||||||||
| path: /Audio/Ambience/Objects/server_fans.ogg | ||||||||||||
| - type: GuideHelp | ||||||||||||
| guides: | ||||||||||||
| - Science | ||||||||||||
| # Sunrise-Start | ||||||||||||
| - type: Item | ||||||||||||
| sprite: _Sunrise/Structures/Machines/server.rsi | ||||||||||||
|
Comment on lines
+80
to
+82
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Используйте ресурс
Замените путь и удалите маркер Предлагаемое исправление- # Sunrise-Start
- type: Item
- sprite: _Sunrise/Structures/Machines/server.rsi
+ sprite: _Scp/Structures/Machines/server.rsiСогласно coding guidelines: «Do not mix markers from different forks within the same task» и «Don't put the Sunrise code in 📝 Committable suggestion
Suggested change
🤖 Prompt for AI AgentsSource: Coding guidelines |
||||||||||||
| size: Ginormous | ||||||||||||
| - type: DamageOtherOnHit | ||||||||||||
| damage: | ||||||||||||
| types: | ||||||||||||
| Blunt: 15 | ||||||||||||
| - type: DamageOnHit | ||||||||||||
| damage: | ||||||||||||
| types: | ||||||||||||
| Blunt: 5 | ||||||||||||
| - type: DamageOnLand | ||||||||||||
| damage: | ||||||||||||
| types: | ||||||||||||
| Blunt: 30 | ||||||||||||
| - type: EmitSoundOnLand | ||||||||||||
| sound: | ||||||||||||
| collection: MetalBreak | ||||||||||||
| params: | ||||||||||||
| variation: 0.25 | ||||||||||||
| - type: MultiHandedItem | ||||||||||||
| - type: HeldSpeedModifier | ||||||||||||
| walkModifier: 0.6 | ||||||||||||
| sprintModifier: 0.6 | ||||||||||||
| - type: StaticPrice | ||||||||||||
| price: 40000 | ||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,3 +9,63 @@ | |
| 1: 0 | ||
| 2: 0.75 | ||
| 3: 0.75 | ||
|
|
||
| - type: techDiscipline | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🤖 get_repo_knowledge executed:
Length of output: 47865 🏁 Script executed: #!/bin/bash
set -e
printf '%s\n' '--- changed file ---'
sed -n '1,180p' Resources/Prototypes/_Scp/Research/disciplines.yml
printf '%s\n' '--- relevant tracked files ---'
git ls-files | rg '(^|/)(Content\.YAMLLinter|.*YAML.*|.*coding.*|.*guideline.*|.*disciplin.*|.*prototype.*)$' | head -120
printf '%s\n' '--- linter references ---'
rg -n --glob '!bin/**' --glob '!obj/**' 'Content\.YAMLLinter|YAMLLinter|no-build|Release|prototype ID|Prototype ID|locali[sz]ation|localization' . | head -240
printf '%s\n' '--- concise diff stat ---'
git diff --stat -- Resources/Prototypes/_Scp/Research/disciplines.yml
printf '%s\n' '--- project files ---'
find . -maxdepth 3 -type f \( -name '*.csproj' -o -name '*.sln' -o -name 'README*' -o -name '*guideline*' -o -name '*convention*' \) -print | head -100Repository: makura-games/project-fire Length of output: 44793 🏁 Script executed: #!/bin/bash
set -e
printf '%s\n' '--- AGENTS validation guidance ---'
sed -n '84,102p' AGENTS.md
printf '%s\n' '--- linter project ---'
cat Content.YAMLLinter/Content.YAMLLinter.csproj
printf '%s\n' '--- linter entry point outline ---'
ast-grep outline Content.YAMLLinter/Program.cs
printf '%s\n' '--- linter entry point ---'
sed -n '1,260p' Content.YAMLLinter/Program.csRepository: makura-games/project-fire Length of output: 10715 Запустите проверку YAML-прототипов. Если 🤖 Prompt for AI AgentsSources: Coding guidelines, Path instructions |
||
| id: scp_arsenal | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟠 Major | 🏗️ Heavy lift Переименуйте новые ID дисциплин в формат CamelCase.
Согласно coding guidelines, «Prototype IDs must be Also applies to: 27-27, 39-39, 50-50, 62-62 🤖 Prompt for AI AgentsSources: Coding guidelines, Path instructions |
||
| name: research-discipline-arsenal | ||
| color: "#dc373b" | ||
| icon: | ||
| sprite: Interface/Misc/research_disciplines.rsi | ||
| state: arsenal | ||
| tierPrerequisites: | ||
| 1: 0 | ||
| 2: 0.75 | ||
| 3: 0.75 | ||
| 4: 0.75 | ||
|
|
||
| - type: techDiscipline | ||
| id: scp_medical | ||
| name: research-discipline-biochemical | ||
| color: "#09aaf5" | ||
| icon: | ||
| sprite: Interface/Misc/research_disciplines.rsi | ||
| state: biochemical | ||
| tierPrerequisites: | ||
| 1: 0 | ||
| 2: 0.75 | ||
| 3: 0.75 | ||
|
|
||
| - type: techDiscipline | ||
| id: scp_civilianservices | ||
| name: research-discipline-civilian-services | ||
| color: "#4eaa19" | ||
| icon: | ||
| sprite: Interface/Misc/research_disciplines.rsi | ||
| state: civilianservices | ||
| tierPrerequisites: | ||
| 1: 0 | ||
| 2: 0.75 | ||
|
|
||
| - type: techDiscipline | ||
| id: scp_experimental | ||
| name: research-discipline-experimental | ||
| color: "#b312e4" | ||
| icon: | ||
| sprite: Interface/Misc/research_disciplines.rsi | ||
| state: experimental | ||
| tierPrerequisites: | ||
| 1: 0 | ||
| 2: 0.75 | ||
| 3: 0.75 | ||
|
|
||
| - type: techDiscipline | ||
| id: scp_industrial | ||
| name: research-discipline-industrial | ||
| color: "#ff7300" | ||
| icon: | ||
| sprite: Interface/Misc/research_disciplines.rsi | ||
| state: industrial | ||
| tierPrerequisites: | ||
| 1: 0 | ||
| 2: 0.75 | ||
| 3: 0.75 | ||
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.
📐 Maintainability & Code Quality | 🟠 Major | 🏗️ Heavy lift
Переименуйте новые technology ID в формат
ScpXxx.Правило
ss14-naming-conventionsтребует для новых prototype ID форматCamelCaseи префиксScpдля fork-контента. Идентификаторыscp_Ripley2,scp_SurgeryTechи остальныеscp_...в пяти файлахscp_*.ymlнарушают это правило.Переименуйте все такие
idвscp_arsenal.yml,scp_civilianservices.yml,scp_experimental.yml,scp_industrial.ymlиscp_medical.yml. Обновите каждую соответствующую ссылку вtechnologyPrerequisites, включая ссылки между файлами. Иначе граф технологий может содержать неразрешённые идентификаторы.Content.YAMLLinterзапускается в CI, но его код не содержит отдельной проверки CamelCase для prototype ID. Поэтому это нарушение обязательного соглашения об именовании, а не гарантированная ошибка CI для самого формата.🤖 Prompt for AI Agents