Files
Polaris/code/modules/mob/new_player/sprite_accessories.dm
2016-09-23 20:03:49 -05:00

865 lines
17 KiB
Plaintext

/*
Hello and welcome to sprite_accessories: For sprite accessories, such as hair,
facial hair, and possibly tattoos and stuff somewhere along the line. This file is
intended to be friendly for people with little to no actual coding experience.
The process of adding in new hairstyles has been made pain-free and easy to do.
Enjoy! - Doohl
Notice: This all gets automatically compiled in a list in dna2.dm, so you do not
have to define any UI values for sprite accessories manually for hair and facial
hair. Just add in new hair types and the game will naturally adapt.
!!WARNING!!: changing existing hair information can be VERY hazardous to savefiles,
to the point where you may completely corrupt a server's savefiles. Please refrain
from doing this unless you absolutely know what you are doing, and have defined a
conversion in savefile.dm
*/
/datum/sprite_accessory
var/icon // the icon file the accessory is located in
var/icon_state // the icon_state of the accessory
var/preview_state // a custom preview state for whatever reason
var/name // the preview name of the accessory
// Determines if the accessory will be skipped or included in random hair generations
var/gender = NEUTER
// Restrict some styles to specific species
var/list/species_allowed = list("Human")
// Whether or not the accessory can be affected by colouration
var/do_colouration = 1
/*
////////////////////////////
/ =--------------------= /
/ == Hair Definitions == /
/ =--------------------= /
////////////////////////////
*/
/datum/sprite_accessory/hair
icon = 'icons/mob/Human_face.dmi' // default icon for all hairs
bald
name = "Bald"
icon_state = "bald"
gender = MALE
species_allowed = list("Human","Unathi")
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
short2
name = "Short Hair 2"
icon_state = "hair_shorthair3"
teshari
name = "Teshari Default"
icon_state = "seromi_default"
species_allowed = list("Teshari")
teshari_altdefault
name = "Teshari Alt. Default"
icon_state = "seromi_ears"
species_allowed = list("Teshari")
teshari_tight
name = "Teshari Tight"
icon_state = "seromi_tight"
species_allowed = list("Teshari")
teshari_excited
name = "Teshari Spiky"
icon_state = "seromi_spiky"
species_allowed = list("Teshari")
teshari_spike
name = "Teshari Spike"
icon_state = "seromi_spike"
species_allowed = list("Teshari")
teshari_long
name = "Teshari Overgrown"
icon_state = "seromi_long"
species_allowed = list("Teshari")
teshari_burst
name = "Teshari Starburst"
icon_state = "seromi_burst"
species_allowed = list("Teshari")
teshari_shortburst
name = "Teshari Short Starburst"
icon_state = "seromi_burst_short"
species_allowed = list("Teshari")
teshari_mohawk
name = "Teshari Mohawk"
icon_state = "seromi_mohawk"
species_allowed = list("Teshari")
cut
name = "Cut Hair"
icon_state = "hair_c"
flair
name = "Flaired Hair"
icon_state = "hair_flair"
long
name = "Shoulder-length Hair"
icon_state = "hair_b"
/*longish
name = "Longer Hair"
icon_state = "hair_b2"*/
longer
name = "Long Hair"
icon_state = "hair_vlong"
longest
name = "Very Long Hair"
icon_state = "hair_longest"
longfringe
name = "Long Fringe"
icon_state = "hair_longfringe"
longestalt
name = "Longer Fringe"
icon_state = "hair_vlongfringe"
halfbang
name = "Half-banged Hair"
icon_state = "hair_halfbang"
halfbangalt
name = "Half-banged Hair Alt"
icon_state = "hair_halfbang_alt"
ponytail1
name = "Ponytail 1"
icon_state = "hair_ponytail"
ponytail2
name = "Ponytail 2"
icon_state = "hair_pa"
ponytail3
name = "Ponytail 3"
icon_state = "hair_ponytail3"
ponytail4
name = "Ponytail 4"
icon_state = "hair_ponytail4"
ponytail5
name = "Ponytail 5"
icon_state = "hair_ponytail5"
ponytail6
name = "Ponytail 6"
icon_state = "hair_ponytail6"
fringetail
name = "Fringetail"
icon_state = "hair_fringetail"
sideponytail
name = "Side Ponytail"
icon_state = "hair_stail"
sideponytail4 //Not happy about this... but it's for the save files.
name = "Side Ponytail 2"
icon_state = "hair_ponytailf"
sideponytail2
name = "One Shoulder"
icon_state = "hair_oneshoulder"
sideponytail3
name = "Tress Shoulder"
icon_state = "hair_tressshoulder"
spikyponytail
name = "Spiky Ponytail"
icon_state = "hair_spikyponytail"
zieglertail
name = "Zieglertail"
icon_state = "hair_ziegler"
wisp
name = "Wisp"
icon_state = "hair_wisp"
parted
name = "Parted"
icon_state = "hair_parted"
pompadour
name = "Pompadour"
icon_state = "hair_pompadour"
sleeze
name = "Sleeze"
icon_state = "hair_sleeze"
quiff
name = "Quiff"
icon_state = "hair_quiff"
bedhead
name = "Bedhead"
icon_state = "hair_bedhead"
bedhead2
name = "Bedhead 2"
icon_state = "hair_bedheadv2"
bedhead3
name = "Bedhead 3"
icon_state = "hair_bedheadv3"
beehive
name = "Beehive"
icon_state = "hair_beehive"
beehive2
name = "Beehive 2"
icon_state = "hair_beehive2"
bobcurl
name = "Bobcurl"
icon_state = "hair_bobcurl"
species_allowed = list("Human","Unathi")
bob
name = "Bob"
icon_state = "hair_bobcut"
species_allowed = list("Human","Unathi")
bun
name = "Bun"
icon_state = "hair_bun"
bun2
name = "Bun 2"
icon_state = "hair_bun2"
bun3
name = "Bun 3"
icon_state = "hair_bun3"
bowl
name = "Bowl"
icon_state = "hair_bowlcut"
buzz
name = "Buzzcut"
icon_state = "hair_buzzcut"
species_allowed = list("Human","Unathi")
crew
name = "Crewcut"
icon_state = "hair_crewcut"
combover
name = "Combover"
icon_state = "hair_combover"
father
name = "Father"
icon_state = "hair_father"
reversemohawk
name = "Reverse Mohawk"
icon_state = "hair_reversemohawk"
devillock
name = "Devil Lock"
icon_state = "hair_devilock"
dreadlocks
name = "Dreadlocks"
icon_state = "hair_dreads"
curls
name = "Curls"
icon_state = "hair_curls"
afro
name = "Afro"
icon_state = "hair_afro"
afro2
name = "Afro 2"
icon_state = "hair_afro2"
afro_large
name = "Big Afro"
icon_state = "hair_bigafro"
rows
name = "Rows"
icon_state = "hair_rows1"
rows2
name = "Rows 2"
icon_state = "hair_rows2"
sargeant
name = "Flat Top"
icon_state = "hair_sargeant"
emo
name = "Emo"
icon_state = "hair_emo"
longemo
name = "Long Emo"
icon_state = "hair_emolong"
fringeemo
name = "Emo Fringe"
icon_state = "hair_emofringe"
veryshortovereyealternate
name = "Overeye Very Short, Alternate"
icon_state = "hair_veryshortovereyealternate"
veryshortovereye
name = "Overeye Very Short"
icon_state = "hair_veryshortovereye"
shortovereye
name = "Overeye Short"
icon_state = "hair_shortovereye"
longovereye
name = "Overeye Long"
icon_state = "hair_longovereye"
fag
name = "Flow Hair"
icon_state = "hair_f"
feather
name = "Feather"
icon_state = "hair_feather"
hitop
name = "Hitop"
icon_state = "hair_hitop"
mohawk
name = "Mohawk"
icon_state = "hair_d"
species_allowed = list("Human","Unathi")
jensen
name = "Adam Jensen Hair"
icon_state = "hair_jensen"
gelled
name = "Gelled Back"
icon_state = "hair_gelled"
gentle
name = "Gentle"
icon_state = "hair_gentle"
spiky
name = "Spiky"
icon_state = "hair_spikey"
species_allowed = list("Human","Unathi")
kusangi
name = "Kusanagi Hair"
icon_state = "hair_kusanagi"
kagami
name = "Pigtails"
icon_state = "hair_kagami"
himecut
name = "Hime Cut"
icon_state = "hair_himecut"
mbraid
name = "Medium Braid"
icon_state = "hair_shortbraid"
braid2
name = "Long Braid"
icon_state = "hair_hbraid"
odango
name = "Odango"
icon_state = "hair_odango"
ombre
name = "Ombre"
icon_state = "hair_ombre"
updo
name = "Updo"
icon_state = "hair_updo"
skinhead
name = "Skinhead"
icon_state = "hair_skinhead"
balding
name = "Balding Hair"
icon_state = "hair_e"
gender = MALE // turnoff!
familyman
name = "The Family Man"
icon_state = "hair_thefamilyman"
mahdrills
name = "Drillruru"
icon_state = "hair_drillruru"
dandypomp
name = "Dandy Pompadour"
icon_state = "hair_dandypompadour"
poofy
name = "Poofy"
icon_state = "hair_poofy"
poofy2
name = "Poofy2"
icon_state = "hair_poofy2"
crono
name = "Chrono"
icon_state = "hair_toriyama"
vegeta
name = "Vegeta"
icon_state = "hair_toriyama2"
cia
name = "CIA"
icon_state = "hair_cia"
mulder
name = "Mulder"
icon_state = "hair_mulder"
scully
name = "Scully"
icon_state = "hair_scully"
nitori
name = "Nitori"
icon_state = "hair_nitori"
joestar
name = "Joestar"
icon_state = "hair_joestar"
volaju
name = "Volaju"
icon_state = "hair_volaju"
eighties
name = "80's"
icon_state = "hair_80s"
nia
name = "Nia"
icon_state = "hair_nia"
unkept
name = "Unkept"
icon_state = "hair_unkept"
modern
name = "Modern"
icon_state = "hair_modern"
bald
name = "Bald"
icon_state = "bald"
longeralt2
name = "Long Hair Alt 2"
icon_state = "hair_longeralt2"
shortbangs
name = "Short Bangs"
icon_state = "hair_shortbangs"
halfshaved
name = "Half-Shaved Emo"
icon_state = "hair_halfshaved"
bun
name = "Casual Bun"
icon_state = "hair_bun"
doublebun
name = "Double-Bun"
icon_state = "hair_doublebun"
oxton
name = "Oxton"
icon_state = "hair_oxton"
/*
///////////////////////////////////
/ =---------------------------= /
/ == Facial Hair Definitions == /
/ =---------------------------= /
///////////////////////////////////
*/
/datum/sprite_accessory/facial_hair
icon = 'icons/mob/Human_face.dmi'
gender = MALE // barf (unless you're a dorf, dorfs dig chix /w beards :P)
shaved
name = "Shaved"
icon_state = "bald"
gender = NEUTER
species_allowed = list("Human","Unathi","Tajara","Skrell", "Machine","Teshari")
teshari_beard
name = "Teshari Beard"
icon_state = "seromi_chin"
species_allowed = list("Teshari")
gender = NEUTER
teshari_scraggly
name = "Teshari Scraggly"
icon_state = "seromi_scraggly"
species_allowed = list("Teshari")
gender = NEUTER
teshari_chops
name = "Teshari Chops"
icon_state = "seromi_gap"
species_allowed = list("Teshari")
gender = NEUTER
watson
name = "Watson Mustache"
icon_state = "facial_watson"
hogan
name = "Hulk Hogan Mustache"
icon_state = "facial_hogan" //-Neek
vandyke
name = "Van Dyke Mustache"
icon_state = "facial_vandyke"
chaplin
name = "Square Mustache"
icon_state = "facial_chaplin"
selleck
name = "Selleck Mustache"
icon_state = "facial_selleck"
neckbeard
name = "Neckbeard"
icon_state = "facial_neckbeard"
fullbeard
name = "Full Beard"
icon_state = "facial_fullbeard"
longbeard
name = "Long Beard"
icon_state = "facial_longbeard"
vlongbeard
name = "Very Long Beard"
icon_state = "facial_wise"
elvis
name = "Elvis Sideburns"
icon_state = "facial_elvis"
species_allowed = list("Human","Unathi")
abe
name = "Abraham Lincoln Beard"
icon_state = "facial_abe"
chinstrap
name = "Chinstrap"
icon_state = "facial_chin"
hip
name = "Hipster Beard"
icon_state = "facial_hip"
gt
name = "Goatee"
icon_state = "facial_gt"
jensen
name = "Adam Jensen Beard"
icon_state = "facial_jensen"
volaju
name = "Volaju"
icon_state = "facial_volaju"
dwarf
name = "Dwarf Beard"
icon_state = "facial_dwarf"
//unathi horn beards and the like
una_chinhorn
name = "Unathi Chin Horn"
icon_state = "facial_chinhorns"
species_allowed = list("Unathi")
una_hornadorns
name = "Unathi Horn Adorns"
icon_state = "facial_hornadorns"
species_allowed = list("Unathi")
una_spinespikes
name = "Unathi Spine Spikes"
icon_state = "facial_spikes"
species_allowed = list("Unathi")
una_dorsalfrill
name = "Unathi Dorsal Frill"
icon_state = "facial_dorsalfrill"
species_allowed = list("Unathi")
/*
///////////////////////////////////
/ =---------------------------= /
/ == Alien Style Definitions == /
/ =---------------------------= /
///////////////////////////////////
*/
/datum/sprite_accessory/hair
una_spines_long
name = "Long Unathi Spines"
icon_state = "soghun_longspines"
species_allowed = list("Unathi")
una_spines_short
name = "Short Unathi Spines"
icon_state = "soghun_shortspines"
species_allowed = list("Unathi")
una_frills_long
name = "Long Unathi Frills"
icon_state = "soghun_longfrills"
species_allowed = list("Unathi")
una_frills_short
name = "Short Unathi Frills"
icon_state = "soghun_shortfrills"
species_allowed = list("Unathi")
una_horns
name = "Unathi Horns"
icon_state = "soghun_horns"
species_allowed = list("Unathi")
una_bighorns
name = "Unathi Big Horns"
icon_state = "unathi_bighorn"
species_allowed = list("Unathi")
una_smallhorns
name = "Unathi Small Horns"
icon_state = "unathi_smallhorn"
species_allowed = list("Unathi")
una_ramhorns
name = "Unathi Ram Horns"
icon_state = "unathi_ramhorn"
species_allowed = list("Unathi")
una_sidefrills
name = "Unathi Side Frills"
icon_state = "unathi_sidefrills"
species_allowed = list("Unathi")
skr_tentacle_m
name = "Skrell Male Tentacles"
icon_state = "skrell_hair_m"
species_allowed = list("Skrell")
gender = MALE
skr_tentacle_f
name = "Skrell Female Tentacles"
icon_state = "skrell_hair_f"
species_allowed = list("Skrell")
gender = FEMALE
taj_ears
name = "Tajaran Ears"
icon_state = "ears_plain"
species_allowed = list("Tajara")
taj_ears_clean
name = "Tajara Clean"
icon_state = "hair_clean"
species_allowed = list("Tajara")
taj_ears_bangs
name = "Tajara Bangs"
icon_state = "hair_bangs"
species_allowed = list("Tajara")
taj_ears_braid
name = "Tajara Braid"
icon_state = "hair_tbraid"
species_allowed = list("Tajara")
taj_ears_shaggy
name = "Tajara Shaggy"
icon_state = "hair_shaggy"
species_allowed = list("Tajara")
taj_ears_mohawk
name = "Tajaran Mohawk"
icon_state = "hair_mohawk"
species_allowed = list("Tajara")
taj_ears_plait
name = "Tajara Plait"
icon_state = "hair_plait"
species_allowed = list("Tajara")
taj_ears_straight
name = "Tajara Straight"
icon_state = "hair_straight"
species_allowed = list("Tajara")
taj_ears_long
name = "Tajara Long"
icon_state = "hair_long"
species_allowed = list("Tajara")
taj_ears_rattail
name = "Tajara Rat Tail"
icon_state = "hair_rattail"
species_allowed = list("Tajara")
taj_ears_spiky
name = "Tajara Spiky"
icon_state = "hair_tajspiky"
species_allowed = list("Tajara")
taj_ears_messy
name = "Tajara Messy"
icon_state = "hair_messy"
species_allowed = list("Tajara")
taj_ears_curls
name = "Tajara Curly"
icon_state = "hair_curly"
species_allowed = list("Tajara")
taj_ears_wife
name = "Tajara Housewife"
icon_state = "hair_wife"
species_allowed = list("Tajara")
taj_ears_victory
name = "Tajara Victory Curls"
icon_state = "hair_victory"
species_allowed = list("Tajara")
taj_ears_bob
name = "Tajara Bob"
icon_state = "hair_tbob"
species_allowed = list("Tajara")
taj_ears_fingercurl
name = "Tajara Finger Curls"
icon_state = "hair_fingerwave"
species_allowed = list("Tajara")
/datum/sprite_accessory/facial_hair
taj_sideburns
name = "Tajara Sideburns"
icon_state = "facial_sideburns"
species_allowed = list("Tajara")
taj_mutton
name = "Tajara Mutton"
icon_state = "facial_mutton"
species_allowed = list("Tajara")
taj_pencilstache
name = "Tajara Pencilstache"
icon_state = "facial_pencilstache"
species_allowed = list("Tajara")
taj_moustache
name = "Tajara Moustache"
icon_state = "facial_moustache"
species_allowed = list("Tajara")
taj_goatee
name = "Tajara Goatee"
icon_state = "facial_goatee"
species_allowed = list("Tajara")
taj_smallstache
name = "Tajara Smallsatche"
icon_state = "facial_smallstache"
species_allowed = list("Tajara")
//skin styles - WIP
//going to have to re-integrate this with surgery
//let the icon_state hold an icon preview for now
/datum/sprite_accessory/skin
icon = 'icons/mob/human_races/r_human.dmi'
human
name = "Default human skin"
icon_state = "default"
species_allowed = list("Human")
human_tatt01
name = "Tatt01 human skin"
icon_state = "tatt1"
species_allowed = list("Human")
tajaran
name = "Default tajaran skin"
icon_state = "default"
icon = 'icons/mob/human_races/r_tajaran.dmi'
species_allowed = list("Tajara")
unathi
name = "Default Unathi skin"
icon_state = "default"
icon = 'icons/mob/human_races/r_lizard.dmi'
species_allowed = list("Unathi")
skrell
name = "Default skrell skin"
icon_state = "default"
icon = 'icons/mob/human_races/r_skrell.dmi'
species_allowed = list("Skrell")