Compilefix

This commit is contained in:
Rob Nelson
2013-10-03 20:45:52 -07:00
parent 2e6ff3a6db
commit 5f50d43e14
2 changed files with 12 additions and 7 deletions

View File

@@ -7,12 +7,16 @@
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)
/datum/storeitem/proc/deliver(var/mob/usr)
if(!istype(typepath,/obj/item/weapon/storage))
var/obj/item/weapon/storage/box/box=new(usr.loc)
new typepath(box)
box.name="[name] package"
box.desc="A special gift for doing your job."
usr.put_in_hands(box)
else
var/thing = new typepath(usr.loc)
usr.put_in_hands(thing)
/////////////////////////////
@@ -24,7 +28,7 @@
typepath = /obj/item/clothing/suit/storage/labcoat/custom/N3X15/robotics
cost = 350
/datum/storeitem/robotik_jumpsuit
/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

View File

@@ -78,6 +78,7 @@
<h2 class="date">[IN DEVELOPMENT]</h2>
<h3 class="author">N3X15 updated</h3>
<ul class="changes bgimages16">
<li class="rscadd">Added Centcomm Merch Store to cargo, payable via job objective cash.</li>
<li class="rscadd">Re-added roburgers.</li>
<li class="rscadd">Add wooden arms and hook hands. Hook hands cannot fire weapons.</li>
<li class="rscadd">Major refactor of blood and blood trails so blood of all kinds can be tracked.</li>