Back to NxLabs

NxLabs / Vintage Story

Weather the Storm - Shelter

EBy ExUriel

Fork- Add light distance &/or room requirements for rust entitiy spawns during temporal storms.

Description

WeatherTheStorm - Shelted is a fork of WeatherTheStorm that has been updated for 1.22 while adding various bug fixes. Overall it adds various spawn conditions for rust entities during temporal storms with configurable; Light, Distance & Room Requirements.

All conditions apply to rust entities that can spawn during a temporal storm, including bowtorns and other spawnCloserDuringLowStability entities.


Light
Blocks spawns at any position where artificial block light exceeds the threshold. Natural Light(Sunlight) is ignored.

  • AddLightCheck:true
  • MaxStormDrifterSpawnLight:7 During Storms, rust entities only spawn in spots that are below light level 7.

Distance
Blocks spawns within a minimum radius of the player regardless of lighting. Provides a safety buffer even in unlit areas.

  • AddDistanceCheck:true
  • MinStormDrifterSpawnDistance:6 During Storms rust entities only spawn in spots that are 6+ blocks away from the player.

Room
Blocks spawns inside a valid room with atleast one light souce while the player is within.

  • AddRoomCheck:true

Config file

Located in ModConfig/weatherthestorm.json

<pre>{ "AddLightCheck": true, "MaxStormDrifterSpawnLight": 7, "AddDistanceCheck": true, "MinStormDrifterSpawnDistance": 6, "AddRoomCheck": true }</pre>
Original mod description
This is a simple(ish) mod to add spawn conditions for rust beasts blown in by temporal storms.
These changes should allow for saftey indoors during temporal storms, without resorting to arcane organizations of rock piles.
<span style="color: #7e8c8d;" data-darkreader-inline-color="">Light and distance values configurable as needed.</span>
The following checks are added for creatures spawned by temporal storms:
&nbsp;
<span style="color: #e74c3c; --darkreader-inline-color: #46a1de;" data-darkreader-inline-color="">Maximum Light Level: </span>Only allows spawns in light levels less than or equal to the given value. <span style="color: #7e8c8d; --darkreader-inline-color: #e95849;" data-darkreader-inline-color="">Default value is 7.</span>
<span style="color: #e74c3c; --darkreader-inline-color: #46a1de;" data-darkreader-inline-color="">Minimum Distance: </span>Prevents spawns within a given distance of any player. <span style="color: #7e8c8d; --darkreader-inline-color: #47d582;" data-darkreader-inline-color="">Default value is set to 12.</span>

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.