-
Notifications
You must be signed in to change notification settings - Fork 244
Самодельные инструменты v2.0 #2489
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?
Changes from 3 commits
5412d89
4e5ab26
fbee71e
6e9b042
fd37ef9
89c998a
19db154
2ea5bd7
dc97cb1
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 |
|---|---|---|
|
|
@@ -117,3 +117,85 @@ | |
| sprite: ADT/Objects/Tools/supermatter_scalpel.rsi | ||
| storedRotation: 90 | ||
| - type : SupermatterImmune | ||
|
|
||
| #рукодельные инструменты | ||
|
|
||
| - type: entity | ||
| parent: BaseCrowbar | ||
| name: cамодельная монтировка | ||
|
Collaborator
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. Почему в прототипах названия и описания на русском?
Contributor
Author
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. Смысл от локализации, если это локально наша сборка? Можно и так написать спокойно
Collaborator
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. Стандарт.
Contributor
Author
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. а чей стандарт? Визардов?
Collaborator
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. Стандарт данного форка, будьте добры пожалуйста придерживаться его |
||
| id: ADTHMCrowbar | ||
NekoSyndicateNihon marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| description: А это надёжно?.. | ||
|
Collaborator
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. Оно же |
||
| components: | ||
| - type: Sprite | ||
| state: icon | ||
| - type: Item | ||
| storedSprite: | ||
| sprite: Objects/Tools/crowbar.rsi | ||
| state: storage | ||
| - type: MeleeWeapon | ||
| wideAnimationRotation: -100 | ||
| damage: | ||
| types: | ||
| Blunt: 4 | ||
| soundHit: | ||
| collection: MetalThud | ||
| - type: Prying | ||
| speedModifier: 0.4 | ||
|
Comment on lines
+126
to
+146
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. 🧩 Analysis chain🏁 Script executed: cd Resources/Prototypes/ADT/Entities/Objects/Tools && \
sed -n '125p;148p;167p;186p' tools.yml | od -c | head -20Repository: AdventureTimeSS14/space_station_ADT Length of output: 119 🏁 Script executed: cd Resources/Prototypes/ADT/Entities/Objects/Tools && \
python3 << 'EOF'
with open('tools.yml', 'r', encoding='utf-8') as f:
lines = f.readlines()
target_lines = [124, 147, 166, 185] # 0-indexed
for line_num in target_lines:
line = lines[line_num]
if 'name:' in line:
# Extract the name value
name_part = line.split('name:')[1].strip()
print(f"Line {line_num + 1}: {line.strip()}")
# Check first character
if name_part:
first_char = name_part[0]
print(f" First char: '{first_char}' U+{ord(first_char):04X}")
if first_char == 'c':
print(f" → This is LATIN LOWERCASE C (U+0063)")
elif first_char == 'с':
print(f" → This is CYRILLIC LOWERCASE C (U+0441)")
print()
EOFRepository: AdventureTimeSS14/space_station_ADT Length of output: 491 Исправить латинскую букву Все четыре сущности (строки 125, 148, 167, 186) используют латинскую букву Исправления- name: cамодельная монтировка
+ name: самодельная монтировка- name: cамодельные кусачки
+ name: самодельные кусачки- name: cамодельная отвёртка
+ name: самодельная отвёртка- name: cамодельный гаечный ключ
+ name: самодельный гаечный ключ🤖 Prompt for AI Agents |
||
|
|
||
|
|
||
| - type: entity | ||
| parent: Wirecutter | ||
| name: cамодельные кусачки | ||
|
Collaborator
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. Опять |
||
| id: ADTHMWirecutter | ||
NekoSyndicateNihon marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| description: Это кусачки или щипчики? | ||
|
Collaborator
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. Опять |
||
| components: | ||
| - type: MeleeWeapon | ||
| damage: | ||
| types: | ||
| Piercing: 0 | ||
| - type: Tool | ||
| qualities: | ||
| - Cutting | ||
| speedModifier: 0.4 | ||
| # ADT add | ||
|
Collaborator
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. Это папка ADT |
||
| - type: Construction | ||
| graph: ADTHandmadeWirecutterGraph | ||
| node: HandmadeWirecutter | ||
|
|
||
| - type: entity | ||
| parent: Screwdriver | ||
| name: cамодельная отвёртка | ||
|
Collaborator
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. Опять |
||
| id: ADTHMScrewdriver | ||
NekoSyndicateNihon marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| description: Оно точно не сломается | ||
|
Collaborator
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. И опять |
||
| components: | ||
| - type: MeleeWeapon | ||
| damage: | ||
| types: | ||
| Piercing: 0 | ||
| - type: Tool | ||
| qualities: | ||
| - Screwing | ||
| speedModifier: 0.4 | ||
| #ADT add | ||
| - type: Construction | ||
| graph: ADTHandmadeScrewdriver | ||
| node: HandmadeScrewdriver | ||
|
|
||
| - type: entity | ||
| parent: Wrench | ||
| name: cамодельный гаечный ключ | ||
| id: ADTHMWrench | ||
NekoSyndicateNihon marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| description: Слабое и не надёжное | ||
| components: | ||
| - type: MeleeWeapon | ||
| damage: | ||
| types: | ||
| Blunt: 2 | ||
| - type: Tool | ||
| qualities: | ||
| - Anchoring | ||
| speedModifier: 0.4 | ||
| - type: Construction | ||
| graph: ADTHandmadeWrench | ||
| node: HandmadeWrench | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| #Crowbar | ||
| - type: constructionGraph | ||
| id: ADTHandmadeCrowbarGraph | ||
| start: start | ||
|
|
@@ -7,7 +8,61 @@ | |
| - to: HandmadeCrowbar | ||
| steps: | ||
| - material: MetalRod | ||
| amount: 3 | ||
| amount: 2 | ||
| doAfter: 1 | ||
| - node: HandmadeCrowbar | ||
| entity: Crowbar | ||
| entity: ADTHMCrowbar | ||
NekoSyndicateNihon marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| #Wirecutter | ||
| - type: constructionGraph | ||
| id: ADTHandmadeWirecutterGraph | ||
| start: start | ||
| graph: | ||
| - node: start | ||
| edges: | ||
| - to: HandmadeWirecutter | ||
| steps: | ||
| - material: MetalRod | ||
| amount: 2 | ||
| doAfter: 1 | ||
| - material: Steel | ||
| amount: 1 | ||
| doAfter: 1 | ||
| - node: HandmadeWirecutter | ||
| entity: ADTHMWirecutter | ||
|
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. Исправить На Line 31, Line 49 и Line 67 указаны Предлагаемое исправление- - node: HandmadeWirecutter
- entity: ADTHMWirecutter
+ - node: HandmadeWirecutter
+ entity: ADTHandMadeWirecutter
@@
- - node: HandmadeScrewdriver
- entity: ADTHMScrewdriver
+ - node: HandmadeScrewdriver
+ entity: ADTHandMadeScrewdriver
@@
- - node: HandmadeWrench
- entity: ADTHMWrench
+ - node: HandmadeWrench
+ entity: ADTHandMadeWrenchAlso applies to: 49-49, 67-67 🤖 Prompt for AI Agents |
||
|
|
||
| #Screwdriver | ||
| - type: constructionGraph | ||
| id: ADTHandmadeScrewdriver | ||
| start: start | ||
| graph: | ||
| - node: start | ||
| edges: | ||
| - to: HandmadeScrewdriver | ||
| steps: | ||
| - material: MetalRod | ||
| amount: 1 | ||
| doAfter: 1 | ||
| - material: Steel | ||
| amount: 1 | ||
| doAfter: 1 | ||
| - node: HandmadeScrewdriver | ||
| entity: ADTHMScrewdriver | ||
|
|
||
| #Wrench | ||
| - type: constructionGraph | ||
| id: ADTHandmadeWrench | ||
| start: start | ||
| graph: | ||
| - node: start | ||
| edges: | ||
| - to: HandmadeWrench | ||
| steps: | ||
| - material: MetalRod | ||
| amount: 1 | ||
| doAfter: 1 | ||
| - material: Steel | ||
| amount: 1 | ||
| doAfter: 1 | ||
| - node: HandmadeWrench | ||
| entity: ADTHMWrench | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -188,3 +188,5 @@ | |
| - state: equipped-BELT | ||
| - state: cover-equipped-BELT | ||
| color: "#968000" | ||
|
|
||
|
|
||
|
Comment on lines
+191
to
+192
Collaborator
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. тут тоже пустые строки новые |
||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -44,6 +44,7 @@ | |||||||||
| - type: StaticPrice | ||||||||||
| price: 30 | ||||||||||
|
|
||||||||||
|
|
||||||||||
| - type: entity | ||||||||||
| name: screwdriver | ||||||||||
| parent: BaseItem | ||||||||||
|
|
@@ -88,6 +89,7 @@ | |||||||||
| - type: StaticPrice | ||||||||||
| price: 30 | ||||||||||
|
|
||||||||||
|
|
||||||||||
| - type: entity | ||||||||||
| name: wrench | ||||||||||
| parent: BaseItem | ||||||||||
|
|
@@ -129,6 +131,8 @@ | |||||||||
| - type: GuideHelp | ||||||||||
| guides: | ||||||||||
| - Construction | ||||||||||
| #ADT add | ||||||||||
|
Collaborator
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. А это тут зачем?..
Collaborator
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. Видимо напутал что-то |
||||||||||
|
|
||||||||||
|
Comment on lines
+134
to
+135
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. Комментарий Согласно гайдлайнам, изменения в официальном коде (вне Если предполагалось добавить компонент Предлагаемое исправление: удалить лишний комментарий - type: GuideHelp
guides:
- Construction
- `#ADT` add
-As per coding guidelines: «Все изменения вне папок /ADT/ должны быть прокомментированы примерно так # ADT-Tweak-Start / # ADT-Tweak-End». 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
|
|
||||||||||
| - type: entity | ||||||||||
| name: multitool | ||||||||||
|
|
||||||||||
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.
🧩 Analysis chain
🏁 Script executed:
Repository: AdventureTimeSS14/space_station_ADT
Length of output: 672
🏁 Script executed:
Repository: AdventureTimeSS14/space_station_ADT
Length of output: 2169
🏁 Script executed:
Repository: AdventureTimeSS14/space_station_ADT
Length of output: 1141
Исправить формат YAML: убрать пробел перед двоеточием в
type : SupermatterImmuneНа строке 119 присутствует форматная ошибка — пробел перед двоеточием:
- type : SupermatterImmuneвместо- type: SupermatterImmune. Компонент SupermatterImmune корректно присутствует в коде и используется правильно, но требует соответствия YAML-стандартам (без пробела перед двоеточием), как это реализовано во всех остальных случаях в проекте.🤖 Prompt for AI Agents