Is there an ash function to access the "Advs Used:" displayed in the session results section of the Mafia Main Interface window? I can't seem to find it. I can find turns used this ascension and turns used since the beginning, but not turns used today. Tried checking for a pref, but came up blank there as well. Perhaps due to my own lack of creativity. Thanks for any help with this.
There's actually a way to do it, but it's a little complicated. I figured out it will only work by running 2 seperate scripts. 1 you have to run before you use any turns.
PHP:
// use this script before you use any turns
void main()
{
string[int] thing;
thing[0]=my_adventures();
map_to_file(thing,"my_adventures");
}
This will create a file called "my_adventures", and store your current number of adventures. If you want to remember what you started with, always run this first.
PHP:
//use this script whenever you want to recall what you started the day with, and what you currently have left
void main()
{
string[int] thing;
file_to_map( "my_adventures.txt" , thing);
for i from 0 to (count(thing) - 1) {
print("Started day with " + thing[i] + " turns. Currently have " + my_adventures());
}}
This will print out the data stored in the file "my_adventures.txt", and tells you how many adventures you currently have. You will have to do the math by yourself.
If there's another way to do this, it's completely beyond me!