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

Новая голова для КПБ с визорами #1472

Merged
merged 6 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions modular_ss220/robolimbs/code/robolimbs.dm
Copy link
Collaborator

Choose a reason for hiding this comment

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

Надо сложить всю оптику в один dmi, файлов уже слишком много для одного лишь вида кпб

Copy link
Author

Choose a reason for hiding this comment

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

Мы пытались, но с одного файла не читает остальные. Почему, так и не поняли

Copy link
Collaborator

Choose a reason for hiding this comment

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

Стоит начать с фикса пути к файлу

Copy link
Author

Choose a reason for hiding this comment

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

Мы пробовали, но не работает. Оно видит только первый визор. В другом варианте он видит все визоры, но выбирает лишь первый. Несколько часов пробовали разные способы, сработал лишь этот

Copy link
Author

Choose a reason for hiding this comment

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

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

Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,25 @@
parts = list("head")
selectable = 0
has_subtypes = null

/datum/robolimb/etaminindustry/etaminindustry_alt3
company = "Etamin Industry King Series"
icon = 'modular_ss220/robolimbs/icons/etaminindustry_alt3.dmi'
parts = list("head")
selectable = 0
has_subtypes = null

/datum/sprite_accessory/body_markings/head/optics/etamin
icon = 'modular_ss220/robolimbs/icons/ei_optic.dmi'
name = "EI Optics"
species_allowed = list("Machine")
icon_state = "ei_standart"
models_allowed = list("Etamin Industry King Series")

/datum/sprite_accessory/body_markings/head/optics/etamin/alt1
name = "EI Optics Alt"
icon_state = "ei_alt1"

/datum/sprite_accessory/body_markings/head/optics/etamin/alt2
name = "EI Optics Alt 2"
icon_state = "ei_alt2"
Binary file added modular_ss220/robolimbs/icons/ei_optic.dmi
Binary file not shown.
Binary file not shown.
Loading