mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Hydroponics bug fix: Plants were almost always mutating into other plants.
Plant-B-Gone is now effective against the blob. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@79 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -20,14 +20,18 @@ Deathnettle
|
||||
|
||||
/obj/item/weapon/plantbgone/afterattack(atom/A as mob|obj, mob/user as mob)
|
||||
if (src.reagents.total_volume < 1)
|
||||
src.empty = 1
|
||||
user << "\blue Add more Plant-B-Gone mixture!"
|
||||
return
|
||||
else if (istype(A, /obj/item/weapon/storage/backpack ))
|
||||
return
|
||||
|
||||
else if (istype(A, /obj/machinery/hydroponics)) // We are targeting hydrotray
|
||||
|
||||
return
|
||||
|
||||
else if (istype(A, /obj/blob)) // blob damage in blob code
|
||||
return
|
||||
|
||||
else
|
||||
var/obj/decal/D = new/obj/decal/(get_turf(src)) // Targeting elsewhere
|
||||
if (locate (/obj/table, src.loc))
|
||||
|
||||
Reference in New Issue
Block a user