ID:259199
 
I almost posted this to Newbie Central because I have a feeling I'm overlooking something... well, here goes, anyway.

Here's the code I'm using. If I use oview(1), I can't get the item when I'm standing in the same square with it. If I use view(1), I still have access to "get" even when the item is in my inventory.

Is there another way to go about this?

Thanks...

obj
map_object
var/gettable = 0

verb
get()
set src in view(1)
if(gettable)
Move(usr)
On 7/31/00 4:25 pm Guy T. wrote:
I almost posted this to Newbie Central because I have a feeling I'm overlooking something... well, here goes, anyway.

Here's the code I'm using. If I use oview(1), I can't get the item when I'm standing in the same square with it.

This should work. Here's the case I'm using:

obj/verb/get()
set src in oview(1)
Move(usr)

And that seems to have the correct accessibility. Does this work for you?
In response to Tom H.
And that seems to have the correct accessibility. Does this work for you?

It seems to work fine. Most likely my brain overheated and I misinterpreted some result and posted too hastily... sorry!

By the way, so far the new release seems real good. (Haven't tried Gen yet, though. :)