Results 1 to 3 of 3

Thread: Determine if indoors

  1. Default Determine if indoors

    Is there a function or a way to determine if the room you are in is indoors?

  2. #2
    Join Date
    Jul 2005
    Location
    Indialantic/Viera
    Posts
    599

    Default

    Your room exits always a re a good way to see if you're indoors or not...

    Obvious paths: == outdoors (which I have highlighted green),
    Obvious exits: == indoors.

    Hope this helps.
    "Wait...you complain how your life sucks to your masseuse?"

    One time I farted on the set of Blue Lagoon...<slap>

    "Tootski?"

    www.bellaslament.wordpress.com

  3. Default

    Got it. Thanks so much for the quick reply.

    This actually gave me some direction and I found this in lich.rbw.

    def outside?
    if XMLData.room_exits_string =~ /Obvious paths:/
    true
    else
    false
    end
    end

    so it looks like a simple query of outside? will return true or false.
    Last edited by Samire; 06-13-2020 at 11:08 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •