More items.

This commit is contained in:
Rob Nelson
2013-10-03 19:28:43 -07:00
parent 96b4073d62
commit 2e6ff3a6db
2 changed files with 33 additions and 6 deletions

View File

@@ -7,18 +7,47 @@
var/typepath=/obj/item/weapon/storage/box
var/cost=0
/datum/storeitem/deliver(var/mob/usr)
if(istype(typepath,/obj/item))
var/obj/item/weapon/storage/box/box=new(usr.loc)
new item.typepath(box)
usr.put_in_hands(box)
/////////////////////////////
// Shit for robotics
// Shit for robotics/science
/////////////////////////////
/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 = 500
cost = 350
/datum/storeitem/robotik_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 = 350
cost = 500
/////////////////////////////
// General
/////////////////////////////
/datum/storeitem/snap_pops
name = "Snap-Pops"
desc = "Ten-thousand-year-old chinese fireworks: IN SPACE"
typepath = /obj/item/weapon/storage/box/snappops
cost = 200
/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 = 350
/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 = 500

View File

@@ -61,7 +61,5 @@ var/global/datum/store/centcomm_store=new
if(!charge(usr.mind,item.cost,item))
return 0
// Give them the item.
var/obj/item/weapon/storage/box/box=new(usr.loc)
new item.typepath(box)
usr.put_in_hands(box)
item.deliver(usr)
return 1