prefs and scaling (#16251)

This commit is contained in:
Kashargul
2024-09-01 20:22:21 +02:00
committed by GitHub
parent e21dfcd99a
commit 65bf1fe4de
2 changed files with 3 additions and 6 deletions
@@ -31,12 +31,7 @@
character.capture_crystal = pref.capture_crystal
//Vore Stomach Sprite Preference
character.stomach_vision = pref.stomach_vision
if((character && !istype(character,/mob/living/carbon/human/dummy)) && character.stomach_vision && !(VIS_CH_STOMACH in character.vis_enabled))
character.plane_holder.set_vis(VIS_CH_STOMACH,TRUE)
character.vis_enabled += VIS_CH_STOMACH
else if((character && !istype(character,/mob/living/carbon/human/dummy)) && !character.stomach_vision && (VIS_CH_STOMACH in character.vis_enabled))
character.plane_holder.set_vis(VIS_CH_STOMACH,FALSE)
character.vis_enabled -= VIS_CH_STOMACH
character.recalculate_vis()
/datum/category_item/player_setup_item/vore/misc/sanitize_character()
pref.show_in_directory = sanitize_integer(pref.show_in_directory, 0, 1, initial(pref.show_in_directory))
@@ -1417,6 +1417,7 @@ var/global/list/damage_icon_parts = list() //see UpdateDamageIcon()
vore_belly_image.layer = BODY_LAYER+VORE_BELLY_LAYER
overlays_standing[VORE_BELLY_LAYER] = vore_belly_image
vore_belly_image.plane = PLANE_CH_STOMACH //This one line of code. This ONE LINE OF CODE TOOK 6 HOURS TO FIGURE OUT. THANK YOU REDCAT.
vore_belly_image.appearance_flags = appearance_flags
apply_layer(VORE_BELLY_LAYER)
@@ -1449,6 +1450,7 @@ var/global/list/damage_icon_parts = list() //see UpdateDamageIcon()
vore_tail_image.layer = BODY_LAYER+VORE_TAIL_LAYER
overlays_standing[VORE_TAIL_LAYER] = vore_tail_image
vore_tail_image.plane = PLANE_CH_STOMACH //This one line of code. This ONE LINE OF CODE TOOK 6 HOURS TO FIGURE OUT. THANK YOU REDCAT.
vore_tail_image.appearance_flags = appearance_flags
apply_layer(VORE_TAIL_LAYER)