mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-05 23:21:53 +00:00
121 lines
3.4 KiB
Plaintext
121 lines
3.4 KiB
Plaintext
/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"
|
|
item_color = "cargo"
|
|
var/flipped = 0
|
|
actions_types = list(/datum/action/item_action/flip_cap)
|
|
|
|
sprite_sheets = list(
|
|
"Vox" = 'icons/mob/species/vox/head.dmi'
|
|
)
|
|
|
|
/obj/item/clothing/head/soft/dropped()
|
|
icon_state = "[item_color]soft"
|
|
flipped = 0
|
|
..()
|
|
|
|
/obj/item/clothing/head/soft/attack_self(mob/user)
|
|
flip(user)
|
|
|
|
/obj/item/clothing/head/soft/proc/flip(mob/user)
|
|
flipped = !flipped
|
|
if(flipped)
|
|
icon_state = "[item_color]soft_flipped"
|
|
to_chat(usr, "You flip the hat backwards.")
|
|
else
|
|
icon_state = "[item_color]soft"
|
|
to_chat(user, "You flip the hat back in normal position.")
|
|
user.update_inv_head() //so our mob-overlays update
|
|
|
|
for(var/X in actions)
|
|
var/datum/action/A = X
|
|
A.UpdateButtonIcon()
|
|
|
|
/obj/item/clothing/head/soft/red
|
|
name = "red cap"
|
|
desc = "It's a baseball hat in a tasteless red colour."
|
|
icon_state = "redsoft"
|
|
item_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"
|
|
item_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"
|
|
item_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"
|
|
item_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"
|
|
item_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"
|
|
item_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"
|
|
item_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"
|
|
item_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"
|
|
item_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"
|
|
item_color = "rainbow"
|
|
|
|
/obj/item/clothing/head/soft/sec
|
|
name = "security cap"
|
|
desc = "It's baseball hat in tasteful red colour."
|
|
icon_state = "secsoft"
|
|
item_color = "sec"
|
|
armor = list(melee = 30, bullet = 25, laser = 25, energy = 10, bomb = 25, bio = 0, rad = 0)
|
|
strip_delay = 60
|
|
|
|
/obj/item/clothing/head/soft/sec/corp
|
|
name = "corporate security cap"
|
|
desc = "It's baseball hat in corpotate colours."
|
|
icon_state = "corpsoft"
|
|
item_color = "corp"
|
|
|
|
/obj/item/clothing/head/soft/solgov
|
|
name = "Sol Federation marine cap"
|
|
desc = "A soft cap worn by marines of the Sol Federation."
|
|
icon_state = "solgovsoft"
|
|
item_color = "solgov"
|
|
|
|
/obj/item/clothing/head/soft/solgov/command
|
|
name = "Sol Federation Lieutenant's cap"
|
|
desc = "A soft cap worn by marines of the Sol Federation. The insignia signifies the wearer bears the rank of a Lieutenant."
|
|
icon_state = "solgovcsoft"
|
|
item_color = "solgovc"
|