Black_Water
name = "Black Water"
icon = 'turfs.dmi'
icon_state = "blackwater"
density = 1
verb
Observe()
set src in view(1)
if(usr.crystalquest == 1)
usr.islocked = 1
switch(alert("The black water looks as if it is tring to tell you something. It seems that it is telling you to drop your Wierd Crystal into the water. Will you?",,"Yes","No"))
if("Yes")
usr.innx = 10
usr.inny = 10
usr.innz = 3
usr << "<font color = blue><i>You drop the Wierd Crystal into the water..."
del /obj/QuestItems/Wierd_Crystal
sleep(30)
usr << "<font color = blue><i>Suddenly a huge shine comes over you."
sleep(30)
usr.loc = locate(10,10,3)
usr << "<font color = blue><i>When the light dies down, and you open your eyes, you are in a new, unknown place."
sleep(30)
usr << "<font color = blue><i>Then a voice comes..."
sleep(30)
usr << "<b><font color = olive>Voice:</b><font color = blue> Welcome, one from the future. Now that you are here, there is no turning back. You cannot return to your own time, unless you figure out the meaning of the world you used to live in. This is it. There is no turning back."
sleep(30)
usr << "<b><font color = olive>[usr]:</b><font color = blue> What is my purpose here? Why am I the one that needs to live with whatever happens here? What have I done to you?"
sleep(30)
usr << "<b><font color = olive>Voice:</b><font color = blue> Nothing. You are the chosen one, it is your destiny to come here and fix the problem that happened. But I cannot tell you what happened. You must figure it out for yourself. Good luck, chosen one."
sleep(30)
usr << "<font color = blue><i>Just before you can ask another question you realize that who ever was making that voice is gone. You set out prepared for whatever is to come."
usr.islocked = 0
usr.innx = 10
usr.inny = 10
usr.innz = 3
if("No")
usr << "<font color = blue><i>You ignore the water."
usr.islocked = 0
else
usr << "<font color = blue><i>It looks like the water is telling you something but you don't know what."
when it goes to the del part it gives me this error:
runtime error: bad del
proc name: Observe (/turf/Black_Water/verb/Observe)
source file: turfs.dm,680
usr: Tester Metroid (/mob/blue)
src: Black Water (82,46,2) (/turf/Black_Water)
call stack:
Black Water (82,46,2) (/turf/Black_Water): Observe()
what do i have to do to get it to work?
del O
new O(locate(usr.loc))
or
for(var/obj/1/O in usr)
O.loc = usr.loc
Note: Improper indentation
Note 2: In the "for()", you may need to change usr to usr.contents.
[edit]
Thats if you want to be able to pic up the obj again. to delete it:
for(var/obj/1/O in usr)
del O
=D
[/edit]
Airjoe