mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 02:25:06 +01:00
(Protean) fix for the head invis issue (#18882)
* bug fix * bug fix on S.dullahan_overlays * removed left over neck light from metal frame, wasnt supposed to be there removed left over neck light from metal frame, wasnt supposed to be there
This commit is contained in:
@@ -593,6 +593,7 @@
|
||||
S.dullahan_overlays[S.dullahan_overlays[6]] = tempcolor
|
||||
else
|
||||
S.dullahan_overlays[6] = extraoff
|
||||
S.dullahan_overlays[S.dullahan_overlays[6]] = "#FFFFFF"
|
||||
if("Eyes")
|
||||
options = dullahaneyes_styles
|
||||
for(var/option in options)
|
||||
@@ -639,13 +640,21 @@
|
||||
S.dullahan_overlays[S.dullahan_overlays[7]] = new_color
|
||||
if("Head")
|
||||
options = dullahanhead_styles
|
||||
var/new_color = "#FFFFFF"
|
||||
for(var/option in options)
|
||||
var/image/I = image('icons/mob/robot/dullahan/v1/Dullahanprotean64x64.dmi', option, dir = 2, pixel_x = -16, pixel_y = -16)
|
||||
LAZYSET(options, option, I)
|
||||
choice = show_radial_menu(protie, protie, options, radius = 90)
|
||||
if(!choice || QDELETED(protie) || protie.incapacitated())
|
||||
return 0
|
||||
S.dullahan_overlays[4] = choice //head overlay is 2
|
||||
if (choice == "dullahanhead" || choice == "dullahanhead2")
|
||||
new_color = "#FFFFFF"
|
||||
else
|
||||
new_color = tgui_color_picker(protie, "Pick clothes color:","Clothes Color", S.dullahan_overlays[4])
|
||||
if(!new_color)
|
||||
return 0
|
||||
S.dullahan_overlays[4] = choice //head overlay is 4
|
||||
S.dullahan_overlays[S.dullahan_overlays[4]] = new_color
|
||||
if("Import")
|
||||
var/dinput_style
|
||||
dinput_style = sanitizeSafe(tgui_input_text(protie,"Paste the style string you exported with Export Style.", "Style loading","", 120, encode = FALSE), 128)
|
||||
|
||||
@@ -129,9 +129,9 @@
|
||||
|
||||
var/list/dullahan_overlays = list(
|
||||
"dullahanbody" = "#FFFFFF", // body 1
|
||||
"dullahanhead" = "#FFFFFF", // head 4
|
||||
"dullahanmetal" = "#FFFFFF", // metal 3
|
||||
"dullahaneyes" = "#FFFFFF", // eyes 2
|
||||
"dullahanmetal" = "#FFFFFF", // metal 3
|
||||
"dullahanhead" = "#FFFFFF", // head 4
|
||||
"dullahanlightsempty" = "#FFFFFF", // lights 5
|
||||
"dullahanextended" = "#FFFFFF", // breastplate part only on 6, do not use for anything else
|
||||
"dullahanclothesempty" = "#FFFFFF" // clothes 7
|
||||
|
||||
Reference in New Issue
Block a user