mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 21:19:44 +01:00
Merge pull request #3018 from nachomeep/master
BlockHeadHair doesn't make players bald.
This commit is contained in:
@@ -363,31 +363,7 @@ var/global/list/damage_icon_parts = list()
|
||||
if(update_icons) update_icons()
|
||||
return
|
||||
|
||||
//base icons
|
||||
var/icon/face_standing = new /icon('icons/mob/human_face.dmi',"bald_s")
|
||||
|
||||
if(f_style)
|
||||
var/datum/sprite_accessory/facial_hair_style = facial_hair_styles_list[f_style]
|
||||
if(facial_hair_style && facial_hair_style.species_allowed && (src.species.get_bodytype(src) in facial_hair_style.species_allowed))
|
||||
var/icon/facial_s = new/icon("icon" = facial_hair_style.icon, "icon_state" = "[facial_hair_style.icon_state]_s")
|
||||
if(facial_hair_style.do_colouration)
|
||||
facial_s.Blend(rgb(r_facial, g_facial, b_facial), ICON_ADD)
|
||||
|
||||
face_standing.Blend(facial_s, ICON_OVERLAY)
|
||||
|
||||
if(h_style && !(head && (head.flags_inv & BLOCKHEADHAIR)))
|
||||
var/datum/sprite_accessory/hair_style = hair_styles_list[h_style]
|
||||
if(hair_style && (src.species.get_bodytype(src) in hair_style.species_allowed))
|
||||
var/icon/hair_s = new/icon("icon" = hair_style.icon, "icon_state" = "[hair_style.icon_state]_s")
|
||||
if(hair_style.do_colouration)
|
||||
hair_s.Blend(rgb(r_hair, g_hair, b_hair), ICON_ADD)
|
||||
|
||||
face_standing.Blend(hair_s, ICON_OVERLAY)
|
||||
|
||||
if(head_organ.nonsolid)
|
||||
face_standing += rgb(,,,120)
|
||||
|
||||
overlays_standing[HAIR_LAYER] = image(face_standing)
|
||||
overlays_standing[HAIR_LAYER] = head_organ.get_hair_icon()
|
||||
|
||||
if(update_icons) update_icons()
|
||||
|
||||
|
||||
@@ -46,16 +46,19 @@
|
||||
/datum/sprite_accessory/hair
|
||||
|
||||
icon = 'icons/mob/Human_face.dmi' // default icon for all hairs
|
||||
var/veryshort
|
||||
|
||||
bald
|
||||
name = "Bald"
|
||||
icon_state = "bald"
|
||||
gender = MALE
|
||||
species_allowed = list("Human","Unathi")
|
||||
veryshort=1
|
||||
|
||||
short
|
||||
name = "Short Hair" // try to capatilize the names please~
|
||||
icon_state = "hair_a" // you do not need to define _s or _l sub-states, game automatically does this for you
|
||||
veryshort=1
|
||||
|
||||
short2
|
||||
name = "Short Hair 2"
|
||||
@@ -96,10 +99,12 @@
|
||||
halfbang
|
||||
name = "Half-banged Hair"
|
||||
icon_state = "hair_halfbang"
|
||||
veryshort=1
|
||||
|
||||
halfbangalt
|
||||
name = "Half-banged Hair Alt"
|
||||
icon_state = "hair_halfbang_alt"
|
||||
veryshort=1
|
||||
|
||||
ponytail1
|
||||
name = "Ponytail 1"
|
||||
@@ -167,6 +172,7 @@
|
||||
sleeze
|
||||
name = "Sleeze"
|
||||
icon_state = "hair_sleeze"
|
||||
veryshort=1
|
||||
|
||||
quiff
|
||||
name = "Quiff"
|
||||
@@ -217,31 +223,38 @@
|
||||
bowl
|
||||
name = "Bowl"
|
||||
icon_state = "hair_bowlcut"
|
||||
veryshort=1
|
||||
|
||||
buzz
|
||||
name = "Buzzcut"
|
||||
icon_state = "hair_buzzcut"
|
||||
species_allowed = list("Human","Unathi")
|
||||
veryshort=1
|
||||
|
||||
shavehair
|
||||
name = "Shaved Hair"
|
||||
icon_state = "hair_shaved"
|
||||
veryshort=1
|
||||
|
||||
crew
|
||||
name = "Crewcut"
|
||||
icon_state = "hair_crewcut"
|
||||
veryshort=1
|
||||
|
||||
combover
|
||||
name = "Combover"
|
||||
icon_state = "hair_combover"
|
||||
veryshort=1
|
||||
|
||||
father
|
||||
name = "Father"
|
||||
icon_state = "hair_father"
|
||||
veryshort=1
|
||||
|
||||
reversemohawk
|
||||
name = "Reverse Mohawk"
|
||||
icon_state = "hair_reversemohawk"
|
||||
veryshort=1
|
||||
|
||||
devillock
|
||||
name = "Devil Lock"
|
||||
@@ -270,14 +283,17 @@
|
||||
rows
|
||||
name = "Rows"
|
||||
icon_state = "hair_rows1"
|
||||
veryshort=1
|
||||
|
||||
rows2
|
||||
name = "Rows 2"
|
||||
icon_state = "hair_rows2"
|
||||
veryshort=1
|
||||
|
||||
sargeant
|
||||
name = "Flat Top"
|
||||
icon_state = "hair_sargeant"
|
||||
veryshort=1
|
||||
|
||||
emo
|
||||
name = "Emo"
|
||||
@@ -314,6 +330,7 @@
|
||||
fag
|
||||
name = "Flow Hair"
|
||||
icon_state = "hair_f"
|
||||
veryshort=1
|
||||
|
||||
feather
|
||||
name = "Feather"
|
||||
@@ -380,11 +397,13 @@
|
||||
skinhead
|
||||
name = "Skinhead"
|
||||
icon_state = "hair_skinhead"
|
||||
veryshort=1
|
||||
|
||||
balding
|
||||
name = "Balding Hair"
|
||||
icon_state = "hair_e"
|
||||
gender = MALE // turnoff!
|
||||
gender = MALE
|
||||
veryshort=1
|
||||
|
||||
familyman
|
||||
name = "The Family Man"
|
||||
@@ -464,6 +483,7 @@
|
||||
shortbangs
|
||||
name = "Short Bangs"
|
||||
icon_state = "hair_shortbangs"
|
||||
veryshort=1
|
||||
|
||||
halfshaved
|
||||
name = "Half-Shaved Emo"
|
||||
@@ -485,20 +505,24 @@
|
||||
name = "Low Fade"
|
||||
icon_state = "hair_lowfade"
|
||||
gender = MALE
|
||||
veryshort=1
|
||||
|
||||
medfade
|
||||
name = "Medium Fade"
|
||||
icon_state = "hair_medfade"
|
||||
veryshort=1
|
||||
|
||||
highfade
|
||||
name = "High Fade"
|
||||
icon_state = "hair_highfade"
|
||||
gender = MALE
|
||||
veryshort=1
|
||||
|
||||
baldfade
|
||||
name = "Balding Fade"
|
||||
icon_state = "hair_baldfade"
|
||||
gender = MALE
|
||||
veryshort=1
|
||||
|
||||
nofade
|
||||
name = "Regulation Cut"
|
||||
@@ -509,11 +533,13 @@
|
||||
name = "Trimmed Flat Top"
|
||||
icon_state = "hair_trimflat"
|
||||
gender = MALE
|
||||
veryshort=1
|
||||
|
||||
trimmed
|
||||
name = "Trimmed"
|
||||
icon_state = "hair_trimmed"
|
||||
gender = MALE
|
||||
veryshort=1
|
||||
|
||||
tightbun
|
||||
name = "Tight Bun"
|
||||
@@ -552,8 +578,8 @@
|
||||
shaved
|
||||
name = "Shaved"
|
||||
icon_state = "bald"
|
||||
gender = NEUTER
|
||||
species_allowed = list("Human","Unathi","Tajara","Skrell", "Machine","Teshari", "Vox")
|
||||
gender = NEUTER
|
||||
|
||||
watson
|
||||
name = "Watson Mustache"
|
||||
@@ -718,15 +744,14 @@
|
||||
skr_tentacle_m
|
||||
name = "Skrell Male Tentacles"
|
||||
icon_state = "skrell_hair_m"
|
||||
species_allowed = list("Skrell")
|
||||
gender = MALE
|
||||
species_allowed = list("Skrell")
|
||||
|
||||
skr_tentacle_f
|
||||
name = "Skrell Female Tentacles"
|
||||
icon_state = "skrell_hair_f"
|
||||
species_allowed = list("Skrell")
|
||||
gender = FEMALE
|
||||
|
||||
species_allowed = list("Skrell")
|
||||
//Tajaran hairstyles
|
||||
taj_ears
|
||||
name = "Tajaran Ears"
|
||||
|
||||
Reference in New Issue
Block a user