ID:266627
 
How would I make it so if I set a mine I was the only that could see it?
I think something like this might work...

mine
icon = null
verb/laymine()
Move(usr.loc)
usr << image('mine.dmi',src)
In response to Kevin Kitsune
No.....Won't work
In response to Thief Jack
Day Bump(This ok?)
In response to Thief Jack
No.
In response to Thief Jack
Thief jack wrote:
No.....Won't work

Kevin's code looks about right to me. I don't see anything in it that shouldn't work for you.
Try checking out Skysaw's traps library, which has a little more robust code to study.

Lummox JR
In response to Lummox JR
Lummox JR wrote:
Thief jack wrote:
No.....Won't work

Kevin's code looks about right to me. I don't see anything in it that shouldn't work for you.
Try checking out Skysaw's traps library, which has a little more robust code to study.

Lummox JR

Please do note, however, that my trap library was written well before the change to invisibility and the image datum. I need to rewrite this soon, but in the meantime, you can change lines related to the old visibility variable to the newer invisibility variable.