SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

The Nightwatcher

BBy Buggi

Block ANY Entities Configured from spawning in a configurable radius around this.

Description

Once placed the Nightwatcher prevents Entities from spawning in a radius around it. You decide what he watches for in the watcher_config.json. By default he blocks drifters, bears, and wolves. Add/remove Entity code values of anything you wish to block.

An example is in Vintagestory\assets\survival\entities\land there's a locust.json, inside that file is code: "locust"

"locust" is the value you would add to the watcher_config list to block all the variants of locusts from spawning in the radius.

The radius is configurable, Default radius is 128.

v2.2 For game version 1.20.3

DEFAULT entity blocking now has more entity codes in it. Delete your old watcher_config.json file in ModConfig to regenerate the new list. Or you can add the new codes yourself if you've already customized the list.

A list of all entity codes blocked by default now:

  • drifter
  • bell
  • locust
  • bear
  • wolf
  • bellmini - new type in 1.20
  • erel - new type in 1.20
  • bowtorn - new type in 1.20
  • shiver - new type in 1.20

 

v2.0 MAJOR FEATURE - Now can block Rifts from spawning in the effective radius! 
Blocking Rifts does so no matter if there's a storm or not. If you wish for storms to allow Rifts anywhere, let me know.

v1.6 MAJOR FEATURE - Now can block ANY entity as long as you put the code part in the config.

"BlockCodes" is an array that defaults to this:
"BlockCodes": [
"drifter",
"bear",
"wolf"
],

All you need to do is add/remove the first code part of the entity you wish to block with the Nightwatcher. (See above)
This will still respect "BlockDuringStorm" and shut down all entity blocking during a Temporal Storm if this is false.

You may catch him looking around once in awhile, don't be alarmed, he remains steadfast in his duties.

Crafting requires a temporal gear, a straw dummy, and gold plate. So not an early game option.

As always, my YouTube channel is dedicated to moddable games and VS is just plain fun to mod and play. 
Check out my channel here:
https://www.youtube.com/c/FlexibleGames

I'm always on the lookout for mod ideas.
Support me if you want via Patreon: https://www.patreon.com/flexiblegames

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.