vgstation-coders / vgstation13

Butts
GNU Affero General Public License v3.0
265 stars 544 forks source link

Dense things protect you from projectiles when you are on top of them #30538

Open Armadingus opened 3 years ago

Armadingus commented 3 years ago

Description of issue

image Things like tape, machines, structures will stop ballistics, tasers, lasers (not for tape), leaving the guy being shot at unharmed. This is however not the case for walls, a wall allows you to shoot your target on top of it. This is very bad, because it allows people to return fire without risking being hurt. You can basically cheese most combat encounters with this.

Server revision

69bdef3a6a8981793aac786e7aabc4e2d06a242c

d3athrow commented 3 years ago

some dense atoms have specific code to prevent this, other than walls i think the janicart does. only real way to fix this is to have anything dense look for a living mob on the tile's contents to redirect to. edit: issue with blanket applying this to atoms with the dense variable set to 1 means you need to support cases that include directional objects that would actually block the projectile which makes things more annoying