|
zgrssd -> RE: Desease! Nation Stratagem (7/17/2021 3:52:31 PM)
|
quote:
249 and 7 ? fixed parameters? what do they stand for? I take it within the function che() you have a list or an array of sorts which has all zone ids then saved by REGIMEID and then you use rng/randomizer on that to get one value back, right? First number of all chk/che functions is always 249 The one for exe is always 346. Each with exactly one exception each. No idea why this even is a parameter, but it is how it is. 7 Indentifies the specific command. 249,7 is "Random City Zone ID" 249,1 is "Skill Roll" 249,8 is "Random Binary Tech Type ID" quote:
I did consider that, thats why i mentioned "on different turns". Additionally as there were different outcomes in terms of number of dead pops and workers, there was some randomizing going on just not in terms of what zone would be hit. I will try on several more turns to gain a more certain outcome where it comes to the chosen zone and come back to you. A game can use multiple random number generators, even if that is usually frowned upon. Without something querying the RNG used for this function you will always get the same result. It is also possible the function returns a contextually invalid ID and the game just defaults to hitting the capitol in that case. The only reliable test would be calling that function a few times in a row, outputting the results each time.
|
|
|
|