ID:261331
 
I have a roof code so when I am on the outside of the area I see the roof but on the inside I dont see the roof. Now when I am inside and I do the get verb to an Item it makes the roof appear over head again any ideas.

get verb for book
obj/book
var
saved_x
saved_y
saved_z
write1
name="New Book"
var
used = 0
icon='book.dmi'
verb
get()
set src in view(1)
src.Move(usr)
usr << "You get [src]."
drop()
src.Move(usr.loc)
usr << "You drop [src]."

The code for the area when u enter that area the roof disappeares
area
house1
var
inside=0
Entered(mob/pc)
src.inside+=1
for(var/obj/insidewall/O in world)
O.opacity=1
usr.sight &= ~SEEINVIS
usr.sight &= ~(SEEMOBS|SEEOBJS|SEETURFS)
Exited(mob/pc)
src.inside-=1
if(src.inside>=1)
for(var/obj/insidewall/O in world)
O.opacity=1
else
for(var/obj/insidewall/O in world)
O.opacity=0
usr.sight |= SEEINVIS
usr.sight |= (SEEMOBS|SEEOBJS|SEETURFS)