Room specific commands in Quest 6?

K.V.
18 May 2021, 03:35

Are there?

Room specific commands, I mean?

I searched the wiki. Couldn't find anything. It seems like I remember there being a way to do it, though?


I've been overworking my poor, little brain for 8 consecutive days.

Don't judge me!

:op


EDIT

I mean can I put a Take attribute on a room with a function which handles taking stuff in that one room?


The Pixie
18 May 2021, 15:41

Not clear what you want. Would you not want TAKE to work the same in every room?

There are no commands that are part of the room like there is in Quest 5.


K.V.
18 May 2021, 16:20

There are no commands that are part of the room like there is in Quest 5.

That's what I was wondering.

I just pulled "Take" out of thin air.

I should have used "Help" as an example. So, if certain rooms need to handle HELP differently, it needs to all be handled in the HELP script.

No problem. Just making sure the room commands weren't there.


The Pixie
18 May 2021, 17:40

I would have a HELP command that checks for an attribute of the room, and if there, use that, otherwise give a generic message.

For CLIMB, etc. where you go to another room, add a custom direction.
https://github.com/ThePix/QuestJS/wiki/Attributes-for-rooms#custom-directions