Custom items 29/12 (#1343)

Adding the following items:

Magnetic Flower Pin - Aquila - nandabun
LR-31MTA Beret - Ikrad Yam'hir - houseofsynth
Tattered Letter - Ikrad Yam'hir - houseofsynth

And fixing name/desc on Iskra's uniform.
This commit is contained in:
Alberyk
2016-12-29 23:10:55 -02:00
committed by skull132
parent f70f84a9a7
commit f643c6590a
2 changed files with 55 additions and 3 deletions

View File

@@ -796,9 +796,9 @@ All custom items with worn sprites must follow the contained sprite system: http
contained_sprite = 1
/obj/item/clothing/under/fluff/iskra_uniform //Worn Peoples Republic Service Uniform - Iskra Ayrat - alberyk
name = "worn peoples republic service uniform"
desc = "A well-worn shirt with blue strips, coupled with brown uniform pants. It seems to be part of the peoples republic of Adhomai service uniform."
/obj/item/clothing/under/fluff/iskra_uniform //Worn People's Republic Service Uniform - Iskra Ayrat - alberyk
name = "worn people's republic service uniform"
desc = "A well-worn shirt with blue strips, coupled with brown uniform pants. It seems to be part of the people's republic of Adhomai service uniform."
icon = 'icons/obj/custom_items/iskra_clothing.dmi'
icon_state = "iskra_clothing"
item_state = "iskra_clothing"
@@ -835,3 +835,55 @@ All custom items with worn sprites must follow the contained sprite system: http
desc = "A faded badge, backed with leather, that reads 'NT Security Force' across the front. It bears the emblem of the Forensic division."
stored_name = "Ana Issek"
badge_string = "NanoTrasen Security Department"
/obj/item/clothing/head/hairflower/fluff/aquila_pin //Magnetic Flower Pin - Aquila - nandabun
name = "magnetic flower pin"
desc = "That's a magnet in the shape of a hair flower pin. Smells nice."
/obj/item/clothing/head/beret/eng/fluff/ikrad_beret //LR-31MTA Beret - Ikrad Yam'hir - houseofsynth
name = "LR-31MTA Beret"
desc = "A silver beret with an insignia on the front, it looks like an old Tajaran cannon with a ring around it. \
Along the top half of the ring \"LR-31MTA\" is engraved. The word \"Yam'hir\" is engraved along the bottom half of the ring. \
The beret looks old and is worn in some places around the edges. It appears to have a flap inside, \
secured by a piece of elastic that loops around a button."
icon = 'icons/obj/custom_items/ikrad_beret.dmi'
icon_state = "ikrad_beret"
item_state = "ikrad_beret"
contained_sprite = 1
var/letter
/obj/item/clothing/head/beret/eng/fluff/ikrad_beret/New()
..()
var/obj/item/fluff/ikrad_letter/hat_letter = new(src)
letter = hat_letter
hat_letter.attack_self()
/obj/item/clothing/head/beret/eng/fluff/ikrad_beret/attack_self(var/mob/user)
if(letter)
user << "<span class='notice'>You remove \the [letter] from inside the [src]'s flap.</span>"
user.drop_from_inventory(src)
user.put_in_hands(letter)
user.put_in_hands(src)
letter = null
else
..()
/obj/item/clothing/head/beret/eng/fluff/ikrad_beret/attackby(var/obj/item/fluff/ikrad_letter/W, var/mob/user)
if(!src.letter && istype(W))
user << "<span class='notice'>You place \the [W] back inside the [src]'s flap.</span>"
user.drop_from_inventory(W)
W.forceMove(src)
src.letter = W
else
..()
/obj/item/fluff/ikrad_letter //Tattered Letter - Ikrad Yam'hir - houseofsynth
name = "tattered letter"
desc = "A tattered looking piece of paper that looks to have been folded multiple times. \
Although written in Siik'Maas it seems to be laid out like a letter, addressed to an \"Ikta Yam'hir\" and written in quite \
an untidy scrawl. The letter is torn in some places and the is writing faded."
icon = 'icons/obj/custom_items/ikrad_beret.dmi'
icon_state = "ikrad_letter"
w_class = 2