mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
- 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:
@@ -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)
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user