Page 1 of 1

Stack size = 2^x

Posted: Sat Mar 29, 2014 3:50 pm
by DRBLN
is it essintial to make the stack size equal to 2 to the power of x?
Is it possible to make it e.g. 5,000 in the mods?

Re: Stack size = 2^x

Posted: Sat Mar 29, 2014 9:17 pm
by AlexPhoenix
not essential, yes it possible

why you post mod creating question in game help?

Re: Stack size = 2^x

Posted: Sun Mar 30, 2014 9:06 pm
by seanbrockest
probably because there's no "mod help" forum, only a "mod contribution" forum.

Re: Stack size = 2^x

Posted: Sun Mar 30, 2014 9:11 pm
by FreeER
seanbrockest wrote:probably because there's no "mod help" forum, only a "mod contribution" forum.
Actually there is a modding help subforum (inside the mods section), here
edit: just moved it there, a more appropriate place after all

Re: Stack size = 2^x

Posted: Mon Mar 31, 2014 7:41 pm
by kovarex
We plan to change stack sizes to x*10^y (10, 20, 100, 200 etc) for the 0.10 version, but there is no rule for the stack sizes, you can have just prime numbers in your mod if you want :)

Re: Stack size = 2^x

Posted: Mon Mar 31, 2014 9:30 pm
by ssilk
kovarex wrote:... you can have just prime numbers in your mod if you want :)
Hehe....
http://en.wikipedia.org/wiki/Fibonacci_sequence

But when I think about it: Choosing fibonacci-numbers isn't that stupid! Look at the beauty:

0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765

The former two stack-sizes fits into the next. Makes totally sense for many cases and could play a role when upgrading... instead of increasing the stacks we can inrease the stack-size with very logical rule... scnr just an idea...

Re: Stack size = 2^x

Posted: Mon Mar 31, 2014 9:35 pm
by FreeER
ssilk wrote:But when I think about it: Choosing fibonacci-numbers isn't that stupid! Look at the beauty:
I now think of this Vihart video every time I see/hear fibonacci. scnr