elif ch.cansee(ex):
list_one_exit(ch, ex, dir)
elif ch.cansee(ex) and (not ex.hidden>0 or ch.isInGroup('wizard')):
list_one_exit(ch, ex, dir)
me.hidden = 1
mudsys.register_exit_cansee(lambda ch,ex: ch.isInGroup('wizard') or ex.hidden < 1)
mudsys.register_exit_cansee(lambda ch,ex: ch.isInGroup('wizard') or ex.hidden < 1)
import mudsys
def exit_spot_check(ch, ex):
if ch.isInGroup('wizard'):
return True
if ch.hidden == 100):
return False
if ch.skill.spot < ex.hidden:
return False
return True
mudsys.register_exit_cansee(exit_spot_check)
mudsys.register_exit_cansee(lambda ch,ex: ch.isInGroup('wizard') or ex.hidden < 1)
mudsys.register_exit_cansee(lambda ch,ex: ch.isInGroup('wizard') or ex.hidden < 1)
It sounds a little confusing I know, but example: The room shows the desc and the hidden area, lets say a torch says when you look at it, "here is a torch burning brightly" to a member that is all they see, but to an imm it shows after an exit or trigger is added, "this torch has an exit behind it". Hard to explain, I don't want members to see the exits in a hidden area or doors that look like a wall. With OLC editor or would that need to be coded with python?