Heroes of Hammerwatch

Heroes of Hammerwatch

25 ratings
Pets vs. Breakables
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
10.338 KB
9 Jan, 2022 @ 3:12am
2 Feb, 2022 @ 12:10pm
4 Change Notes ( view )

Subscribe to download
Pets vs. Breakables

Description
Credits:
Chunks of code for this project have been lifted with pride and permission from user
My Dog Has A Hat’s mod UFO Pet.
Huge thanks and credit to discord user Thyraxx.void for helping fix this not working for joining players in multiplayer games. That would not have been fixed without them.

Description:
With this mod your pets will seek out and break breakables and pick up what they might contain.
Should work with any pet from any DLC, but no DLC is required.

Users might notice their walking pets returning to them occasionally before collecting something found inside a breakable. This is due to the pet being unable to collect or target anything that spawns directly on top of it. I would like to solve this a different way, and any tips or ideas are welcome. The mod will be updated if I ever find a better solution.

Compatibility:
This mod is incompatible with any other that modifies pet or breakable behaviour; notably any mod that changes any of the following scripts:
scripts\Behaviors\MiniPet.as
scripts\Behaviors\MiniPetFlying.as
scripts\Behaviors\MiniPetWalking.as
scripts\Behaviors\Items\Breakable.as
Other than that there should not be any issues.
4 Comments
kobi 27 Oct, 2024 @ 7:15am 
it fights with face to the vase, just saying for anyone wondering
Marz 28 Aug, 2024 @ 6:38am 
hey Graeshot, are you ok if I merge your script with Better Pets?
Graesholt  [author] 17 Mar, 2023 @ 11:42am 
@Kirbstomp42
Not working on this anymore, sorry.
Would POSSIBLY return with updates to improve the code, but not new features :/
Kirbstomp42 17 Mar, 2023 @ 11:11am 
Would it be possible to have pets pickup potions, specifically curse potions?