mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Fixes courtesy of BubbbleWrap
- The first makes it so floor tiles are actually used up when placed on lattice. - The second fixes the pepperspray so it isn't blocked by cigarettes/cigars/etc... git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3022 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -176,14 +176,9 @@ obj/structure
|
||||
|
||||
/obj/structure/lattice/attackby(obj/item/C as obj, mob/user as mob)
|
||||
|
||||
if (istype(C, /obj/item/stack/tile))
|
||||
|
||||
C:build(get_turf(src))
|
||||
C:use(1)
|
||||
playsound(src.loc, 'Genhit.ogg', 50, 1)
|
||||
if (C)
|
||||
C.add_fingerprint(user)
|
||||
del(src)
|
||||
if (istype(C, /obj/item/stack/tile/plasteel))
|
||||
var/turf/T = get_turf(src)
|
||||
T.attackby(C, user) //BubbleWrap - hand this off to the underlying turf instead
|
||||
return
|
||||
if (istype(C, /obj/item/weapon/weldingtool) && C:welding)
|
||||
user << "\blue Slicing lattice joints ..."
|
||||
|
||||
Reference in New Issue
Block a user