Files
Bubberstation/code/game
Ghom 13a2c589b7 Heretic ritual peeve with stacks (#91001)
## About The Pull Request
When a ritual requires a stack, we shouldn't add the stack itself to the
list of selected components, but rather split the req amount from the
stack and add the resulting item from that proccall to said list
instead.

Normally, this shouldn't be a problem, as cleaning up a selected stack
is handled in its own way in `heretic_knowledge/cleanup_atoms()`,
however some rituals may have a delay, which would make the original
stack temporarily invisible. Kinda quirky. Also it's better to handle
stack specific behavior in one proc than two.
In the case the ritual fails from missing components, nothing much
happens anyway, because the split stack is dropped on the same turf of
the original stack.

## Why It's Good For The Game

This probably fixes #90828 and it's a bit more elegant way to handle
stacks imo.

## Changelog

🆑
fix: Sundered blade ritual shouldn't delete more than one sheet of
silver or titanium.
/🆑
2025-06-16 02:16:41 +01:00
..