mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-02-09 15:59:24 +00:00
## About The Pull Request When you put on your cowboy boots, and it had a snake in it, they did not poison you, as the code was checking for a retaliate simple animal subtype, meaning say, if you somehow put a goose in your shoe (the last remaining simple animal), they could poison you. I have removed the direct damage apply and the reagent add, and replaced with a call for UnarmedAttack. This way snakes will not inject you with a hardcoded amount of toxins, instead they will respect their venom component. If you place a headslugs or larvae in the shoe, they will bite you, but headslugs only infect dead people, and the larva will do just a small amount of damage, so that is okay. The downside is that you can not pass targetting through attacks, so the animals will not bite you in the foot but rather in a random bodypart. At least, if you are missing a leg, you still have a chance to not to disturb the slumbering creature, that has been unchanged. ## Why It's Good For The Game Removed a check for a soon to be removed subtype, and creatures will use their actual attack behaviour to bite you. ## Changelog 🆑 code: creatures in cowboy boots will retaliate properly /🆑