Fixes for stacks.

This commit is contained in:
Segrain
2013-09-19 08:34:38 +03:00
parent 9eee328d34
commit 0b661bc854
3 changed files with 2 additions and 8 deletions
@@ -194,10 +194,6 @@
amount = 5
max_amount = 5
/obj/item/stack/medical/splint/single
amount = 1
/obj/item/stack/medical/splint/attack(mob/living/carbon/M as mob, mob/user as mob)
if(..())
return 1
@@ -594,7 +594,7 @@ It can still be worn/put on as normal.
for(var/organ in list("l_leg","r_leg","l_arm","r_arm"))
var/datum/organ/external/o = target.get_organ(organ)
if (o && o.status & ORGAN_SPLINTED)
var/obj/item/W = new /obj/item/stack/medical/splint/single()
var/obj/item/W = new /obj/item/stack/medical/splint(amount=1)
o.status &= ~ORGAN_SPLINTED
if (W)
W.loc = target.loc
+1 -3
View File
@@ -497,9 +497,7 @@ datum
required_reagents = list("pacid" = 10, "plasticide" = 20)
result_amount = 1
on_reaction(var/datum/reagents/holder)
var/obj/item/stack/sheet/metal/M = new /obj/item/stack/sheet/mineral/plastic
M.amount = 10
M.loc = get_turf_loc(holder.my_atom)
new /obj/item/stack/sheet/mineral/plastic(get_turf(holder.my_atom),10)
return
virus_food