Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Dawn of Time ➜ Administration ➜ A little help with formatting please.

A little help with formatting please.

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Elieth   (4 posts)  Bio
Date Fri 24 May 2002 10:47 AM (UTC)
Message
Hi, I know this is probably really easy but I'm new to coding and having a little difficulty. I'm wanting to get objects and mobs to show in the room directly after this room description.

eg.

Before the Oak Tree [Outlands] [Room 33005]
The path ends abruptly at the base of a huge oak tree. Towering hundreds of feet above your head, the tree's trunk is enormous and the bark is gnarled and withered. Some sort of moss hangs from the branches brushing the ground and creating a secluded area, free from prying eyes. Some crude steps lead up to a large hole in the tree. The hole is more than spacious enough to climb inside. A silvery gem has been left here. A tall, voadkyn female stands concealed amongst the trees.

Or something similar to that. I'm doing ok as far as getting objects and mobs to show above the exits and after the room description, but it's on another line, and the objects have a few spaces before them.

Any help on this would be greatly appreciated.
Top

Posted by Daos   USA  (42 posts)  Bio
Date Reply #1 on Sun 26 May 2002 07:41 PM (UTC)
Message
Ok, just to clarify, do you want the display format to show the mobs and objects above the room description?

Example Format:

A male human stands here.
A water fountain sits in the middle of the plaza

<automap> (if enabled)

Before the Oak Tree [Outlands] [Room 33005]
The path ends abruptly at the base of a huge oak tree. Towering hundreds of feet above your head, the tree's trunk is enormous and the bark is gnarled and withered. Some sort of moss hangs from the branches brushing the ground and creating a secluded area, free from prying eyes. Some crude steps lead up to a large hole in the tree. The hole is more than spacious enough to climb inside. A silvery gem has been left here. A tall, voadkyn female stands concealed amongst the trees.
Top

Posted by Elieth   (4 posts)  Bio
Date Reply #2 on Mon 27 May 2002 06:49 AM (UTC)
Message
Hi, I was wanting to tack on the room contents and the mobs in the room (not pc's) to the end of the room description without spacing in between so it just continues, then room exits. I took another long look at the code and I can get to the point where the room contents and mobs shows on the very next line after the room desc, but from there, I'm stuck.
Top

Posted by Berdon   (4 posts)  Bio
Date Reply #3 on Sat 15 Jun 2002 06:55 AM (UTC)
Message
Hmm, try removing the \r\n from the end of the code that prints the description.

~ Berdon Magnus ~
"Being defeated is often a temporary condition. Giving up is what makes it permanent."
"I'd rather be a failure in something that I love than a success in something that I don't."
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


14,705 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.