mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-05 07:02:36 +00:00
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4013 316c924e-a436-60f5-8080-3fe189b3f50e
83 lines
2.2 KiB
Plaintext
83 lines
2.2 KiB
Plaintext
/obj/item/clothing/head/soft
|
|
name = "cargo cap"
|
|
desc = "It's a baseball hat in a tasteless yellow colour."
|
|
icon_state = "cargosoft"
|
|
flags = FPRINT|TABLEPASS|HEADCOVERSEYES
|
|
item_state = "helmet"
|
|
color = "cargo"
|
|
var/flipped = 0
|
|
|
|
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/rainbow
|
|
name = "rainbow cap"
|
|
desc = "It's a baseball hat in a bright rainbow of colors."
|
|
icon_state = "rainbowsoft"
|
|
color = "rainbow"
|
|
|