About this mod
Cast a spell at any horse to claim it as your own. Created to resolve issues with mod-added horses, but you can also steal/claim any vanilla horse you find.
- Permissions and credits
- Changelogs
When you buy a horse, the game runs these 5 lines of papyrus code:
Game.GetPlayer().RemoveItem(Gold001, horsecost.value as int)
Alias_Horse.GetActorRef().SetFactionRank(PlayerHorseFaction, 1)
Alias_Horse.GetActorRef().SetFactionOwner(PlayerFaction)
PlayersHorse.ForceRefTo(Alias_Horse.GetActorRef())
game.IncrementStat( "Horses Owned" )
For those who want an explanation of what each line does:
- Deduct the cost of the horse from your inventory.
- Add the horse to the PlayerHorseFaction.
- Set the PlayerFaction as the owner.
- Set the horse as your current horse.
- Increase the "Horses Owned" stat.
This mod will do steps 2 and 3 to any horse you cast the spell on. I skipped 1 for obvious reasons, and skipped 4 because that should be updated anyway as soon as you climb on the horse. I also skipped 5 since you can spam this spell on the same horse over and over again making the stat meaningless.
I made this mod to allow me to make certain mod-added horses compatible with Simplest Horses, but you can also use it to make yourself the owner of any horse in the game. You can roleplay claiming a horse you find in the wild, or cast it on a stolen horse once you've "gotten away with it". Or you can cheat and cast it on any owned horse to make it yours and get a free horse with no consequence. It's your game.