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.
 Entire forum ➜ Area Editor ➜ General ➜ Curious about Time_prog

Curious about Time_prog

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


Posted by Jennan   Canada  (11 posts)  Bio
Date Thu 07 Aug 2003 07:07 AM (UTC)
Message
Hey,

As the heading says i am curious about the time_prog command. I have read the one post about having a mob goto sleep at a certain time, so okay that make sense to me.

Then i started thinking, is it possible to have a pocket watch display the current time in the game by using the time_prog command? Seeing as my coding skills are not the best i have drawn a major big blank on this one. If it helps any, i am using area editor 130 and 131 to do most of my building at this point.

And yeah, i know one can type time to see the time...i just figured this would add some fun and atmosphere to the game.

Thanks in advance.

Jennan
cleddyf@yahoo.com

World of Eyron
Arch Wizard

Yahoo IM: cleddyf
MSN: cleddyf@telus.net


Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 08 Aug 2003 08:06 AM (UTC)
Message
I'm not sure - you really need to find what time_prog does in SMAUG, look at the code for instance.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Dace K   Canada  (169 posts)  Bio
Date Reply #2 on Wed 17 Sep 2003 08:17 AM (UTC)
Message
er.. yeah. You'd have to add a seperate item type for watches, and then a check for that in do_examine though.
It's not something you can do as a builder, you need code access :P

ASJ Games - .Dimension 2, Resident Evil, and snippets - oh my!
http://asj.mudmagic.com

Drop by the area archives and find something for your mud. http://areaarchives.servegame.com
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.


12,310 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.