Hair gradients fix and Beltbuster use fixed

Hair gradients are now instanced as "None", the default no gradients value, rather than 000 which caused runtime newly instanced character to cause runtime errors.
Fixed the path for the Beltbuster Mead drink's on_mob_life function
This commit is contained in:
Alphas00
2023-12-23 15:13:06 +01:00
parent d53f3a1569
commit df36be3590
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
var/wing_color = "fff" //Wing color
// GS13: Hair gradients from Skyrat
var/grad_color = "FFFFFF" //Hair gradient color
var/grad_style = "000" //Hair gradient style
var/grad_style = "None" //Hair gradient style
//HS13
var/body_size = 100 //Body Size in percent
@@ -12,7 +12,7 @@
// GS13: Hair gradients from Skyrat
var/grad_color = "FFFFFF"
var/grad_style = "000"
var/grad_style = "None"
//Facial hair colour and style
var/facial_hair_color = "000"
@@ -468,8 +468,8 @@ GLOBAL_LIST_EMPTY(roundstart_races)
hair_overlay.color = "#" + H.hair_color
// GS13: Hair gradients from Skyrat
grad_style = H.grad_style
grad_color = H.grad_color
var/grad_style = H.grad_style
var/grad_color = H.grad_color
if(grad_style)
var/datum/sprite_accessory/gradient = GLOB.hair_gradients_list[grad_style]
var/icon/temp = icon(gradient.icon, gradient.icon_state)