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

Title Screen polish #919

Merged
merged 19 commits into from
Jan 5, 2025
Prev Previous commit
Next Next commit
Img alt text
AyIong committed Dec 26, 2024
commit 87e0d2ed5ef60c5dd9c9e500ed91ce4103ed408b
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
"}

if(screen_image_url)
html += {"<img id="screen_image" class="bg" src="[screen_image_url]" onerror="fix_image()">"}
html += {"<img id="screen_image" class="bg" src="[screen_image_url]" alt="Загрузка..." onerror="fix_image()">"}

html += {"<div id="container_notice" class="[SStitle.notice ? "" : "hidden"]">[SStitle.notice]</div>"}
html += {"<input type="checkbox" id="hide_menu">"}

Unchanged files with check annotations Beta

var/mutant_override = FALSE
var/obj/item/bodypart/head/bodypart_head = src.get_bodypart(BODY_ZONE_HEAD)
if(worn_item.worn_icon_species && worn_item.worn_icon_species[bodypart_head.species_bodytype])

Check warning on line 402 in code/modules/mob/living/carbon/human/human_update_icons.dm

GitHub Actions / Run Linters

OD2304: Invalid index operation. datum[] index operations are not valid starting in BYOND 515.1641
icon_file = worn_item.worn_icon_species[bodypart_head.species_bodytype]

Check warning on line 403 in code/modules/mob/living/carbon/human/human_update_icons.dm

GitHub Actions / Run Linters

OD2304: Invalid index operation. datum[] index operations are not valid starting in BYOND 515.1641
mutant_override = TRUE
else if(bodypart_head.species_bodytype in icon_files_species)
icon_file = icon_files_species[bodypart_head.species_bodytype]
var/mutant_override = FALSE
var/obj/item/bodypart/chest/bodypart_chest = src.get_bodypart(BODY_ZONE_CHEST)
if(worn_item.worn_icon_species && worn_item.worn_icon_species[bodypart_chest.species_bodytype])

Check warning on line 471 in code/modules/mob/living/carbon/human/human_update_icons.dm

GitHub Actions / Run Linters

OD2304: Invalid index operation. datum[] index operations are not valid starting in BYOND 515.1641
icon_file = worn_item.worn_icon_species[bodypart_chest.species_bodytype]

Check warning on line 472 in code/modules/mob/living/carbon/human/human_update_icons.dm

GitHub Actions / Run Linters

OD2304: Invalid index operation. datum[] index operations are not valid starting in BYOND 515.1641
mutant_override = TRUE
else if(bodypart_chest.species_bodytype in icon_files_species)
icon_file = icon_files_species[bodypart_chest.species_bodytype]
var/mutant_override = FALSE
var/obj/item/bodypart/head/bodypart_head = src.get_bodypart(BODY_ZONE_HEAD)
if(worn_item.worn_icon_species && worn_item.worn_icon_species[bodypart_head.species_bodytype])

Check warning on line 541 in code/modules/mob/living/carbon/human/human_update_icons.dm

GitHub Actions / Run Linters

OD2304: Invalid index operation. datum[] index operations are not valid starting in BYOND 515.1641
icon_file = worn_item.worn_icon_species[bodypart_head.species_bodytype]

Check warning on line 542 in code/modules/mob/living/carbon/human/human_update_icons.dm

GitHub Actions / Run Linters

OD2304: Invalid index operation. datum[] index operations are not valid starting in BYOND 515.1641
mutant_override = TRUE
else if(bodypart_head.species_bodytype in icon_files_species)
icon_file = icon_files_species[bodypart_head.species_bodytype]
var/mob/living/carbon/user = usr
if(istype(user))
var/obj/item/bodypart/head/bodypart_head = user.get_bodypart(BODY_ZONE_HEAD)
if(bodypart_head && worn_icon_species && worn_icon_species[bodypart_head.species_bodytype])

Check warning on line 18 in modular_bandastation/species/code/clothing/mod.dm

GitHub Actions / Run Linters

OD2304: Invalid index operation. datum[] index operations are not valid starting in BYOND 515.1641
module_icon = mutable_appearance(worn_icon_species[bodypart_head.species_bodytype], used_overlay, layer = standing.layer + 0.1)

Check warning on line 19 in modular_bandastation/species/code/clothing/mod.dm

GitHub Actions / Run Linters

OD2304: Invalid index operation. datum[] index operations are not valid starting in BYOND 515.1641
if(!use_mod_colors)
module_icon.appearance_flags |= RESET_COLOR
. += module_icon