Updates to cigarettes and cigars

Tables can now be thrown past
You can now put something in a disposal unit by throwing at it.
This commit is contained in:
SkyMarshal
2012-02-04 18:24:22 -07:00
parent 7077583d2a
commit 2074313f7f
4 changed files with 22 additions and 15 deletions
+14
View File
@@ -438,6 +438,20 @@
H.vent_gas(loc)
del(H)
CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
if (istype(mover,/obj/item))
var/obj/item/I = mover
if(prob(75))
I.loc = src
for(var/mob/M in viewers(src))
M.show_message("\the [I] lands in \the [src].", 3)
else
for(var/mob/M in viewers(src))
M.show_message("\the [I] bounces off of \the [src]'s rim!", 3)
return 0
else
return ..(mover, target, height, air_group)
//The toilet does not need to pressurized but can only handle small items.
//You can also choke people by dunking them into the toilet.
/obj/machinery/disposal/toilet