You are viewing a potentially older version of this package. View all versions.
MagnusMagnuson-Selective_Pet_Protection-0.1.0 icon

Selective Pet Protection

Selectively prevent your pets from dying

Date uploaded a year ago
Version 0.1.0
Download link MagnusMagnuson-Selective_Pet_Protection-0.1.0.zip
Downloads 83
Dependency string MagnusMagnuson-Selective_Pet_Protection-0.1.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

Selective Pet Protection

This mod is based off of PetProtection thunderstore github. Rather than protecting all pets, it only protects pets you choose individually to protect. Pets can either be immortal or stunnable, akin to V+'s immortal and essential options. "Immortal" means, that pets will be completely unfazed by damage. "Stunnable" means that rather than dying, pets become stunned for a custom period of time where they will simply freeze in their spot and recover. I don't think essential/stunnable actually works (anymore) in PetProtection/V+ so I made sure it works for Selective Pet Protection.

Commands

To make a pet immortal or stunnable, you simply rename them with the commands !god or !stun respectively. This will not actually rename the pet, but just add the protection. You can always tell the state of protection by the shield icon after the pets name. By default, gold means immortal, light blue means stunnable. You can change the colors to your liking in the config.

immortal shield

Configuration

You can change the shield color for !god and !stun. You can set the time a pet will be stunned for.

Known Issues

When a pet is stunned and there is no other valid target around, the attacker will keep attacking the stunned pet. This has no effects on the pet, but rather than the attacker roaming around, he will be fixated on the pet. This might be somewhat of a fringe case, since usually a player will be around.

Contact

magnus.jpg on the Valheim Modding Discord