/obj/item/clothing/head/soft name = "cargo cap" desc = "It's a baseball hat in a tasteless yellow colour." icon_state = "cargosoft" item_state = "helmet" _color = "cargo" var/flipped = 0 siemens_coefficient = 0.9 dropped() src.icon_state = "[_color]soft" src.flipped=0 ..() verb/flip() set category = "Object" set name = "Flip cap" set src in usr if(usr.canmove && !usr.stat && !usr.restrained()) src.flipped = !src.flipped if(src.flipped) icon_state = "[_color]soft_flipped" usr << "You flip the hat backwards." else icon_state = "[_color]soft" usr << "You flip the hat back in normal position." usr.update_inv_head() //so our mob-overlays update /obj/item/clothing/head/soft/red name = "red cap" desc = "It's a baseball hat in a tasteless red colour." icon_state = "redsoft" _color = "red" /obj/item/clothing/head/soft/blue name = "blue cap" desc = "It's a baseball hat in a tasteless blue colour." icon_state = "bluesoft" _color = "blue" /obj/item/clothing/head/soft/green name = "green cap" desc = "It's a baseball hat in a tasteless green colour." icon_state = "greensoft" _color = "green" /obj/item/clothing/head/soft/yellow name = "yellow cap" desc = "It's a baseball hat in a tasteless yellow colour." icon_state = "yellowsoft" _color = "yellow" /obj/item/clothing/head/soft/grey name = "grey cap" desc = "It's a baseball hat in a tasteful grey colour." icon_state = "greysoft" _color = "grey" /obj/item/clothing/head/soft/orange name = "orange cap" desc = "It's a baseball hat in a tasteless orange colour." icon_state = "orangesoft" _color = "orange" /obj/item/clothing/head/soft/mime name = "white cap" desc = "It's a baseball hat in a tasteless white colour." icon_state = "mimesoft" _color = "mime" /obj/item/clothing/head/soft/purple name = "purple cap" desc = "It's a baseball hat in a tasteless purple colour." icon_state = "purplesoft" _color = "purple" /obj/item/clothing/head/soft/black name = "black cap" desc = "It's a baseball hat in a tasteless black colour." icon_state = "blacksoft" _color = "black" /obj/item/clothing/head/soft/rainbow name = "rainbow cap" desc = "It's a baseball hat in a bright rainbow of colors." icon_state = "rainbowsoft" _color = "rainbow" /obj/item/clothing/head/soft/sec name = "security cap" desc = "It's baseball hat in tasteful red colour." icon_state = "secsoft" _color = "sec" armor = list(melee = 30, bullet = 25, laser = 25, energy = 10, bomb = 0, bio = 0, rad = 0) /obj/item/clothing/head/soft/sec/corp name = "corporate security cap" desc = "It's baseball hat in corpotate colours." icon_state = "corpsoft" _color = "corp"