ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示
/doc/applies/master/valid_hide
vvvvaaaalllliiiidddd____hhhhiiiiddddeeee((((4444)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) vvvvaaaalllliiiidddd____hhhhiiiiddddeeee((((4444))))
NNNNAAAAMMMMEEEE
valid_hide - allows or disallows objects to hide and see
hidden objects
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
int valid_hide( object ob );
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Add valid_hide to master.c in order to allow objects to hide
themselves, or see other objects that have hidden
themselves. When an object tries to use the set_hide() efun
to hide itself, valid_hide will be called with the object
that is wanting to hide as the sole parameter. It should
return 1 to allow it, or 0 to not allow it. The same call
takes place when it needs to be determined if a certain
object should be able to see hidden objects.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
set_hide(3)
Page 1 (printed 3/16/95)