|
|
|
@@ -177,6 +177,15 @@ datum/preferences
|
|
|
|
|
g_skin = green
|
|
|
|
|
b_skin = blue
|
|
|
|
|
|
|
|
|
|
proc/blend_backpack(var/icon/clothes_s,var/backbag,var/satchel,var/backpack="backpack")
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', backpack), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', satchel), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
return clothes_s
|
|
|
|
|
|
|
|
|
|
proc/update_preview_icon(var/for_observer=0) //seriously. This is horrendous.
|
|
|
|
|
del(preview_icon_front)
|
|
|
|
@@ -250,435 +259,223 @@ datum/preferences
|
|
|
|
|
undershirt_s = new/icon("icon" = 'icons/mob/human.dmi', "icon_state" = "undershirt[undershirt]_s")
|
|
|
|
|
|
|
|
|
|
var/icon/clothes_s = null
|
|
|
|
|
var/uniform_dmi='icons/mob/uniform.dmi'
|
|
|
|
|
if(disabilities&DISABILITY_FLAG_FAT)
|
|
|
|
|
uniform_dmi='icons/mob/uniform_fat.dmi'
|
|
|
|
|
if(job_civilian_low & ASSISTANT)//This gives the preview icon clothes depending on which job(if any) is set to 'high'
|
|
|
|
|
|
|
|
|
|
// UNIFORM DMI
|
|
|
|
|
var/uniform_dmi=current_species.uniform_icons
|
|
|
|
|
if(disabilities&DISABILITY_FLAG_FAT && current_species.fat_uniform_icons)
|
|
|
|
|
uniform_dmi=current_species.fat_uniform_icons
|
|
|
|
|
|
|
|
|
|
// SHOES DMI
|
|
|
|
|
var/feet_dmi=current_species.shoes_icons
|
|
|
|
|
|
|
|
|
|
if(!for_observer)
|
|
|
|
|
// Commenting this check so that, if all else fails, the preview icon is never naked. - N3X
|
|
|
|
|
//if(job_civilian_low & ASSISTANT) //This gives the preview icon clothes depending on which job(if any) is set to 'high'
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "grey_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
if(backbag == 2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
else if(backbag == 3 || backbag == 4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
|
|
|
|
|
else if(job_civilian_high)//I hate how this looks, but there's no reason to go through this switch if it's empty
|
|
|
|
|
switch(job_civilian_high)
|
|
|
|
|
if(HOP)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "hop_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "brown"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "ianshirt"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-norm"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(BARTENDER)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "ba_suit_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "tophat"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-norm"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(BOTANIST)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "hydroponics_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "ggloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "apron"), ICON_OVERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "nymph"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-hyd"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(CHEF)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "chef_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "chef"), ICON_OVERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "apronchef"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-norm"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(JANITOR)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "janitor_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "bio_janitor"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-norm"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(LIBRARIAN)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "red_suit_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "hairflower"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-norm"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(QUARTERMASTER)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "qm_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "brown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "poncho"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-norm"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(CARGOTECH)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "cargotech_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "flat_cap"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-norm"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(MINER)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "miner_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "bearpelt"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-eng"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(LAWYER)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "internalaffairs_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "brown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/items_righthand.dmi', "briefcase"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "suitjacket_blue"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-norm"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(CHAPLAIN)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "chapblack_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "imperium_monk"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-norm"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(CLOWN)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "clown_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "clown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/mask.dmi', "clown"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "clownpack"), ICON_OVERLAY)
|
|
|
|
|
if(MIME)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "mime_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "lgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/mask.dmi', "mime"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "beret"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "suspenders"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-norm"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
//else
|
|
|
|
|
if(job_civilian_high)//I hate how this looks, but there's no reason to go through this switch if it's empty
|
|
|
|
|
switch(job_civilian_high)
|
|
|
|
|
if(HOP)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "hop_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "brown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "armor"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "helmet"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
if(BARTENDER)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "ba_suit_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "armor"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
if(BOTANIST)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "hydroponics_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "ggloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "apron"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-hyd")
|
|
|
|
|
if(CHEF)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "chef_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "chef"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
if(JANITOR)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "janitor_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
if(LIBRARIAN)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "red_suit_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
if(QUARTERMASTER)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "qm_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "brown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/eyes.dmi', "sun"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/items_righthand.dmi', "clipboard"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
if(CARGOTECH)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "cargotech_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
if(MINER)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "miner_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-eng")
|
|
|
|
|
if(LAWYER)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "internalaffairs_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "brown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/items_righthand.dmi', "briefcase"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
if(CHAPLAIN)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "chapblack_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
if(CLOWN)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "clown_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "clown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/mask.dmi', "clown"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "clownpack"), ICON_OVERLAY)
|
|
|
|
|
if(MIME)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "mime_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "lgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/mask.dmi', "mime"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "beret"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "suspenders"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
|
|
|
|
|
else if(job_medsci_high)
|
|
|
|
|
switch(job_medsci_high)
|
|
|
|
|
if(RD)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "director_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "brown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_open"), ICON_OVERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "petehat"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-tox"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(SCIENTIST)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "toxinswhite_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "white"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_tox_open"), ICON_OVERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "metroid"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-tox"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(CHEMIST)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "chemistrywhite_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "white"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labgreen"), ICON_OVERLAY)
|
|
|
|
|
else
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_chem_open"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-chem"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(CMO)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "cmo_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "brown"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "bio_cmo"), ICON_OVERLAY)
|
|
|
|
|
else
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_cmo_open"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "medicalpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-med"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(DOCTOR)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "medical_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "white"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "surgeon"), ICON_OVERLAY)
|
|
|
|
|
else
|
|
|
|
|
else if(job_medsci_high)
|
|
|
|
|
switch(job_medsci_high)
|
|
|
|
|
if(RD)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "director_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "brown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/items_righthand.dmi', "clipboard"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_open"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "medicalpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-med"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(GENETICIST)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "geneticswhite_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "white"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "monkeysuit"), ICON_OVERLAY)
|
|
|
|
|
else
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-tox")
|
|
|
|
|
if(SCIENTIST)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "toxinswhite_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "white"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_tox_open"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-tox")
|
|
|
|
|
if(CHEMIST)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "chemistrywhite_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "white"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_chem_open"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-chem")
|
|
|
|
|
if(CMO)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "cmo_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "brown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/items_lefthand.dmi', "firstaid"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_cmo_open"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-med")
|
|
|
|
|
if(DOCTOR)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "medical_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "white"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/items_lefthand.dmi', "firstaid"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_open"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-med","medicalpack")
|
|
|
|
|
if(GENETICIST)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "geneticswhite_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "white"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_gen_open"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-gen"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(VIROLOGIST)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "virologywhite_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "white"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/mask.dmi', "sterile"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_vir_open"), ICON_OVERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "plaguedoctor"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "medicalpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-vir"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(ROBOTICIST)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "robotics_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_open"), ICON_OVERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-gen")
|
|
|
|
|
if(VIROLOGIST)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "virologywhite_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "white"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/mask.dmi', "sterile"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_vir_open"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-vir","medicalpack")
|
|
|
|
|
if(ROBOTICIST)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "robotics_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/items_righthand.dmi', "toolbox_blue"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-norm"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_open"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
|
|
|
|
|
else if(job_engsec_high)
|
|
|
|
|
switch(job_engsec_high)
|
|
|
|
|
if(CAPTAIN)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "captain_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "brown"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "centcomcaptain"), ICON_OVERLAY)
|
|
|
|
|
else
|
|
|
|
|
else if(job_engsec_high)
|
|
|
|
|
switch(job_engsec_high)
|
|
|
|
|
if(CAPTAIN)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "captain_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "brown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "captain"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-cap"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(HOS)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "hosred_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "jackboots"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "hosberet"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "securitypack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-sec"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(WARDEN)
|
|
|
|
|
clothes_s = new /icon('icons/mob/uniform.dmi', "warden_s")
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "slippers_worn"), ICON_OVERLAY)
|
|
|
|
|
else
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "jackboots"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "securitypack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-sec"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(DETECTIVE)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "detective_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "brown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/mask.dmi', "cigaron"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "detective"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "detective"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-norm"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(OFFICER)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "secred_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "jackboots"), ICON_UNDERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "officerberet"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "securitypack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-sec"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(CHIEF)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "chief_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "brown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/belt.dmi', "utility"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "hardhat0_white"), ICON_OVERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/items_righthand.dmi', "blueprints"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "engiepack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-eng"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(ENGINEER)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "engine_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "orange"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/belt.dmi', "utility"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "hardhat0_yellow"), ICON_OVERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "hazard"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "engiepack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-eng"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(ATMOSTECH)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "atmos_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/belt.dmi', "utility"), ICON_OVERLAY)
|
|
|
|
|
if(prob(1))
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "firesuit"), ICON_OVERLAY)
|
|
|
|
|
switch(backbag)
|
|
|
|
|
if(2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
if(3)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel-norm"), ICON_OVERLAY)
|
|
|
|
|
if(4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
|
|
|
|
|
if(AI)//Gives AI and borgs assistant-wear, so they can still customize their character
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "grey_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "straight_jacket"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "cardborg_h"), ICON_OVERLAY)
|
|
|
|
|
if(backbag == 2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
else if(backbag == 3 || backbag == 4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
if(CYBORG)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "grey_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "cardborg"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "cardborg_h"), ICON_OVERLAY)
|
|
|
|
|
if(backbag == 2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
else if(backbag == 3 || backbag == 4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
|
|
|
|
|
if(disabilities & NEARSIGHTED)
|
|
|
|
|
preview_icon.Blend(new /icon('icons/mob/eyes.dmi', "glasses"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/eyes.dmi', "sun"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "caparmor"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-cap")
|
|
|
|
|
if(HOS)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "hosred_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "jackboots"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "helmet"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "armor"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-sec","securitypack")
|
|
|
|
|
if(WARDEN)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "warden_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "jackboots"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "helmet"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "armor"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-sec","securitypack")
|
|
|
|
|
if(DETECTIVE)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "detective_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "brown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/mask.dmi', "cigaron"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "detective"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "detective"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
if(OFFICER)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "secred_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "jackboots"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "helmet"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "armor"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-sec","securitypack")
|
|
|
|
|
if(CHIEF)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "chief_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "brown"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/belt.dmi', "utility"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/mask.dmi', "cigaron"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "hardhat0_white"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-eng","engiepack")
|
|
|
|
|
if(ENGINEER)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "engine_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "orange"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/belt.dmi', "utility"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/head.dmi', "hardhat0_yellow"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-eng","engiepack")
|
|
|
|
|
if(ATMOSTECH)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "atmos_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/belt.dmi', "utility"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
if(ROBOTICIST)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "robotics_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/hands.dmi', "bgloves"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/items_righthand.dmi', "toolbox_blue"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/suit.dmi', "labcoat_open"), ICON_OVERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
if(AI)//Gives AI and borgs assistant-wear, so they can still customize their character
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "grey_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
if(CYBORG)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "grey_s")
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
|
|
|
|
|
// Observers get tourist outfit.
|
|
|
|
|
if(for_observer)
|
|
|
|
|
clothes_s = new /icon(uniform_dmi, "tourist_s")
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/feet.dmi', "black"), ICON_UNDERLAY)
|
|
|
|
|
if(backbag == 2)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "backpack"), ICON_OVERLAY)
|
|
|
|
|
else if(backbag == 3 || backbag == 4)
|
|
|
|
|
clothes_s.Blend(new /icon('icons/mob/back.dmi', "satchel"), ICON_OVERLAY)
|
|
|
|
|
clothes_s.Blend(new /icon(feet_dmi, "black"), ICON_UNDERLAY)
|
|
|
|
|
clothes_s=blend_backpack(clothes_s,backbag,"satchel-norm")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
preview_icon.Blend(eyes_s, ICON_OVERLAY)
|
|
|
|
|