A text Myst Online project

General debates and discussion about the Guild of Writers and Age creation
User avatar
Pavitra
Posts: 226
Joined: Mon Apr 05, 2010 7:11 pm
MOULa KI#: 0

Re: A text Myst Online project

Post by Pavitra »

KathAveara wrote:I got around that problem by not having the EdtStr directly display its contents: you must first click another link which moves the comments of the EdtStr to another property which is displayed, and also fires any other arbitrary code.
Clever. I don't think it quite works for my specific use case, but it's definitely a good idea.
Have Ages, and link to them without bindings. [Words 1:13]
Seltani
User avatar
Pavitra
Posts: 226
Joined: Mon Apr 05, 2010 7:11 pm
MOULa KI#: 0

Re: A text Myst Online project

Post by Pavitra »

I vaguely remember there being a debug command to list all currently-set instance properties, but I can't find it again now. Does this actually exist, or did I imagine it?
Have Ages, and link to them without bindings. [Words 1:13]
Seltani
belford
Posts: 344
Joined: Sat Sep 29, 2007 7:18 pm
MOULa KI#: 0
Contact:

Re: A text Myst Online project

Post by belford »

You must have imagined it, I'm afraid.
KathAveara
Posts: 79
Joined: Mon Jun 10, 2013 2:29 am

Re: A text Myst Online project

Post by KathAveara »

Another way to fire code when an EdtStr is changed its to compare the current value to an old value on a clock signal. If they are the same, do nothing, else fire arbitrary code and set the updated value as the new 'old value'.
Moula KI: 17967159
DI KI: 00205116
deviantART: kathaveara
tumblr: kaththedragon

Grand Master of the Guild of Linguists
KathAveara
Posts: 79
Joined: Mon Jun 10, 2013 2:29 am

Re: A text Myst Online project

Post by KathAveara »

Question: how do I get the number of days from a datetime.timedelta?
Moula KI: 17967159
DI KI: 00205116
deviantART: kathaveara
tumblr: kaththedragon

Grand Master of the Guild of Linguists
Acorn
Posts: 724
Joined: Sun Feb 26, 2012 9:56 am

Re: A text Myst Online project

Post by Acorn »

I visited yesterday, the first time for a while, and enjoyed my visit to lots of different ages. (Saw Pavitra but she didn't see me!) I had commented a while back that it hadn't been intuitive to find the fan ages - "write your own" wasn't a helpful instruction for non-writers - so I was pleased to see that the directions to the non-belford ages were now a lot clearer. Good job! ;)
Image
KathAveara
Posts: 79
Joined: Mon Jun 10, 2013 2:29 am

Re: A text Myst Online project

Post by KathAveara »

I'm going to launch a new Age when I get home. This one will contain various animals that move around and you can interact with them. The first specimen will be a simple Terran snake. Note: unlike other zoos, this one has no closing time, because the sun never sets. It's another tidally locked planet, same as Elahto. The animals will sleep for a while at various times, though.
Moula KI: 17967159
DI KI: 00205116
deviantART: kathaveara
tumblr: kaththedragon

Grand Master of the Guild of Linguists
Acorn
Posts: 724
Joined: Sun Feb 26, 2012 9:56 am

Re: A text Myst Online project

Post by Acorn »

sounds interesting, Kath! :D
Image
KathAveara
Posts: 79
Joined: Mon Jun 10, 2013 2:29 am

Re: A text Myst Online project

Post by KathAveara »

Hopefully, I'll be able to have multiple animals per enclosure, and maybe a breeding programme in place. That will probably take a lot of hard work. And, if the logistics work out, you'll be able to have animals from your Ages there too!
Moula KI: 17967159
DI KI: 00205116
deviantART: kathaveara
tumblr: kaththedragon

Grand Master of the Guild of Linguists
User avatar
Pavitra
Posts: 226
Joined: Mon Apr 05, 2010 7:11 pm
MOULa KI#: 0

Re: A text Myst Online project

Post by Pavitra »

KathAveara wrote:Question: how do I get the number of days from a datetime.timedelta?
This might work (untested):

Code: Select all

int(myTimedelta/datetime.timedelta(1))
Have Ages, and link to them without bindings. [Words 1:13]
Seltani
Post Reply

Return to “General Discussion”