mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Removed custom item defines, refactored mech kits.
This commit is contained in:
@@ -547,6 +547,7 @@
|
||||
#include "code\game\objects\items\crayons.dm"
|
||||
#include "code\game\objects\items\glassjar.dm"
|
||||
#include "code\game\objects\items\latexballoon.dm"
|
||||
#include "code\game\objects\items\paintkit.dm"
|
||||
#include "code\game\objects\items\shooting_range.dm"
|
||||
#include "code\game\objects\items\toys.dm"
|
||||
#include "code\game\objects\items\trash.dm"
|
||||
@@ -936,7 +937,6 @@
|
||||
#include "code\modules\clothing\under\jobs\medsci.dm"
|
||||
#include "code\modules\clothing\under\jobs\security.dm"
|
||||
#include "code\modules\customitems\item_defines.dm"
|
||||
#include "code\modules\customitems\item_kits.dm"
|
||||
#include "code\modules\customitems\item_spawning.dm"
|
||||
#include "code\modules\detectivework\evidence.dm"
|
||||
#include "code\modules\detectivework\footprints_and_rag.dm"
|
||||
|
||||
@@ -1070,18 +1070,6 @@
|
||||
do_after_cooldown()
|
||||
return 1
|
||||
|
||||
/obj/item/weapon/paintkit //Please don't use this for anything, it's a base type for custom mech paintjobs.
|
||||
name = "mecha customisation kit"
|
||||
desc = "A generic kit containing all the needed tools and parts to turn a mech into another mech."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "royce_kit"
|
||||
|
||||
var/new_name = "mech" //What is the variant called?
|
||||
var/new_desc = "A mech." //How is the new mech described?
|
||||
var/new_icon = "ripley" //What base icon will the new mech use?
|
||||
var/removable = null //Can the kit be removed?
|
||||
var/list/allowed_types = list() //Types of mech that the kit will work on.
|
||||
|
||||
/obj/item/mecha_parts/mecha_equipment/tool/passenger
|
||||
name = "passenger compartment"
|
||||
desc = "A mountable passenger compartment for exo-suits. Rather cramped."
|
||||
|
||||
@@ -814,13 +814,13 @@
|
||||
user.visible_message("[user] attaches [W] to [src].", "You attach [W] to [src]")
|
||||
return
|
||||
|
||||
else if(istype(W, /obj/item/weapon/paintkit))
|
||||
else if(istype(W, /obj/item/device/kit/paint))
|
||||
|
||||
if(occupant)
|
||||
user << "You can't customize a mech while someone is piloting it - that would be unsafe!"
|
||||
return
|
||||
|
||||
var/obj/item/weapon/paintkit/P = W
|
||||
var/obj/item/device/kit/paint/P = W
|
||||
var/found = null
|
||||
|
||||
for(var/type in P.allowed_types)
|
||||
@@ -838,9 +838,7 @@
|
||||
src.desc = P.new_desc
|
||||
src.initial_icon = P.new_icon
|
||||
src.reset_icon()
|
||||
|
||||
user.drop_item()
|
||||
qdel(P)
|
||||
P.use(1, user)
|
||||
|
||||
else
|
||||
call((proc_res["dynattackby"]||src), "dynattackby")(W,user)
|
||||
|
||||
58
code/game/objects/items/paintkit.dm
Normal file
58
code/game/objects/items/paintkit.dm
Normal file
@@ -0,0 +1,58 @@
|
||||
/obj/item/device/kit
|
||||
var/new_name = "mech" //What is the variant called?
|
||||
var/new_desc = "A mech." //How is the new mech described?
|
||||
var/new_icon = "ripley" //What base icon will the new mech use?
|
||||
var/uses = 2 // Uses before the kit deletes itself.
|
||||
|
||||
/obj/item/device/kit/proc/use(var/amt, var/mob/user)
|
||||
uses -= amt
|
||||
playsound(get_turf(user), 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
if(uses<1)
|
||||
user.drop_item()
|
||||
qdel(src)
|
||||
|
||||
// Root hardsuit kit defines.
|
||||
// Icons for modified hardsuits need to be in the proper .dmis because suit cyclers may cock them up.
|
||||
/obj/item/device/kit/suit
|
||||
name = "voidsuit modification kit"
|
||||
desc = "A kit for modifying a voidsuit."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "salvage_kit"
|
||||
var/new_light_overlay
|
||||
|
||||
/obj/item/clothing/head/helmet/space/void/attackby(var/obj/item/O as obj, mob/user as mob)
|
||||
if(istype(O,/obj/item/device/kit/suit))
|
||||
|
||||
var/obj/item/device/kit/suit/kit = O
|
||||
name = "[kit.new_name] suit helmet"
|
||||
desc = kit.new_desc
|
||||
icon_state = kit.new_icon
|
||||
item_state = kit.new_icon
|
||||
if(kit.new_light_overlay)
|
||||
light_overlay = kit.new_light_overlay
|
||||
user << "You set about modifying the helmet into [src]."
|
||||
kit.use(1,user)
|
||||
return 1
|
||||
return ..()
|
||||
|
||||
/obj/item/clothing/suit/space/void/attackby(var/obj/item/O as obj, mob/user as mob)
|
||||
if(istype(O,/obj/item/device/kit/suit))
|
||||
var/obj/item/device/kit/suit/kit = O
|
||||
name = "[kit.new_name] voidsuit"
|
||||
desc = kit.new_desc
|
||||
icon_state = kit.new_icon
|
||||
item_state = kit.new_icon
|
||||
user << "You set about modifying the suit into [src]."
|
||||
kit.use(1,user)
|
||||
return 1
|
||||
return ..()
|
||||
|
||||
// Actual application of this kit is handled in mecha.dm attackby().
|
||||
/obj/item/device/kit/paint
|
||||
name = "mecha customisation kit"
|
||||
desc = "A generic kit containing all the needed tools and parts to turn a mech into another mech."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "royce_kit"
|
||||
|
||||
var/removable = null
|
||||
var/list/allowed_types = list()
|
||||
@@ -1,340 +0,0 @@
|
||||
// Add custom items you give to people here, and put their icons in custom_items.dmi
|
||||
// Remember to change 'icon = 'icons/obj/custom_items.dmi'' for items not using /obj/item/fluff as a base
|
||||
// Clothing item_state doesn't use custom_items.dmi. Just add them to the normal clothing files.
|
||||
|
||||
/////////////////////////////// 50_n00b - R.A.N.G.E.'s blue dress //////////////////////////
|
||||
|
||||
/obj/item/clothing/suit/fluff/b_dress
|
||||
name = "Blue dress"
|
||||
desc = "A blue dress, worn with a white blouse. It is small, and looks like it won't fit a full grown human."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "br_dress"
|
||||
item_state = "br_dress"
|
||||
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS
|
||||
|
||||
///////////////////////////// Astronovus - Harold's Cane ////////////////////////////
|
||||
|
||||
/obj/item/weapon/cane/fluff/harold
|
||||
name = "Harold's Cane"
|
||||
desc = "A cane with a wooden handle and a plastic frame capable of folding itself to make it more storable."
|
||||
w_class = 1.0
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
item_state = "foldcane"
|
||||
icon_state = "foldcane"
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/drinks/flask/fluff/yuri_kornienkovich_flask
|
||||
name = "Yuri's Flask"
|
||||
desc = "An old gold plated flask. Nothing noteworthy about it besides it being gold and the red star on the worn out leather around it. There is also an engraving on the cap that is rather hard to see but it looks like \"Kornienkovich\" "
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "yuri_kornienkovich_flask"
|
||||
|
||||
|
||||
/obj/item/clothing/under/fluff/solara_light_1 //bluefishie: Solara Born-In-Light
|
||||
name = "Elaborate Purple Dress"
|
||||
desc = "An expertly tailored dress, made out of fine fabrics. The interwoven necklace appears to be made out of gold, with three complicated symbols engraved in the front."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "solara_dress"
|
||||
item_state = "p_suit"
|
||||
worn_state = "solara_dress"
|
||||
|
||||
|
||||
|
||||
|
||||
/obj/item/clothing/suit/storage/labcoat/fluff/aeneas_rinil //Robotics Labcoat - Aeneas Rinil [APPR]
|
||||
name = "Robotics labcoat"
|
||||
desc = "A labcoat with a few markings denoting it as the labcoat of roboticist."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "aeneasrinil"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/obj/item/weapon/crowbar/fluff/zelda_creedy_1 //daaneesh: Zelda Creedy
|
||||
name = "Zelda's Crowbar"
|
||||
desc = "A pink crow bar that has an engraving that reads, 'To Zelda. Love always, Dawn'"
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "zeldacrowbar"
|
||||
item_state = "crowbar"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/////////////// Oen'g Issek Medical Mask //////////////////////////
|
||||
|
||||
/obj/item/clothing/mask/surgical/fluff/primitive
|
||||
name = "primitive mask"
|
||||
desc = "A decorated and creepy gas mask with the filters removed."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
item_state = "head_m"
|
||||
icon_state = "head_m"
|
||||
body_parts_covered = FACE|EYES
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/obj/item/weapon/storage/belt/utility/full/fluff/sophie
|
||||
name = "Sophie's belt"
|
||||
desc = "A tool-belt in Atmos colours."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "sophie_belt"
|
||||
item_state = "sophie_belt"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/obj/item/weapon/flame/lighter/zippo/fluff/fay_sullivan_1 //furohman: Fay Sullivan
|
||||
name = "Graduation Lighter"
|
||||
desc = "A silver engraved lighter with 41 on one side and Tharsis University on the other. The lid reads Fay Sullivan, Cybernetic Engineering, 2541"
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "gradzippo"
|
||||
icon_on = "gradzippoon"
|
||||
icon_off = "gradzippo"
|
||||
|
||||
|
||||
|
||||
/obj/item/clothing/suit/storage/labcoat/fluff/mit
|
||||
name = "MiT Labcoat"
|
||||
desc = "A lab coat from the Martian Institute of Technology with the name 'Dr. Lucina Franco' embroidered onto the right breast pocket."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "mitlabcoat"
|
||||
item_state = "mitlabcoat"
|
||||
|
||||
|
||||
////// Medical eyepatch - Thysse Ezinwa - Jadepython
|
||||
/obj/item/clothing/glasses/eyepatch/fluff/thysse_1
|
||||
name = "medical eyepatch"
|
||||
desc = "On the strap, EZINWA is written in white block letters."
|
||||
|
||||
|
||||
|
||||
///////////////////////////// Jarcolr - Uberto Dandolo - Painted secure briefcase /////////////
|
||||
|
||||
/obj/item/weapon/storage/secure/briefcase/fluff/uberto_dandolo
|
||||
name = "painted secure briefcase"
|
||||
desc = "A bulky briefcase with a combination lock. It features the color green, white and red, and a golden eagle in the middle."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "painted_secure"
|
||||
item_state = "painted_secure"
|
||||
|
||||
|
||||
|
||||
////////////////////////////// Jarcolr - Uberto Dandolo - Feathered trilby /////////////////////
|
||||
|
||||
/obj/item/clothing/head/feather/fluff/uberto_dandolo
|
||||
name = "Feathered trilby"
|
||||
desc = "A sharp, stylish hat with a feather."
|
||||
|
||||
|
||||
/obj/item/clothing/under/fluff/kaine_kalim_2
|
||||
name = "Formal Medical Uniform"
|
||||
desc = "An unusually sterile and pressed uniform. It seems to have a string of vials crossing the chest."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "kaineuniform"
|
||||
item_state = "w_suit"
|
||||
worn_state = "kaineuniform"
|
||||
|
||||
/obj/item/clothing/head/fluff/kaine_kalim_1
|
||||
name = "Formal Medical Cap"
|
||||
desc = "An unusually sterile and folded cap. It seems to bear the Nanotrasen logo."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "kainecap"
|
||||
|
||||
|
||||
/////////////////////////////////// GSTQ - Monogrammed Eyepatch - Edmund Flashman Adler /////////////////////////
|
||||
|
||||
/obj/item/clothing/glasses/eyepatch/fluff/edmund
|
||||
name = "Monogrammed Eyepatch"
|
||||
desc = "A black velvet eyepatch monogrammed in dark purple thread with the initials 'E. A.'"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/obj/item/weapon/flame/lighter/zippo/fluff/li_matsuda_1 //mangled: Li Matsuda
|
||||
name = "blue zippo lighter"
|
||||
desc = "A zippo lighter made of some blue metal."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "bluezippo"
|
||||
icon_on = "bluezippoon"
|
||||
icon_off = "bluezippo"
|
||||
|
||||
|
||||
/obj/item/fluff/sarah_carbrokes_1 //gvazdas: Sarah Carbrokes
|
||||
name = "locket"
|
||||
desc = "A grey locket with a picture of a black haired man in it. The text above it reads: \"Edwin Carbrokes\"."
|
||||
icon_state = "sarah_carbrokes_1"
|
||||
|
||||
/obj/item/clothing/head/soft/sec/corp/fluff/robert_mason
|
||||
name = "Corporate Cap"
|
||||
desc = "It's baseball hat in corporate colors."
|
||||
|
||||
////////////////////////////// Meyar - Cane /////////////////////////////////////////////////
|
||||
|
||||
/obj/item/weapon/cane/fluff/ryals
|
||||
name = "cane"
|
||||
desc = "This cane seems to have 'Ryals' engraved on its handle."
|
||||
icon_state = "cane"
|
||||
item_state = "stick"
|
||||
|
||||
////// Tailored Security Uniform - Parker Eliza - MrSnapwalk
|
||||
|
||||
/obj/item/clothing/under/fluff/parkereliza
|
||||
name = "tailored security uniform"
|
||||
desc = "A red uniform shirt (tailored for easy access to the shoulder joint) and black cargo pants, paired with a set of somewhat bulky white casings for robotic limbs. The arms have a small label on the inner elbow, which reads \"Bishop Corporation Cybernetic Solutions\"."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "parker_eliza"
|
||||
//item_state = "parker_eliza"
|
||||
worn_state = "parker_eliza"
|
||||
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS|HANDS
|
||||
|
||||
////// Bishop "GOLEM" V2200 Industrial Limb Augments - Parker Eliza - MrSnapwalk
|
||||
|
||||
/obj/item/clothing/suit/fluff/parkereliza
|
||||
name = "Bishop \"GOLEM\" V2200 Industrial Limb Augments"
|
||||
desc = "A set of top-of-the-line cyberlimbs, only usable to someone with extensive bone structure augmentation. Often used in industrial applications, they are capable of throwing a man clear across a room. The load limitation circuit in this set appears to be modified."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "parker_eliza_arms"
|
||||
item_state = "parker_eliza_arms"
|
||||
body_parts_covered = 0 //technicially it's underneath everything, being part of the body
|
||||
canremove = 0
|
||||
|
||||
|
||||
//////////////////// Blood Red Pendant - Mewth - Mu'taz Radi ////////////////
|
||||
|
||||
/obj/item/clothing/accessory/fluff/radi
|
||||
name = "Blood Red Pendant"
|
||||
desc = "A blue chained necklace with a ruby in the middle, it looks pretty!"
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "radi_pendant"
|
||||
item_state = "radi_pendant"
|
||||
w_class = 2.0
|
||||
|
||||
////// Black Dress - Lillian Amsel - PapaDrow
|
||||
/obj/item/clothing/under/fluff/lillian_amsel_1
|
||||
name = "Black Dress"
|
||||
desc = "A knee-length, dark gray and black dress made of a soft, velvety material."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "lillian_dress"
|
||||
//item_state = "lillian_dress"
|
||||
worn_state = "lillian_dress"
|
||||
body_parts_covered = UPPER_TORSO|LOWER_TORSO
|
||||
|
||||
//////////// Earpieces ////////////////
|
||||
|
||||
////////////////////////// Skrellian Tailwear - Qokkri Xilo - Paradoxon /////////////
|
||||
|
||||
/obj/item/clothing/ears/fluff/qokkri
|
||||
name = "Skrellian Tailwear"
|
||||
desc = "An ensemble of sophisticated jewels and bands, most likely belonging to a scientific Skrell."
|
||||
icon_state = "xilobeads"
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
item_state = "xilobeads"
|
||||
|
||||
/obj/item/clothing/under/fluff/sakura_hokkaido_kimono
|
||||
name = "Sakura Kimono"
|
||||
desc = "A pale-pink, nearly white, kimono with a red and gold obi. There is a embroidered design of cherry blossom flowers covering the kimono."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "sakura_hokkaido_kimono"
|
||||
item_state = "sakura_hokkaido_kimono"
|
||||
worn_state = "sakura_hokkaido_kimono"
|
||||
|
||||
////////////////////////////// Serithi - Adapted Security Helmet //////////////////////////////
|
||||
|
||||
/obj/item/clothing/head/helmet/fluff/adapted
|
||||
name = "Adapted helmet"
|
||||
desc = "Standard Security gear. Protects the head from impacts. This helmet is specially made for horned Unathi."
|
||||
item_state = "adapted_h"
|
||||
icon_state = "adapted_h"
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
|
||||
/////////////////////// Serveris: Officer's Notebook ////////////////////
|
||||
/obj/item/weapon/folder/blue/fluff/officer_notebook
|
||||
name = "Officer's Notebook"
|
||||
desc = "A simple, spiral bound notebook. A holographic crescent moon is printed on the cover, as well as 'S. Seto' beneath it. Numerous paper flags divide the pages, titled everything from incident reports to personal notes."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "syrus_notebook"
|
||||
|
||||
/obj/item/fluff/david_fanning_1 //sicktrigger: David Fanning
|
||||
name = "golden scalpel"
|
||||
desc = "A fine surgical cutting tool covered in thin gold leaf. Does not seem able to cut anything."
|
||||
icon_state = "david_fanning_1"
|
||||
item_state = "david_fanning_1"
|
||||
|
||||
//////////// Shoes ////////////
|
||||
/obj/item/clothing/shoes/magboots/fluff/susan_harris_1 //sniperyeti: Susan Harris
|
||||
name = "Susan's Magboots"
|
||||
desc = "A colorful pair of magboots with the name Susan Harris clearly written on the back."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "atmosmagboots0"
|
||||
|
||||
////////////////////////////// Tudoreleuu - Emilia Scotts - Customized pAI /////////////
|
||||
/obj/item/device/paicard/fluff/emilia_scotts
|
||||
name = "Customized pAI unit"
|
||||
desc = "It seems to be a pAI Unit, albeit in a different shell. It acts exactly like the normal one. "
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "customized_pai"
|
||||
|
||||
////////////////////////////// Vivallion - Isaac Jachym - Butterfly Lighter ////////////
|
||||
/obj/item/weapon/flame/lighter/zippo/fluff/isaac_jachym
|
||||
name = "Butterfly lighter"
|
||||
desc = "A custom-made zippo lighter, looks rather expensive. On one of it's sides, a clean inscription has been made, 'Butterfly, what is your wisdom?' And I looked down at it's majestic form, flexing it's wings as if to show it's strength. 'Fuck chechenya.' Had it whispered, before fluttering away, and so we went to war."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "che_zippo"
|
||||
icon_on = "che_zippoon"
|
||||
icon_off = "che_zippo"
|
||||
|
||||
/obj/item/clothing/shoes/jackboots/fluff/hal_ishimaru_1 //YankeeSamurai: Hal Ishimaru
|
||||
name = "duty boots"
|
||||
desc = "Eight-inch black leather boots with side zips and NT-approved safety toes."
|
||||
|
||||
/obj/item/clothing/head/beret/fluff/marine_beret //Von2531: Jack Washington
|
||||
name = "colonial marine beret"
|
||||
desc = "A well-worn navy blue beret. The insignia of the Martian Colonial Marine Corps is affixed to the front."
|
||||
icon_state = "officerberet"
|
||||
|
||||
////////////////////////////////////////// Vivallion - Kecer Eldraran - Toe-less Jackboots //////////////
|
||||
/obj/item/clothing/shoes/jackboots/fluff/kecer_eldraran
|
||||
name = "Toe-less Jackboots"
|
||||
desc = "Modified pair of jackboots, particularly friendly to those species whose toes hold claws."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
item_state = "digiboots"
|
||||
icon_state = "digiboots"
|
||||
species_restricted = null
|
||||
|
||||
/obj/item/weapon/folder/blue/fluff/matthew_riebhardt //Matthew Riebhardt - ZekeSulastin
|
||||
name = "academic journal"
|
||||
desc = "An academic journal, seemingly pertaining to medical genetics. This issue is for the second quarter of 2557. Paper flags demarcate some articles the owner finds interesting."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "matthewriebhardt"
|
||||
|
||||
///////////////////////////// Ziepes - Janis Godmanis - Red Zippo //////////////////////
|
||||
/obj/item/weapon/flame/lighter/zippo/fluff/janis_godmanis
|
||||
name = "Red-White-Red Zippo"
|
||||
desc = "A badass zippo that looks like the Austrian flag. Upon closer inspection it is revealed that it's a different shade of red than the Austrian flag.."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "redzippo"
|
||||
icon_on = "redzippoon"
|
||||
icon_off = "redzippo"
|
||||
|
||||
//Painted mask: Dante Cicero - andrewmeythaler
|
||||
/obj/item/clothing/mask/andrewmeythaler
|
||||
name = "painted mask"
|
||||
desc = "A ghoulish mask with a stylized painting of a flame over the left eye, and a painted tear stream coming from the right eye."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
//item_state = "cicero"
|
||||
icon_state = "cicero"
|
||||
body_parts_covered = FACE|EYES
|
||||
|
||||
/obj/item/weapon/storage/belt/medical/fluff/nashi_belt
|
||||
name = "rainbow medical belt"
|
||||
desc = "A somewhat-worn, modified, rainbow belt."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "nashi_belt"
|
||||
item_state = "fluff_rbelt"
|
||||
@@ -1,120 +0,0 @@
|
||||
////// Ripley customisation kit - Butchery Royce - MayeDay
|
||||
/obj/item/weapon/paintkit/fluff/butcher_royce_1
|
||||
name = "Ripley customisation kit"
|
||||
desc = "A kit containing all the needed tools and parts to turn an APLU Ripley into a Titan's Fist worker mech."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "royce_kit"
|
||||
|
||||
new_name = "APLU \"Titan's Fist\""
|
||||
new_desc = "This ordinary mining Ripley has been customized to look like a unit of the Titans Fist."
|
||||
new_icon = "titan"
|
||||
allowed_types = list("ripley","firefighter")
|
||||
|
||||
////// Ripley customisation kit - Sven Fjeltson - Mordeth221
|
||||
|
||||
/obj/item/weapon/paintkit/fluff/sven_fjeltson_1
|
||||
name = "Mercenary APLU kit"
|
||||
desc = "A kit containing all the needed tools and parts to turn an APLU Ripley into an old Mercenaries APLU."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "sven_kit"
|
||||
|
||||
new_name = "APLU \"Strike the Earth!\""
|
||||
new_desc = "Looks like an over worked, under maintained Ripley with some horrific damage."
|
||||
new_icon = "earth"
|
||||
allowed_types = list("ripley","firefighter")
|
||||
|
||||
// Root hardsuit kit defines.
|
||||
// Icons for modified hardsuits need to be in the proper .dmis because suit cyclers may cock them up.
|
||||
/obj/item/device/kit/suit/fluff
|
||||
|
||||
name = "hardsuit modification kit"
|
||||
desc = "A kit for modifying a hardsuit."
|
||||
icon = 'icons/obj/custom_items.dmi'
|
||||
icon_state = "salvage_kit"
|
||||
|
||||
var/new_name // Modifier for new item name - '[new_name] hardsuit'.
|
||||
var/new_helmet_desc // Sets helmet desc.
|
||||
var/new_suit_desc // Sets suit desc.
|
||||
var/helmet_icon // Sets helmet icon_state and item_state.
|
||||
var/suit_icon // Sets suit icon_state and item_state.
|
||||
var/helmet_color // Sets worn_state.
|
||||
var/uses = 2 // Uses before the kit deletes itself.
|
||||
var/new_light_overlay
|
||||
|
||||
/obj/item/clothing/head/helmet/space/void/attackby(var/obj/item/O as obj, mob/user as mob)
|
||||
..()
|
||||
|
||||
if(istype(O,/obj/item/device/kit/suit/fluff))
|
||||
|
||||
var/obj/item/device/kit/suit/fluff/kit = O
|
||||
name = "[kit.new_name] suit helmet"
|
||||
desc = kit.new_helmet_desc
|
||||
icon_state = kit.helmet_icon
|
||||
item_state = kit.helmet_icon
|
||||
|
||||
if(kit.new_light_overlay)
|
||||
light_overlay = kit.new_light_overlay
|
||||
|
||||
user << "You set about modifying the helmet into [src]."
|
||||
playsound(user.loc, 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
|
||||
kit.uses--
|
||||
if(kit.uses<1)
|
||||
user.drop_item()
|
||||
qdel(O)
|
||||
|
||||
/obj/item/clothing/suit/space/void/attackby(var/obj/item/O as obj, mob/user as mob)
|
||||
..()
|
||||
|
||||
if(istype(O,/obj/item/device/kit/suit/fluff))
|
||||
|
||||
var/obj/item/device/kit/suit/fluff/kit = O
|
||||
name = "[kit.new_name] voidsuit"
|
||||
desc = kit.new_suit_desc
|
||||
icon_state = kit.suit_icon
|
||||
item_state = kit.suit_icon
|
||||
|
||||
user << "You set about modifying the suit into [src]."
|
||||
playsound(user.loc, 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
|
||||
kit.uses--
|
||||
if(kit.uses<1)
|
||||
user.drop_item()
|
||||
qdel(O)
|
||||
|
||||
///////// Salvage crew hardsuit - Cybele Petit - solaruin ///////////////
|
||||
/obj/item/device/kit/suit/fluff/salvage
|
||||
name = "salvage hardsuit modification kit"
|
||||
desc = "A kit containing all the needed tools and parts to modify a hardsuit into a salvage hardsuit."
|
||||
|
||||
new_name = "salvage"
|
||||
new_suit_desc = "An orange hardsuit used by salvage flotillas. Has reinforced plating."
|
||||
new_helmet_desc = "An orange hardsuit helmet used by salvage flotillas. Has reinforced plating."
|
||||
helmet_icon = "salvage_helmet"
|
||||
suit_icon = "salvage_suit"
|
||||
helmet_color = "salvage"
|
||||
|
||||
///////// Weathered hardsuit - Callum Leamas - roaper ///////////////
|
||||
/obj/item/device/kit/suit/fluff/roaper
|
||||
name = "Callum's hardsuit modification kit"
|
||||
desc = "A kit containing all the needed tools and parts to modify a hardsuit."
|
||||
|
||||
new_name = "weathered"
|
||||
new_suit_desc = " A jury-rigged and modified engineering hardsuit. It looks slightly damaged and dinged."
|
||||
new_helmet_desc = "A jury-rigged and modified engineering hardsuit helmet. It looks slightly damaged and dinged"
|
||||
helmet_icon = "rig0-roaper"
|
||||
suit_icon = "rig-roaper"
|
||||
helmet_color = "roaper"
|
||||
|
||||
///////// Hazard Hardsuit - Ronan Harper - Raptor1628 //////////////////
|
||||
/obj/item/device/kit/suit/fluff/ronan_harper
|
||||
name = "hazard hardsuit modification kit"
|
||||
desc = "A kit containing all the needed tools and parts to modify a hardsuit."
|
||||
|
||||
new_name = "hazard"
|
||||
new_suit_desc = "An older model of armored NT Hardsuit emblazoned in security colors. The crest of the NAS Rhodes, a copper rose, is painted onto the chestplate."
|
||||
new_helmet_desc = "An older NT Hardsuit Helmet with built-in atmospheric filters. The name HARPER has been printed on the back."
|
||||
helmet_icon = "rig0-hazardhardsuit"
|
||||
suit_icon = "rig-hazardhardsuit"
|
||||
helmet_color = "hazardhardsuit"
|
||||
new_light_overlay = "helmet_light_dual"
|
||||
@@ -15,6 +15,10 @@
|
||||
var/item_path = /obj/item
|
||||
var/req_access = 0
|
||||
var/list/req_titles = list()
|
||||
var/kit_name
|
||||
var/kit_desc
|
||||
var/kit_icon
|
||||
var/additional_data
|
||||
|
||||
/datum/custom_item/proc/spawn_item(var/newloc)
|
||||
var/obj/item/citem = new item_path(newloc)
|
||||
@@ -32,6 +36,20 @@
|
||||
item.icon = 'icons/obj/custom_items.dmi'
|
||||
item.icon_override = 'icons/mob/custom_items.dmi'
|
||||
item.icon_state = item_icon
|
||||
|
||||
// Kits are dumb so this is going to have to be hardcoded/snowflake.
|
||||
if(istype(item, /obj/item/device/kit))
|
||||
var/obj/item/device/kit/K = item
|
||||
K.new_name = kit_name
|
||||
K.new_desc = kit_desc
|
||||
K.new_icon = kit_icon
|
||||
if(istype(item, /obj/item/device/kit/paint))
|
||||
var/obj/item/device/kit/paint/kit = item
|
||||
kit.allowed_types = text2list(additional_data, ", ")
|
||||
else if(istype(item, /obj/item/device/kit/suit))
|
||||
var/obj/item/device/kit/suit/kit = item
|
||||
kit.new_light_overlay = additional_data
|
||||
|
||||
return item
|
||||
|
||||
//parses the config file into the above listlist
|
||||
@@ -81,7 +99,14 @@
|
||||
current_data.req_access = field_data
|
||||
if("req_titles")
|
||||
current_data.req_titles = text2list(field_data,", ")
|
||||
|
||||
if("kit_name")
|
||||
current_data.kit_name = field_data
|
||||
if("kit_desc")
|
||||
current_data.kit_desc = field_data
|
||||
if("kit_icon")
|
||||
current_data.kit_icon = field_data
|
||||
if("additional_data")
|
||||
current_data.additional_data = field_data
|
||||
return 1
|
||||
|
||||
//gets the relevant list for the key from the listlist if it exists, check to make sure they are meant to have it and then calls the giving function
|
||||
|
||||
Reference in New Issue
Block a user