/* TUTORIAL
"icon" is the file with the HUD/ground icon for the item
"icon_state" is the iconstate in this file for the item
"icon_override" is the file with the on-mob icons, can be the same file
"item_state" is the iconstate for the on-mob icons:
item_state_s is used for worn uniforms on mobs
item_state_r and item_state_l are for being held in each hand
"item_state_slots" can replace "item_state", it is a list:
item_state_slots["slotname1"] = "item state for that slot"
item_state_slots["slotname2"] = "item state for that slot"
*/
/* TEMPLATE
//ckey:Character Name
/obj/item/weapon/fluff/charactername
name = ""
desc = ""
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "myicon"
icon_override = 'icons/vore/custom_items_vr.dmi'
item_state = "myicon"
*/
//For general use
/obj/item/device/modkit_conversion
name = "modification kit"
desc = "A kit containing all the needed tools and parts to modify a suit and helmet."
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "modkit"
var/parts = 3
var/from_helmet = /obj/item/clothing/head/helmet/space/void
var/from_suit = /obj/item/clothing/suit/space/void
var/to_helmet = /obj/item/clothing/head/cardborg
var/to_suit = /obj/item/clothing/suit/cardborg
//Conversion proc
afterattack(obj/O, mob/user as mob)
var/flag
var/to_type
if(istype(O,from_helmet))
flag = 1
to_type = to_helmet
else if(istype(O,from_suit))
flag = 2
to_type = to_suit
else
return
if(!(parts & flag))
user << "This kit has no parts for this modification left."
return
if(istype(O,to_type))
user << "[O] is already modified."
return
if(!isturf(O.loc))
user << "[O] must be safely placed on the ground for modification."
return
playsound(user.loc, 'sound/items/Screwdriver.ogg', 100, 1)
var/N = new to_type(O.loc)
user.visible_message("[user] opens \the [src] and modifies \the [O] into \the [N].","You open \the [src] and modify \the [O] into \the [N].")
qdel(O)
parts &= ~flag
if(!parts)
qdel(src)
//JoanRisu:Joan Risu
/obj/item/weapon/flame/lighter/zippo/fluff/joan
name = "Federation Zippo Lighter"
desc = "A red zippo lighter with the United Federation Logo on it."
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "joanzip"
//JoanRisu:Joan Risu
/obj/item/weapon/claymore/fluff/joanaria
name = "Aria"
desc = "A beautifully crafted rapier owned by Joan Risu. It has a thin blade and is used for quick attacks."
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "joanaria"
origin_tech = "materials=7"
//john.wayne9392:Harmony Prechtl
/obj/item/weapon/twohanded/fireaxe/fluff/mjollnir
name = "Mjollnir"
desc = "Large hammer that looks like it can do a great deal of damage if properly used."
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "harmonymjollnir"
origin_tech = "materials=7"
attack_verb = list("attacked", "hammered", "smashed", "slammed", "crushed")
//JoanRisu:Joan Risu
/obj/item/weapon/card/id/gold/fluff/joanbadge
name = "Faded Badge"
desc = "A faded badge, backed with leather, that reads 'NT Security Force' across the front."
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "joanbadge"
attack_self(mob/user as mob)
if(isliving(user))
user.visible_message("[user] flashes their golden security badge.\nIt reads:NT Security.","You display the faded badge.\nIt reads: NT Security.")
attack(mob/living/carbon/human/M, mob/living/user)
if(isliving(user))
user.visible_message("[user] invades [M]'s personal space, thrusting [src] into their face insistently.","You invade [M]'s personal space, thrusting [src] into their face insistently.")
//JoanRisu:Joan Risu
/obj/item/device/pda/heads/hos/fluff/joanpda
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "pda-joan"
//john.wayne9392:Harmony Prechtl
/obj/item/device/modkit_conversion/fluff/harmonyspace
name = "Harmony's captain space suit modkit"
desc = "A kit containing all the needed tools and parts to modify a Captain's hardsuit. It has green and yellow parts inside."
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "harmony_kit"
from_helmet = /obj/item/clothing/head/helmet/space/capspace
from_suit = /obj/item/clothing/suit/armor/captain
to_helmet = /obj/item/clothing/head/helmet/space/capspace/fluff/harmhelm
to_suit = /obj/item/clothing/suit/armor/captain/fluff/harmsuit
//john.wayne9392:Harmony Prechtl
/obj/item/device/modkit_conversion/fluff/harmonysuit
name = "Harmony's captain suit modkit"
desc = "A sewing kit containing all the needed tools and fabric to modify a Captain's suit and hat. It has green and yellow fabrics inside."
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "harmony_kit"
from_helmet = /obj/item/clothing/head/caphat
from_suit = /obj/item/clothing/under/rank/captain
to_helmet = /obj/item/clothing/head/centhat/fluff/harmhat
to_suit = /obj/item/clothing/under/rank/captain/fluff/harmuniform
//scree:Scree
/obj/item/device/modkit_conversion/fluff/screekit
name = "Scree's hardsuit modification kit"
desc = "A kit containing all the needed tools and parts to modify a hardsuit for a specific user. This one looks like it's fitted for a winged creature."
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "modkit"
from_helmet = /obj/item/clothing/head/helmet/space/void/engineering
from_suit = /obj/item/clothing/suit/space/void/engineering
to_helmet = /obj/item/clothing/head/helmet/space/void/engineering/fluff/screehelm
to_suit = /obj/item/clothing/suit/space/void/engineering/fluff/screespess
//General Use
/obj/item/weapon/flag
name = "Nanotrasen Banner"
desc = "I pledge allegiance to the flag of a megacorporation in space."
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "Flag_Nanotrasen"
icon_override = 'icons/vore/custom_items_vr.dmi'
item_state = "Flag_Nanotrasen"
attack_self(mob/user as mob)
if(isliving(user))
user.visible_message("[user] waves their Banner around!","You wave your Banner around.")
attack(mob/living/carbon/human/M, mob/living/user)
if(isliving(user))
user.visible_message("[user] invades [M]'s personal space, thrusting [src] into their face insistently.","You invade [M]'s personal space, thrusting [src] into their face insistently.")
federation
name = "Federation Banner"
desc = "Space, The Final Frontier. Sorta. Just go with it and say the damn oath."
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "flag_federation"
icon_override = 'icons/vore/custom_items_vr.dmi'
item_state = "flag_federation"
//zodiacshadow: ?
/obj/item/device/radio/headset/fluff/zodiacshadow
name = "Nehi's 'phones"
desc = "A pair of old-fashioned purple headphones for listening to music that also double as an NT-approved headset; they connect nicely to any standard PDA. One side is engraved with the letters NEHI, the other having an elaborate inscription of the words \"My voice is my weapon of choice\" in a fancy font. A modern polymer allows switching between modes to either allow one to hear one's surroundings or to completely block them out."
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "headphones"
icon_override = 'icons/vore/custom_items_vr.dmi'
item_state = "headphones_mob"
// OrbisA: Richard D'angelo
/obj/item/weapon/melee/fluff/holochain
name = "Holographic Chain"
desc = "A High Tech solution to simple perversions. It has a red leather handle and the initials R.D. on the silver base."
icon = 'icons/vore/custom_items_vr.dmi'
icon_state = "holochain"
icon_override = 'icons/vore/custom_items_vr.dmi'
item_state = "holochain_mob"
flags = CONDUCT | NOBLOODY
no_attack_log = 1 //if you want to turn on the attack log for this, comment/delete this line. Orbis.
slot_flags = SLOT_BELT
force = 10
throwforce = 3
w_class = 3
damtype = HALLOSS
attack_verb = list("flogged", "whipped", "lashed", "disciplined", "chastised", "flayed")
// joey4298:Emoticon
/obj/item/device/fluff/id_kit_mime
name = "Mime ID reprinter"
desc = "Stick your ID in one end and it'll print a new ID out the other!"
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "labeler1"
afterattack(obj/O, mob/user as mob)
var/new_icon = "mime"
if(istype(O,/obj/item/weapon/card/id) && O.icon_state != new_icon)
//O.icon = src.icon // just in case we're using custom sprite paths with fluff items.
O.icon_state = new_icon // Changes the icon without changing the access.
playsound(user.loc, 'sound/items/polaroid2.ogg', 100, 1)
user.visible_message(" [user] reprints their ID.")
del(src)
else if(O.icon_state == new_icon)
user << "[O] already has been reprinted."
return
else
user << "This isn't even an ID card you idiot."
return