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.4
The Fortress of Fear
The Lost Children
Skybreak v 1.2
The PK Girl
The Euripides Enigma
the virtual human
Lost Coastlines
Magnetic Moon
Starship Quest
 
Latest Forum Posts
The Book of Jax - The Adventures of Alaric Blackmoon # 10
HAPPY BIRTHDAY DazaKiwi
HAPPY BIRTHDAY ralphmerridew
An' anuvver fing....
Why don't my folders stay where I put them?
Results of The 2023 IFDB Awards are in!
Setting nickname / displaying unique text based on character name
Some excellent loot
ADRIFT 5's rendering API?
Getting Adrift 4 to ignore "and"
 
Latest Reviews
Classic Adventure
Private Eye
Roozden's Color Code Module
Wumpus Hunt
Lost Coastlines
The Lost Labyrinth of Lazaitch
October 31st (Post comp.)
The Euripides Enigma
AI
Hint System Library - Release 1

Make a donation

Improved Time System Library
By
Not yet rated (0 reviews)  
Download
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.

(By Kenneth Pedersen - search term)

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

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