Create your own Interactive Fiction

ADRIFT - Interactive Fiction  
Home   |   News ADRIFT News RSS   |   Screenshots   |   Download   |   Games ADRIFT Reviews RSS   |   Forum   |   Help   |   Links
Welcome Guest Register | Login
Popular Games
Top Hat
Starship Quest
Magnetic Moon
Ticket to No Where v1.2
the virtual human
Ghost Town
Revenge of the Space Pirates
The Fortress of Fear
Give Me your Lunch Money 2010
The PK Girl
Latest Forum Posts
New year resolutions
A quick way to search for a specific task in Debugger output
Ectocomp entry
Just a fairy tale
A duh moment..
Happy Birthday Reelyor
Annual IF Comp 2019
Alternative Descriptions
Happy Birthday P/O!!!
Happy Birthday saabie!
Latest Reviews
Revenge of the Space Pirates
The Call of the Shaman
Starship Quest
Magnetic Moon
Run, Bronwynn, Run!
Space detective
Blorbs for Space detective
The Adventures of Postman Matt (and his black and white cat)
Land of the Mountain King

Make a donation

Get it from CNET!
Improved Time System Library
Not yet rated (0 reviews)  
Improved TSL.amf
Improved TSL.amf

Lately, I have been using the Time System Library which comes with ADRIFT. Besides %Minute% and %Hour% it also has a variable called %Day% which I think is intended to keep track of which day it is. You could use this to print the date, e.g. if we are somewhere between day 4 and day 30 in the game, you could output "Date: %Day%th of July".

Unfortunately, it turns out that the variable %Day% is not correctly updated when time passes midnight. For instance, it may take on negative values. And it is not updated when you sleep.

I have now modified the time system so that the variable %Day% is now correctly updated, both at midnight and when you sleep. Thus you can now use the Improved Time System Library to keep track of the date in the game.

Cursor  Details
Genre: Fiction 
Language: Unknown 
IFID: 982AC1DE3C0C97A77916138C352ED043 
Category: Module 
Forgiveness rating: Merciful 
Total Downloads: 4 
File Size: 16 Kb 
Version: 2

Cursor  Member Reviews
0 Ratings
5 star:
4 star:
3 star:
2 star:
1 star:
Average Member Rating
Not yet rated (0 member ratings)
Share your thoughts with other members:
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster