- Fixed couple of bugs

- Made vaccine bottles contain 3 portions of vaccine.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@348 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
panurgomatic
2010-10-23 00:08:17 +00:00
parent 1c1d6d0d5e
commit 2ac3798eb7
3 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -281,7 +281,7 @@
var/name = input(usr,"Name:","Name the vaccine",D.name)
if(!name || name == " ") name = D.name
B.name = "[name] vaccine bottle"
B.reagents.add_reagent("vaccine",10,vaccine_type)
B.reagents.add_reagent("vaccine",15,vaccine_type)
del(D)
wait = 1
spawn(1200)
+4 -2
View File
@@ -386,8 +386,10 @@
R.my_atom = src
afterattack(obj/target, mob/user , flag)
if(src.can_be_placed_into.Find(target.type))
return
for(var/type in src.can_be_placed_into)
if(istype(target, type))
return
if(ismob(target) && target.reagents && reagents.total_volume)
user << "\blue You splash the solution onto [target]."
for(var/mob/O in viewers(world.view, user))