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

Boomers Leave Gibs

Open TheSaddestGoomba opened this issue 1 year ago • 6 comments

Summary

Content "Boomers now leave fleshy gibs on detonation"

Purpose of change

Boomers have always just left a pile of clothing in the middle of their scattered payload. This adds body fragments to the drops when boomer-type enemies explode.

Describe the solution

I tested this in #71475 with the bloated zoad and warted monstrosity. This is essentially the same implementation. An item group called through monster death_drops that leaves a smattering of body scraps in addition to the usual zombie drops. Among the parts left is a new item, tainted_offal which functions as a catch-all for mutated and rotted zombie guts/innards. Exploding fungals were set to leave a full corpse, but now leave body parts and alien fungus chunks. Necro-boomers have unique death drop of corpse ash and very little bone.

The changes currently affect the following monsters:

  1. Boomer
  2. Huge Boomer
  3. Boomer Glutton
  4. Bloated Zombie
  5. Bombardier Boomer
  6. Gasoline Zombie
  7. Swollen Tearjerker
  8. Sleepwalker Zombie
  9. Zombie Necro-boomer
  10. Fungal Boomer
  11. Bloated Fungal Zombie
  12. Pollinator Zombie

I'll add any other monsters I find that fit.

Describe alternatives you've considered

  • Creating tainted versions of individual organs. I believe this is more granular than is needed for any use they may have, and also that the original organ is likely unidentifiable at this point in the creatures' transformations.
  • Adding tainted_innards to recipes. In addition to scope concerns, I'm not sure it makes sense to gain any sort of use from the item, most of all culinary use.
  • Make the parts scatter out to adjacent tiles. I would love to do this but don't have an idea as to how yet, and I want to get the basic function done first.

Testing

  • Loaded up the game, spawned a variety of boomers, blew them up; all edited monsters drop the appropriate items on death, including the default drops they had before.
  • Currently my only hang up is that the dropped clothing items are not FILTHY despite the creatures having the flag. Something about circumventing the corpse generation may be causing the flag to not apply?
  • Tested harvest additions by debugging in, killing, and butchering various enemies; all had the appropriate tainted innards or alien fungus chunks

Additional context

I'm leaving this as a draft while I look into the clothing issue, relevant recipes, and hunt for other applicable monsters.

TheSaddestGoomba avatar Feb 20 '24 02:02 TheSaddestGoomba

@Karol1223 Is there any risk of conflict I should worry about with your PR draft for #71170 ?

TheSaddestGoomba avatar Feb 20 '24 02:02 TheSaddestGoomba

I'm not sure if necro-boomers are exploding into goo, as they don't leave any field behind - no blood or bile or anything. I sort of thought they were just exploding into shadows or invisible energy or something. Doesn't matter too much, but it might look weird if there's just like a mysterious bit of intestine left on the ground after the thing dies.

This PR rules by the way 😆

worm-girl avatar Feb 20 '24 04:02 worm-girl

@Karol1223 Is there any risk of conflict I should worry about with your PR draft for #71170 ?

I am pretty confident that the only boomer I touched was the necroboomer, so even if we do end up causing each other conflicts it'd be in one place only. Any other boomers I'd aim to audit in the part 2 of that PR because the current one already got a tad too big for my liking - don't worry about it, odds are my stuff won't be ready to merge before yours is.

Karol1223 avatar Feb 20 '24 09:02 Karol1223

You could make exploding fungals more disctinct by having them also drop alien fungus chunk. I wouldn´t make them drop fungal fluid sacks as those are edible which is to be avoided for zombies. The only use I would see for tainted offal is to make fertilizer/compost and maybe to make mutagen, besides being food for mutants that can eat zombies.

Tainted offal could be given to all zombies and given various descriptions similar to mutant organs. It would add a new oppertunity for more discusting body horror and fix the wierdness of zombies having no organs.

Spicyshadow avatar Feb 20 '24 14:02 Spicyshadow

You could make exploding fungals more disctinct by having them also drop alien fungus chunk. I wouldn´t make them drop fungal fluid sacks as those are edible which is to be avoided for zombies. The only use I would see for tainted offal is to make fertilizer/compost and maybe to make mutagen, besides being food for mutants that can eat zombies.

Tainted offal could be given to all zombies and given various descriptions similar to mutant organs. It would add a new oppertunity for more discusting body horror and fix the wierdness of zombies having no organs.

You bring up a lot of good points. Alien fungus chunks are a good, easy addition for the fungals, (even moreso because they're already hooked up to recipes :) I'll add the tainted offal to the zombie butchery lists in this PR. Oh, I had forgotten about multiple/variable item descriptions through snippets. I do love me some body horror. I'll add a few at least and leave some room for others to expand it. I may rename the item to tainted innards to further genericize it and open up the descriptive possibilities. I'll take a look at fertilizers and mutagens, if they seem too daunting I may leave them for a another PR. Same for making them edible to mutants, with or without recipes.

Re: Necro-boomers

I do like the idea of something more unique for the necro-boomers. Currently they just sorta disappear and leave their clean clothes, like they were raptured. Maybe corpse ash is appropriate? It uses ALL of its energy and just disintegrates

Sounds good on the copy-from PR. I don't think this will touch anything beyond death_drops for the necro-boomer.

TheSaddestGoomba avatar Feb 21 '24 00:02 TheSaddestGoomba

Corpse ash is a great idea.

worm-girl avatar Feb 21 '24 01:02 worm-girl

Spell checker encountered unrecognized words in the in-game text added in this pull request. See below for details.

Click to expand
  • The stained skull of what was once a human being. It is rotted and noticeably warped from its lively form. Carrying this around probably isn't going to win you any friends.

This alert is automatically generated. You can simply disregard if this is inaccurate, or (optionally) you can also add the new words to tools/spell_checker/dictionary.txt so they will not trigger an alert next time.

github-actions[bot] avatar Feb 21 '24 22:02 github-actions[bot]

This is essentially complete.

There are errors tripping for two reasons that I see:

  1. Unrelated map gen
  2. Density testing - It's tripping on the new items, "arm_zed" and "leg_zed" which copy their weight and volume values from existing "arm" and "leg".

TheSaddestGoomba avatar Feb 22 '24 00:02 TheSaddestGoomba