mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 07:08:55 +01:00
[MIRROR] Moves UIs to TGUI core (#9967)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
a0cc8402d7
commit
3aa9314ff4
@@ -270,7 +270,7 @@
|
||||
return 1
|
||||
if("tail3_color")
|
||||
if(can_change(owner, APPEARANCE_HAIR_COLOR))
|
||||
var/new_hair = tgui_color_picker(ui.user, "Please select secondary tail color.", "3rd Tail Color", rgb(owner.r_tail3, owner.g_tail3, owner.b_tail3))
|
||||
var/new_hair = tgui_color_picker(ui.user, "Please select tertiary tail color.", "3rd Tail Color", rgb(owner.r_tail3, owner.g_tail3, owner.b_tail3))
|
||||
if(new_hair && can_still_topic(owner, state))
|
||||
owner.r_tail3 = hex2num(copytext(new_hair, 2, 4))
|
||||
owner.g_tail3 = hex2num(copytext(new_hair, 4, 6))
|
||||
@@ -315,7 +315,7 @@
|
||||
return 1
|
||||
if("wing3_color")
|
||||
if(can_change(owner, APPEARANCE_HAIR_COLOR))
|
||||
var/new_hair = tgui_color_picker(ui.user, "Please select secondary wing color.", "3rd Wing Color", rgb(owner.r_wing3, owner.g_wing3, owner.b_wing3))
|
||||
var/new_hair = tgui_color_picker(ui.user, "Please select tertiary wing color.", "3rd Wing Color", rgb(owner.r_wing3, owner.g_wing3, owner.b_wing3))
|
||||
if(new_hair && can_still_topic(owner, state))
|
||||
owner.r_wing3 = hex2num(copytext(new_hair, 2, 4))
|
||||
owner.g_wing3 = hex2num(copytext(new_hair, 4, 6))
|
||||
|
||||
Reference in New Issue
Block a user