Skip to content

skythebro/LeadAHorseToWater

Β 
Β 

Repository files navigation

🐴 Lead A Horse To Water - Gloomrot Update

forked from decaprime and updated to gloomrot.

A V-Rising mod that lets your horses drink water from wells. Now with horse breeding and other commands.

Motivation

Bye, bye, Li'L Sebastian
Miss you in the saddest fashion
You're 5000 candles in the wind

Commands and Other Features

For commands to load you must have VampireCommandFramework installed on the server as well.

Notes:

  • Commands with [horse=] are optionally for specifying a horse by name and will default to the closest horse if not specified.
  • πŸ”’ Requires admin permissions
  • Underlined keys come from the config file.

This info is also available in game with .help LeadAHorseToWater


.horse breedable [horse=]

This player command will check if the closest horse to you (or the horse with a matching name) is breedable.

.horse breed

This process takes two horses and consumes BreedingRequiredItem * BreedingCostAmount from the player's inventory. The resulting horse will be a random mix of the two parents' stats as a 50/50 chance of inheriting each trait from either parent. Then randomly +/- MutationRange is applied based on the max stat for each attribute. Finally values are capped at MaxSpeed, MaxAcceleration, MaxRotation. The resulting horse will be named after the first parent.

image

.horse tag-stats [horse=]

This player command will add the current stats of the horse to it's name as a suffix. This is great to see the stats of a horse without having to open the inventory. This command may limited by name length as the game allows one extra character via their UI.

image

πŸ”’ .horse rename [horse=] (newName)

Powerful admin rename, this allows you do escape normal naming restrictions and use markup. This is useful for special rewards like making a horse's name color, bold, or even use some emojis or unicode. PSA: This command can result in the drinking prefix breaking or tag-stats not fitting on the horse. Please don't report naming issues resulting from this command.

πŸ”’ .horse whistle [horse=] / .horse warp [horse=]

Whistle tries to brings the horse to you, warp teleports you to the horse.

πŸ”’ .horse speed [horse=] (speed)

πŸ”’ .horse acceleration [horse=] (acceleration)

πŸ”’ .horse rotation [horse=] (rotation)

Set the horse's stats. These values are not capped by MaxSpeed, MaxAcceleration, or MaxRotation. Note that the game represents rotation as 10x the value displayed in the UI but the commands handle this for you and you should refer to the values as you see them in the UI.

πŸ”’ .horse kill [horse=]

Removes the horse immediately without any loot or corpse.

πŸ”’ .horse cull [radius=5] [percentage=1]

WARNING: This command will remove horses within the radius of the player. It choose percentage of the horses within the radius. This command is very useful for cleaning up a large number of horses. It is recommended to use a small radius to start. The default radius of 5 is about 1 tile. The default percentage 1 means 100% of the horses within the radius will be removed.

πŸ”’ .horse spawn [count=1]

Spawns either one or count horses around you.

Configurable Values

[Breeding]

## Enables the cooldown for breeding horses.
# Setting type: Boolean
# Default value: true
EnableBreedingCooldown = true

## This is the cooldown in seconds for breeding horses.
# Setting type: Int32
# Default value: 600
BreedingCooldown = 600

## This prefab is consumed as a cost to breed horses.
# Setting type: Int32
# Default value: -570287766
BreedingRequiredItem = -570287766

## This is the name of the required item that will be consumed.
# Setting type: String
# Default value: special fish
BreedingCostItemName = special fish

## This is the amount of the required item consumed.
# Setting type: Int32
# Default value: 1
BreedingCostAmount = 1

## This is the half range +/- this value for applied for mutation.
# Setting type: Single
# Default value: 0.05
MutationRange = 0.05

## The absolute maximum speed for horses including selective breeding and mutations.
# Setting type: Single
# Default value: 14
MaxSpeed = 14

## The absolute maximum rotation for horses including selective breeding and mutations.
# Setting type: Single
# Default value: 16
MaxRotation = 16

## The absolute maximum acceleration for horses including selective breeding and mutations.
# Setting type: Single
# Default value: 9
MaxAcceleration = 9

[Server]

## Horses must be within this distance from well. (5 =1 tile)
# Setting type: Single
# Default value: 5
DistanceRequired = 5

## How many seconds added per drink tick (~1.5seconds), default values would be about 24 minutes for the default max amount at fountain.
# Setting type: Int32
# Default value: 30
SecondsDrinkPerTick = 30

## Time in seconds, default value is roughly amount of time when you take wild horses.
# Setting type: Int32
# Default value: 28800
MaxDrinkAmount = 28800

## If true will rename horses in drinking range with a symbol
# Setting type: Boolean
# Default value: true
EnableRename = true

## This is a comma seperated list of prefabs to use for the well. You can choose from one of (stone, iron, bronze, small, big) or (advanced: at your own risk) you can also include an arbitrary guid hash of of a castle connected placeable.
# Setting type: String
# Default value: Stone, Large
EnabledWellPrefabs = Stone, Large

Demo Video (only viewable on github) credit to deca

LeadAHorseToWater-alpha-trimmed.mp4

Support me!

I have a patreon now so please support me Here so I can mod as much as I can!

Developer & credits

Current Developer

  • skythebro/skyKDG - Also known as realsky on discord

Original Creator & Developer

  • deca - Also known as decaprime on discord

About

🐴 Mod for V-Rising

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%