//help I have no idea what I'm doing /obj/item/storage/firstaid icon = 'modular_citadel/icons/firstaid.dmi' /obj/item/storage/firstaid/Initialize(mapload) . = ..() icon_state = pick("[initial(icon_state)]","[initial(icon_state)]2","[initial(icon_state)]3","[initial(icon_state)]4") /obj/item/storage/firstaid/fire icon_state = "burn" /obj/item/storage/firstaid/fire/Initialize(mapload) . = ..() icon_state = pick("[initial(icon_state)]","[initial(icon_state)]2","[initial(icon_state)]3","[initial(icon_state)]4") /obj/item/storage/firstaid/toxin icon_state = "toxin" /obj/item/storage/firstaid/toxin/Initialize(mapload) . = ..() icon_state = pick("[initial(icon_state)]","[initial(icon_state)]2","[initial(icon_state)]3","[initial(icon_state)]4") /obj/item/storage/firstaid/o2 icon_state = "oxy" /obj/item/storage/firstaid/radbgone icon_state = "rad" /obj/item/storage/firstaid/radbgone/Initialize(mapload) . = ..() icon_state = pick("[initial(icon_state)]","[initial(icon_state)]2","[initial(icon_state)]3","[initial(icon_state)]4") /obj/item/storage/firstaid/tactical icon_state = "tactical" //hijacking the minature first aids for hypospray boxes. <3 /obj/item/storage/hypospraykit name = "hypospray kit" desc = "It's a kit containing a hypospray and specific treatment chemical-filled vials." icon = 'modular_citadel/icons/firstaid.dmi' icon_state = "firstaid-mini" lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi' righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi' throw_speed = 3 throw_range = 7 var/empty = FALSE item_state = "firstaid" /obj/item/storage/hypospraykit/ComponentInitialize() . = ..() var/datum/component/storage/STR = GetComponent(/datum/component/storage) STR.max_items = 12 STR.can_hold = typecacheof(list( /obj/item/hypospray/mkii, /obj/item/reagent_containers/glass/bottle/vial)) /obj/item/storage/hypospraykit/regular icon_state = "firstaid-mini" desc = "A hypospray kit with general use vials." /obj/item/storage/hypospraykit/regular/PopulateContents() if(empty) return new /obj/item/hypospray/mkii/tricord(src) new /obj/item/reagent_containers/glass/bottle/vial/small/tricord(src) new /obj/item/reagent_containers/glass/bottle/vial/small/tricord(src) /obj/item/storage/hypospraykit/fire name = "burn treatment hypospray kit" desc = "A specialized hypospray kit for burn treatments. Apply with sass." icon_state = "burn-mini" item_state = "firstaid-ointment" /obj/item/storage/hypospraykit/fire/PopulateContents() if(empty) return new /obj/item/hypospray/mkii/burn(src) new /obj/item/reagent_containers/glass/bottle/vial/small/kelotane(src) new /obj/item/reagent_containers/glass/bottle/vial/small/kelotane(src) /obj/item/storage/hypospraykit/toxin name = "toxin treatment hypospray kit" icon_state = "toxin-mini" item_state = "firstaid-toxin" /obj/item/storage/hypospraykit/toxin/PopulateContents() if(empty) return new /obj/item/hypospray/mkii/toxin(src) new /obj/item/reagent_containers/glass/bottle/vial/small/antitoxin(src) new /obj/item/reagent_containers/glass/bottle/vial/small/antitoxin(src) /obj/item/storage/hypospraykit/o2 name = "oxygen deprivation hypospray kit" icon_state = "oxy-mini" item_state = "firstaid-o2" /obj/item/storage/hypospraykit/o2/PopulateContents() if(empty) return new /obj/item/hypospray/mkii/oxygen(src) new /obj/item/reagent_containers/glass/bottle/vial/small/dexalin(src) new /obj/item/reagent_containers/glass/bottle/vial/small/dexalin(src) /obj/item/storage/hypospraykit/enlarge name = "organomegaly trauma hypospray kit" icon_state = "enlarge-mini" item_state = "firstaid-brute" /obj/item/storage/hypospraykit/enlarge/PopulateContents() if(empty) return new /obj/item/hypospray/mkii/enlarge(src) new /obj/item/reagent_containers/glass/bottle/vial/small/breastreduction(src) new /obj/item/reagent_containers/glass/bottle/vial/small/breastreduction(src) new /obj/item/reagent_containers/glass/bottle/vial/small/breastreduction(src) new /obj/item/reagent_containers/glass/bottle/vial/small/penisreduction(src) new /obj/item/reagent_containers/glass/bottle/vial/small/penisreduction(src) new /obj/item/reagent_containers/glass/bottle/vial/small/penisreduction(src) /obj/item/storage/hypospraykit/brute name = "brute trauma hypospray kit" icon_state = "brute-mini" item_state = "firstaid-brute" /obj/item/storage/hypospraykit/brute/PopulateContents() if(empty) return new /obj/item/hypospray/mkii/brute(src) new /obj/item/reagent_containers/glass/bottle/vial/small/bicaridine(src) new /obj/item/reagent_containers/glass/bottle/vial/small/bicaridine(src) /obj/item/storage/hypospraykit/tactical name = "combat hypospray kit" desc = "A hypospray kit best suited for combat situations." icon_state = "tactical-mini" /obj/item/storage/hypospraykit/tactical/PopulateContents() if(empty) return new /obj/item/defibrillator/compact/combat/loaded(src) new /obj/item/hypospray/mkii/CMO/combat(src) new /obj/item/reagent_containers/glass/bottle/vial/large/combat(src) new /obj/item/reagent_containers/glass/bottle/vial/large/combat(src) /obj/item/storage/hypospraykit/cmo name = "deluxe hypospray kit" desc = "A kit containing a Deluxe hypospray and Vials." icon_state = "tactical-mini" /obj/item/storage/hypospraykit/cmo/ComponentInitialize() . = ..() var/datum/component/storage/STR = GetComponent(/datum/component/storage) STR.max_items = 6 STR.can_hold = typecacheof(list( /obj/item/hypospray/mkii, /obj/item/reagent_containers/glass/bottle/vial)) /obj/item/storage/hypospraykit/cmo/PopulateContents() if(empty) return new /obj/item/hypospray/mkii/CMO(src) new /obj/item/reagent_containers/glass/bottle/vial/large/tricord(src) new /obj/item/reagent_containers/glass/bottle/vial/large/charcoal(src) new /obj/item/reagent_containers/glass/bottle/vial/large/salglu(src) new /obj/item/reagent_containers/glass/bottle/vial/large/dexalin(src) new /obj/item/reagent_containers/glass/bottle/vial/large/synthflesh(src) /obj/item/storage/box/vials name = "box of hypovials" /obj/item/storage/box/vials/PopulateContents() for(var/i in 1 to 7) new /obj/item/reagent_containers/glass/bottle/vial/small( src )