File information

Last updated

Original upload

Created by

HongAndNineFish

Uploaded by

ReddishLunar

Virus scan

Safe to use

About this mod

This mod increases monsters quantity in each floor of the Mines and Skull Cavern.

Requirements
Permissions and credits
  • What this mod does
This mod increases monsters quantity in each floor of the Mines and Skull Cavern

In vanilla game, a floor in the Mines will only spawn about 20-30 monsters at most. This mod will make each floor in the Mines and Skull Cavern spawn hundreds of monsters. (Just more quantity. No new types of monsters.) You can also set a range to let it spawn random amount.

  • Mod Config 
Monsters will spawn more by default. If you need more or less quantity of monsters, or you want random quantity, you can set it in config file:

"Stardew Valley\Mods\MoreMonsters\config.json": 
{
  "MonsterMulty": 0.2,
  "MonsterRandomMulty": 0.001
}

"MonsterMulty" is the spawning rate of monsters. For vanilla game it is 0.002. You can set it to any number between 0 and 1.
"MonsterRandomMulty" is extra random spawning rate. The extra rate will random between 0 to the number you set.
You need to set it > 0.

So the final spawning rate is between MonsterMulty to (MonsterMulty + MonsterRandomMulty).

  • Conflictions
In theory this mod won't conflict with other combat mods because it only changes one line under SratdewValley.Locations.MineShaft:

private void populateLevel()
{
// Vanilla line:
// double monsterChance = 0.002 + (double)this.mineRandom.Next(200) / 10000.0;
// Changed to:
  double monsterChance = MonsterMulty + (double)this.mineRandom.Next(MonsterRandomMulty) / 10000.0;
}

But this mod uses Harmony and hasn't been fully tested for conflictions, so still back up your save. 

Thanks for CatCattyCat's codes on how to use Harmony .