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
Skybreak! v. 1.1
Top Hat
The Axe of Kolt
Magnetic Moon
the virtual human
The Lost Labyrinth of Lazaitch
Revenge of the Space Pirates
Jacaranda Jim
The Fortress of Fear
Give Me your Lunch Money 2010
Latest Forum Posts
Adrift Annual Award
Having a Hints Menu within your game
Climb Tree
ADRIFT Game of the Year Award (2019)
How's the apocalypse treating you all?
Overriding character conversation system?
Lucasart style conversations?
Grandpa Rules (working title)
Return To Castle Coris
Galen's Quest
Latest Reviews
Skybreak! v. 1.1
The Lost Labyrinth of Lazaitch
Revenge of the Space Pirates
The Call of the Shaman
Starship Quest
Magnetic Moon
Run, Bronwynn, Run!
Space detective

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: 7 
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