Sorry if this is a dumb question, but what does the description mean exactly? Is it saying that the quality level of the crops determine how many seeds you get?
I have all of my variables set to 5 with mixed and ancient seeds turned off. My understanding of this is that if I put five items in, I should get 25 seeds. This is not happening. Is there some other factor at play other than the minimum and maximum numbers?
I would like to report the RNG is somewhat broken on this mod, I have a range from normal quality set from 1 to 3 just like vanilla, however i only ever get 1 seed back.
This uses the games inbuilt random number generator as below: Original code: Vector2 value = machine.tileLocation.Value; Random random = Utility.CreateDaySaveRandom(value.X, value.Y * 77f, Game1.timeOfDay); if (random.NextDouble() < 0.005) { return new Object("499", 1); } if (random.NextDouble() < 0.02) { return new Object("770", random.Next(1, 5)); } return new Object(text, random.Next(1, 4));
Mod code: Vector2 value = machine.TileLocation; Random random = Utility.CreateDaySaveRandom(value.X, value.Y * 77f, Game1.timeOfDay); __result.Stack = random.Next(configData.MinAmount, configData.MaxAmount);
39 comments
请问现在是否可以用于最新版?
https://www.nexusmods.com/stardewvalley/mods/22768
Original code:
Vector2 value = machine.tileLocation.Value;
Random random = Utility.CreateDaySaveRandom(value.X, value.Y * 77f, Game1.timeOfDay);
if (random.NextDouble() < 0.005)
{
return new Object("499", 1);
}
if (random.NextDouble() < 0.02)
{
return new Object("770", random.Next(1, 5));
}
return new Object(text, random.Next(1, 4));
Mod code:
Vector2 value = machine.TileLocation;
Random random = Utility.CreateDaySaveRandom(value.X, value.Y * 77f, Game1.timeOfDay);
__result.Stack = random.Next(configData.MinAmount, configData.MaxAmount);
Perhaps your config file is faulty?