How many ticks and rareticks in a day?

Started by Architect, April 16, 2014, 04:03:56 PM

Previous topic - Next topic

Architect

How many TickRare's and Tick's are there in a 24 hour shift for the game does anyone know? If not I'll interrogate the code and find out, you'd just be saving me a job :P
Check out BetterPower+ and all its derivatives by clicking the picture below.

It adds many new methods of power generation and uses for it, as well as other things such as incidents.


Haplo

According to GenTime there are 20000 Ticks per day.

Architect

Quote from: Haplo on April 16, 2014, 04:11:53 PM
According to GenTime there are 20000 Ticks per day.

Really? I need to make some incredibly urgent edits to my mod then...
Check out BetterPower+ and all its derivatives by clicking the picture below.

It adds many new methods of power generation and uses for it, as well as other things such as incidents.


Haplo

That's at least what I think it means when there is a function like this:


    public static float TicksInDays(this int numTicks)
    {
        return (float)numTicks / 20000f;
    }


But I can be wrong ;)

Architect

Quote from: Haplo on April 16, 2014, 04:18:37 PM
That's at least what I think it means when there is a function like this:


    public static float TicksInDays(this int numTicks)
    {
        return (float)numTicks / 20000f;
    }


But I can be wrong ;)

I'll do some testing to confirm, but I think you're probably right :P If you don't here back from me, you were correct XD
Check out BetterPower+ and all its derivatives by clicking the picture below.

It adds many new methods of power generation and uses for it, as well as other things such as incidents.


WorldOfIllusion

also, as far as I can tell tickRare happens every 250 ticks.
Artistically challenged modder seeking artistically talented texturer's help. Please, please, PM me :)

Architect

Quote from: WorldOfIllusion on April 16, 2014, 11:55:47 PM
also, as far as I can tell tickRare happens every 250 ticks.

Yeah, I'd got that one, jsut couldnt figure out how to use it properly without just inputting random numbers as I have been up until now XD
Check out BetterPower+ and all its derivatives by clicking the picture below.

It adds many new methods of power generation and uses for it, as well as other things such as incidents.