mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
* First attempt at coding PDA photos, needs testing * Fix * More fixes * Tnote consistency * Now allowing AIs to send PDA photos * Fixing name * Wrong case * Now should allow borgs too, not just AIs * Moving all taken PDA photos globally for something later * No orphaned images either * Images viewable in chat, needs testing * Typo * Forgot pAIs * Now finally shows up from chat link * Making list local again * Adding camera cartridge to merch computer * Underlay for PDA * Underlay for PDA * Some camera functionality * Much better * Now it can take the photos * Access is nicer, plus a toggle option now to be less annoying * Viewing them * Fix * Just make it go here * Forgot this * And this * Better cart colours * Updating cart icons * Some icon update fixes * Tidying this up * Feedback helps * Allowing camera cart photos to be sent over messages * Now cart cam fully works * Fixing menu return * This should be nicer * Clear photos option * Better to do it in here, I feel * Oh it wasn't showing up on theirs, fix * Maybe this will work for the carts * Showing up in message monitor * Sanity * Makes AI photos parse right * Removes PDA filter for AIs and message monitor Co-authored-by: kanef <kanef9x@protonmail.com>
260 lines
8.4 KiB
Plaintext
260 lines
8.4 KiB
Plaintext
/////////////////////////////
|
|
// Store Item
|
|
/////////////////////////////
|
|
/datum/storeitem
|
|
var/name="Thing"
|
|
var/desc="It's a thing."
|
|
var/typepath=/obj/item/weapon/storage/box
|
|
var/cost=0
|
|
var/stock = -1 //-1 = unlimited stock. Any other value means the item will become unavailable at 0.
|
|
var/category = "misc"
|
|
|
|
/datum/storeitem/proc/deliver(var/mob/user,var/obj/machinery/computer/merch/merchcomp)
|
|
if(istype(typepath,/obj/item/weapon/storage))
|
|
var/thing = new typepath(merchcomp.loc)
|
|
user.put_in_hands(thing)
|
|
//else if(istype(typepath,/obj/item))
|
|
// var/obj/item/weapon/storage/box/box=new(loc)
|
|
// new typepath(box)
|
|
// box.name="[name] package"
|
|
// box.desc="A special gift for doing your job."
|
|
// user.put_in_hands(box)
|
|
else
|
|
new typepath(merchcomp.loc)
|
|
|
|
//If this returns FALSE, then the button simply will not appear for the user in question.
|
|
/datum/storeitem/proc/available_to_user(var/mob/user,var/obj/machinery/computer/merch/merchcomp)
|
|
return TRUE
|
|
|
|
/////////////////////////////
|
|
// Food
|
|
/////////////////////////////
|
|
/datum/storeitem/menu1
|
|
name = "Fast-Food Menu"
|
|
desc = "The normal sized average american meal. Courtesy of Nanotrasen."
|
|
typepath = /obj/item/weapon/storage/bag/food/menu1
|
|
cost = 40
|
|
|
|
/datum/storeitem/menu2
|
|
name = "Fast-Food Menu (XL)"
|
|
desc = "For when you're 100% starved and want to become fat in 1 easy step."
|
|
typepath = /obj/item/weapon/storage/bag/food/menu2
|
|
cost = 75
|
|
|
|
/datum/storeitem/diy_soda
|
|
name = "Dr. Pecker's DIY Soda"
|
|
desc = "A fun and tasty chemical experiment for the curious child! Vials and beakers included."
|
|
typepath = /obj/item/weapon/storage/box/diy_soda
|
|
cost = 45
|
|
|
|
/datum/storeitem/canned_bread
|
|
name = "Canned Bread"
|
|
desc = "Best thing since sliced."
|
|
typepath = /obj/item/weapon/reagent_containers/food/drinks/soda_cans/canned_bread
|
|
cost = 15
|
|
/datum/storeitem/canned_bread/available_to_user(var/mob/user,var/obj/machinery/computer/merch/merchcomp)
|
|
return(isskrell(user) || Holiday == APRIL_FOOLS_DAY)
|
|
|
|
/////////////////////////////
|
|
// Tools
|
|
/////////////////////////////
|
|
/datum/storeitem/pen
|
|
name = "Pen"
|
|
desc = "Just a simple pen."
|
|
typepath = /obj/item/weapon/pen
|
|
cost = 2
|
|
|
|
/datum/storeitem/wrapping_paper
|
|
name = "Wrapping Paper"
|
|
desc = "Makes gifts 200% more touching."
|
|
typepath = /obj/item/stack/package_wrap/gift
|
|
cost = 5
|
|
|
|
/datum/storeitem/cheap_soap
|
|
name = "Soap"
|
|
desc = "Guarranted for at least 20 scrubbings."
|
|
typepath = /obj/item/weapon/soap/nanotrasen/planned_obsolescence
|
|
cost = 30
|
|
|
|
/datum/storeitem/swiss_army_knife
|
|
name = "Swiss Army Knife"
|
|
desc = "A multitool for everyday tasks."
|
|
typepath = /obj/item/weapon/switchtool/swiss_army_knife
|
|
cost = 50
|
|
|
|
|
|
/////////////////////////////
|
|
// Electronics
|
|
/////////////////////////////
|
|
/datum/storeitem/boombox
|
|
name = "Boombox"
|
|
desc = "I ask you a question: is a man not entitled to the beats of his own smooth jazz?"
|
|
typepath = /obj/machinery/media/receiver/boombox
|
|
cost = 40
|
|
|
|
/datum/storeitem/diskettebox
|
|
name = "Diskette Box"
|
|
desc = "A lockable box for storing data disks. Comes with a few useless blank disks."
|
|
typepath = /obj/item/weapon/storage/lockbox/diskettebox/open/blanks
|
|
cost = 20
|
|
|
|
/datum/storeitem/diskettebox_large
|
|
name = "Large Diskette Box"
|
|
desc = "A larger lockable box for storing data disks. Comes with a few useless blank disks."
|
|
typepath = /obj/item/weapon/storage/lockbox/diskettebox/large/open/blanks
|
|
cost = 50
|
|
|
|
/datum/storeitem/camcart
|
|
name = "PDA Camera Cartridge"
|
|
desc = "All the fun of an old camera, now on a tiny cartridge inside your microcomputer! Printer not included."
|
|
typepath = /obj/item/weapon/cartridge/camera
|
|
cost = 60
|
|
|
|
/////////////////////////////
|
|
// Toys
|
|
/////////////////////////////
|
|
/datum/storeitem/snap_pops
|
|
name = "Snap-Pops"
|
|
desc = "Ten-thousand-year-old chinese fireworks: IN SPACE"
|
|
typepath = /obj/item/weapon/storage/box/snappops
|
|
cost = 10
|
|
|
|
/datum/storeitem/crayons
|
|
name = "Crayons"
|
|
desc = "Let security know how they're doing by scrawling lovenotes all over their hallways."
|
|
typepath = /obj/item/weapon/storage/fancy/crayons
|
|
cost = 15
|
|
|
|
/datum/storeitem/beachball
|
|
name = "Beach Ball"
|
|
desc = "Summer up your office with this cheap vinyl beachball made by prisoners!"
|
|
typepath = /obj/item/weapon/beach_ball
|
|
cost = 5
|
|
|
|
/datum/storeitem/dorkcube
|
|
name = "Loot Box"
|
|
desc = "A single month subscription to Loot Box!"
|
|
typepath = /obj/item/weapon/winter_gift/dorkcube
|
|
cost = 30
|
|
|
|
/datum/storeitem/unecards
|
|
name = "Deck of Une Cards"
|
|
desc = "A deck of une playing cards."
|
|
typepath = /obj/item/toy/cards/une
|
|
cost = 15
|
|
|
|
/datum/storeitem/roganbot
|
|
name = "ROGANbot"
|
|
desc = "Your own personalized assistant to speed up your workplace communication skills! Ages 550 and up."
|
|
typepath = /obj/item/device/roganbot
|
|
cost = 100
|
|
stock = 1
|
|
|
|
/////////////////////////////
|
|
// Clothing
|
|
/////////////////////////////
|
|
/datum/storeitem/sterilemask
|
|
name = "Face Mask"
|
|
desc = "Protects you from both contracting or spreading airborne diseases, at the cost of looking like a virologist."
|
|
typepath = /obj/item/clothing/mask/surgical
|
|
cost = 5
|
|
|
|
/datum/storeitem/sterilemask_black
|
|
name = "Black Face Mask"
|
|
desc = "A more sober face mask. Offers the same protection as a regular face mask."
|
|
typepath = /obj/item/clothing/mask/surgical/black
|
|
cost = 20
|
|
|
|
/datum/storeitem/sterilemask_colorful
|
|
name = "Colorful Face Mask"
|
|
desc = "A fancier face mask. Offers the same protection as a regular face mask."
|
|
typepath = /obj/item/clothing/mask/surgical/colorful
|
|
cost = 20
|
|
|
|
/datum/storeitem/wristwatch
|
|
name = "Wristwatch"
|
|
desc = "A wristwatch with a red leather strap. Can be fit on your uniform."
|
|
typepath = /obj/item/clothing/accessory/wristwatch
|
|
cost = 50
|
|
|
|
/datum/storeitem/robotnik_labcoat
|
|
name = "Robotnik's Research Labcoat"
|
|
desc = "Join the empire and display your hatred for woodland animals."
|
|
typepath = /obj/item/clothing/suit/storage/labcoat/custom/N3X15/robotics
|
|
cost = 20
|
|
|
|
/datum/storeitem/robotnik_jumpsuit
|
|
name = "Robotics Interface Suit"
|
|
desc = "A modern black and red design with reinforced seams and brass neural interface fittings."
|
|
typepath = /obj/item/clothing/under/custom/N3X15/robotics
|
|
cost = 20
|
|
|
|
/////////////////////////////
|
|
// Luxury
|
|
/////////////////////////////
|
|
/datum/storeitem/wallet
|
|
name = "Wallet"
|
|
desc = "A convenient way to carry IDs, credits, coins, papers, and a bunch of other small items."
|
|
typepath = /obj/item/weapon/storage/wallet
|
|
cost = 30
|
|
|
|
/datum/storeitem/photo_album
|
|
name = "Photo Album"
|
|
desc = "Clearly all your photos of the clown's shenanigans deserve this investment."
|
|
typepath = /obj/item/weapon/storage/photo_album
|
|
cost = 30
|
|
|
|
/datum/storeitem/poster
|
|
name = "Poster"
|
|
desc = "A random poster from Centcom's prints division. For those with bad taste in art."
|
|
typepath = /obj/item/mounted/poster
|
|
cost = 20
|
|
|
|
/datum/storeitem/painting
|
|
name = "Painting"
|
|
desc = "A random painting from Centcom's museum. For those with good taste in art."
|
|
typepath = /obj/item/mounted/frame/painting
|
|
cost = 50
|
|
|
|
/datum/storeitem/critter_cage
|
|
name = "small cage"
|
|
desc = "A cage where to keep tiny animals safe. Fit with a drinking bottle that can be refilled.."
|
|
typepath = /obj/item/critter_cage
|
|
cost = 60
|
|
|
|
/////////////////////////////
|
|
// ZAM! (Grey Food)
|
|
/////////////////////////////
|
|
/datum/storeitem/zambiscuits
|
|
name = "Zam Biscuits"
|
|
desc = "All biscuits are fresh from mothership labs. Do not share with human friends."
|
|
typepath = /obj/item/weapon/storage/pill_bottle/zambiscuits
|
|
cost = 40
|
|
|
|
/datum/storeitem/zamdinner3
|
|
name = "Zam Spider Slider Delight"
|
|
desc = "The elimination of an infestation has created a surplus of spider meat. Do not share with human friends."
|
|
typepath = /obj/item/weapon/reagent_containers/food/snacks/zamdinner3
|
|
cost = 50
|
|
|
|
/datum/storeitem/zamdinner2
|
|
name = "Zam Mothership Stew"
|
|
desc = "This old stew from mothership vats is very nutricious to slurp and burp! Do not share with human friends."
|
|
typepath = /obj/item/weapon/reagent_containers/food/snacks/zamdinner2
|
|
cost = 60
|
|
|
|
/datum/storeitem/zamdinner1
|
|
name = "Zam Steak and Nettles"
|
|
desc = "This imitation of human steak has received good marks from test subjects. Do not share with human friends."
|
|
typepath = /obj/item/weapon/reagent_containers/food/snacks/zamdinner1
|
|
cost = 70
|
|
|
|
/////////////////////////////
|
|
// Holiday Special Items!
|
|
/////////////////////////////
|
|
/datum/storeitem/valentinechocolatebar
|
|
name = "Valentine's Day chocolate bar"
|
|
desc = "Show your loved ones how you feel on this special occasion!"
|
|
typepath = /obj/item/weapon/reagent_containers/food/snacks/chocolatebar/wrapped/valentine
|
|
cost = 80
|