Skip to content

Mistifiou/colony-survival-removewater

Repository files navigation

RemoveWater

A Colony Survival mod that adds the chat command //removewater to instantly delete all native water blocks inside the active colony's banner influence zone.

Compatibility

  • Colony Survival 0.9.0
  • Single-player and multiplayer (host-side)

Installation

From GitHub release (manual)

  1. Download RemoveWater-x.y.z.zip from Releases.
  2. Extract the archive's contents into: <Colony Survival install>/gamedata/mods/ The result should be: gamedata/mods/Mistifiou/RemoveWater/RemoveWater.dll (and modInfo.json next to it).
  3. Launch the game. The mod appears in the in-game Mod Manager.

From Steam Workshop

(coming soon)

Usage

Open the in-game chat (Enter), then type:

//removewater

The command:

  • Scans the cube of half-side ExclusiveRadius around each banner of your active colony.
  • Deletes every native water block found, in a single tick (the server briefly freezes — a few hundred milliseconds to a few seconds depending on volume).
  • Reports the number of blocks removed and the time taken.

Other blocks (stone, sand, placed blocks, etc.) are never touched. Water outside your active colony's zone is never touched.

Building from source

Requires:

  • .NET SDK 8 or later
  • .NET Framework 4.7.2 targeting pack (or any later 4.x targeting pack)
  • Colony Survival installed locally (for the game assemblies)

Steps:

  1. Clone the repo.
  2. Copy Directory.Build.props.example to Directory.Build.props and edit the path inside to match your Colony Survival install's *_Data\Managed directory.
  3. Run dotnet build -c Release.
  4. The output DLL is in bin/Release/net472/RemoveWater.dll.
  5. Deploy with ./deploy.ps1 -Author <YourTag> (optionally pass -GameDir <path> to override the default Steam path).

License

MIT — see LICENSE.

About

Colony Survival mod: //removewater chat command to clear native water blocks inside the active colony's banner zone (CS 0.9.0)

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors