OOC:Portal Creation

Hi there Yuribans! This is your how-to guide for making a home in the portal zones. First, you should be set ‘builder’ - You can get this by waiting til you have been registered on the MUSH at least three days, then simply typing in

builder  

Next, go to one of the portal zones (@tel #100) and decide which fits where you want to have your home.

All of these rooms are set link_ok, and you can always @link an exit to them.

To make your portal, you should first @dig a room with '@dig NameofRoom' (We’ll use Snuggle Shack). Read help @dig for the basics, and help @open as well.

In the portal zone, you’ll want to then make your object that leads into it, which will act as the door to your home (we’ll call it The Cuddle-Inn).

For this example, we’ll talk you through the steps!

First, go to the portal zone you want to have your home in (which will be referred to here as dbref #123 - However, make sure to substitute the dbref of the room you want the portal to be in instead)

Then, dig your home’s main room with

@dig Snuggle Shack 

which will dig it (our example will be dbref #124)

Then you’ll want to make the door in with

@create The Cuddle Inn 

(example dbref #125)

Then you’ll want to @lock it to yourself so other people can’t grab it and make off with it.

@lock the cuddle inn==me 

or

@lock #125==me

Then set a desc of what it will look like with

@desc The cuddle inn=It’s a big warm fluffy pillow which leads to who knows where!

If you want, you can set messages over in it that someone will see as they go in and travel, such as

@idesc the cuddle inn=You end up vanishing into the nest of eternal pillows as you go inside.

And the message people outside see as they go in is set with

@oxenter the cuddle inn=vanishes inside as they’re swallowed up by the next of pillows.

Now, this is very important to set upon it exactly! Snuggle Shack is #124, and you’ll set this on the cuddle inn.

@aenter the cuddle inn=@tel/silent %#=#124

From here,

@set the cuddle inn=enter_ok 

which will let people go in and out of it. Then

@link the cuddle inn=here 

in the portal room to set it’s home here, and then do

drop the cuddle inn

It’s all set and you can go inside with

enter the cuddle inn  

Congrats! Now to get your home with the exit going out now!

Yes, you need the %# and the #124 as both are to have it work properly, and it won’t if you leave either out! Test it when you go in to make sure. Now, if it’s set up properly when you enter the cuddle inn it will take you to Snuggle Shack! If you've set it wrong you’ll be inside the object of the cuddle inn.

To dig an exit back out of Snuggle Shack to the portal zone, what you’ll do (remember, the portal zone is #123) you will do

@open Out;o;out;exit;leave=#123 

from the room of Snuggle Shack you want to have a way to leave back to town. Now it will be linked back to the portal nexus!

You may notice when you use your new Out exit that you receive a warning message 'Warning 'exit-oneway' for Out' this is due to your exit not seeing a valid returning exit (as we are using a portal item to return, not an actual exit.)

To suppress this message you can use this

@set Out=NO_WARN

Be sure you are standing in the same room as the exit when you enter the command.

Then setup a desc with your home for people who drop on by to see it! Use @desc here to set a desc, and we’ll set ours with

@desc here=%tSnuggle Shack is incredibly comfy and is roomed with an infinite number of pillows all around! 

But you’ll probably want to give it a somewhat longer desc than just that. If you want to build more rooms off your house, read the help on help @dig and help @open for info, and if you need help ask on the techies channel for assistance (@chan/on techies, +t HELP to speak on ).

Retrieved from "https://www.yuriba.com/mwiki/index.php?title=OOC:Portal_Creation&oldid=13357"