Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Petpacks lets you stack animals

Open EirenexTheDragon opened this issue 5 years ago • 2 comments

Describe the bug

you can pack a small pet in a petpack, make another pet wear it and pack that pet in a petpack, and then you give said petpack to a new pet that you would then pack again and so on. there is also no change of weight when you keep stacking them on or something.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Debug spawn animals, that you then tame afterwards. get a couple petpacks aswell
  2. Pack the first pet and make another pet wear the petpack that contains a pet. pack that pet that carrys the petpack in a petpack aswell and repeat as many times you like
  3. enjoy the Cataclysm way of Babushka Dolls when you unpack them

Expected behavior

I am fine if a pet can carry a petpack, but it shouldnt allow you to pack a animal that carrys a petpack which contains a pet already

Screenshots

For this Screenshot i put a petpack on Multiple puppys and a Normal dog will carry them all. grafik

Versions and configuration

  • OS: Windows
    • OS Version: MINGW/CYGWIN/MSYS2 on unknown Windows version
  • Game Version: 0.D-7660-gc597046 [64-bit]
  • Graphics Version: Tiles
  • Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food] ]

Additional context

Noone

EirenexTheDragon avatar Sep 16 '19 19:09 EirenexTheDragon

There's also some weirdness likely associated with this. If you have two petpacks with different animals, and release one of them, the inventory displays 2 empty petpacks in your inventory. You can resolve this by dropping one of them, and activating the one that has the pet still in it.

Sirbab avatar Nov 21 '23 02:11 Sirbab

There's two components to this:

  1. Animals did not respect carry weight. This was fixed by #65901

  2. The bag weight of an animal is not added to a monster. One of these four petpacks' bulldogs is carrying a petpack with a siamese cat inside it, but they're all the same weight. image (Note: I'm not sure the weight SHOULD be added, monster weight is pretty much only used for butchering, I believe)

But this is a really minor issue, as there is a distinct limit to the amount of matryoshka petpack-inside-a-petpack shenanigans you can do.

Based on the fact the main exploit was fixed, I'm not considering this a blocker for 0.H.

RenechCDDA avatar Mar 25 '24 10:03 RenechCDDA