I need some help with it. At the moment, it just places a death flower anywere on the map, dense or not. Can someone please tell me how to ajust this so that it can only place the death flowers in view of the mob using the verb, and also to have it not spawn on any dense turfs? heres the code:
mob/Succubus/verb/Death_Flower()
set category = "Skills"
var/rand_x = rand(1,50)
var/rand_y = rand(1,50)
var/rand_z = rand(1,1)
var/Randomlocate = locate(rand_x,rand_y,rand_z)
new/turf/dflower(locate(Randomlocate))
usr << "You create a death flower at a random location on the map!"
turf/dflower
icon = 'dflower.dmi'
icon_state = "flower"
Try this, I dunno if it'll work but its worth a try.